How to deliver a gift? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to deliver a gift?

I've made a code on JS as a gift/prank for a friend, how could i deliver it to her considering her phone's probably pretty weak (SL screws my phone's RAM so I'd rather share it outside here) (also it's a prompt and switch code, nothing heavy), could i somehow run it online on a way she could run it without seeing the code? Like, creating a temporary page or something that doesn't cost me anything? PS: i have around zero knowledge about how to put a website on air.

30th Jan 2019, 11:37 AM
Grasshopper Hell Monkey
Grasshopper Hell Monkey - avatar
7 Answers
+ 2
Any file explorer can do that even the one preinstaled
30th Jan 2019, 4:22 PM
Maneren
Maneren - avatar
+ 1
Try to put the code inside html file and share it to her by anything then she has to open the page and BOOM, here it is.
30th Jan 2019, 1:10 PM
Maneren
Maneren - avatar
+ 1
One can open HTML files in browser, so this is no problem, also you can send them vie email for example
30th Jan 2019, 4:11 PM
Maneren
Maneren - avatar
+ 1
Just go to file manager, create new text file, paste there your HTML (with CSS and JS inside!). Then save and rename your file to ex. "gift.html".
30th Jan 2019, 4:14 PM
Maneren
Maneren - avatar
0
Any suggestion of how to make that with a phone (Android)?
30th Jan 2019, 4:10 PM
Grasshopper Hell Monkey
Grasshopper Hell Monkey - avatar
0
I mean, can solo learn create HTML files, if yes, where do i copy 'em?
30th Jan 2019, 4:12 PM
Grasshopper Hell Monkey
Grasshopper Hell Monkey - avatar
0
Sorry, but i don't think my phone can create txt files on it's own, any recommendation of an app to do so?
30th Jan 2019, 4:18 PM
Grasshopper Hell Monkey
Grasshopper Hell Monkey - avatar