+ 5

Does anyone know a way you can take what you've coded on here and save as an htm file on your computer or bring it to a notepad?

Everytime I try to copy and past it to windows notepad it paste very weird. All the code is in one line instead of making multiple lines like it is in the playground. I'm very confused on a way to save it on my computer as an html file. Can anyone help?

27th Aug 2019, 12:59 AM
Kayla Torrez
Kayla Torrez - avatar
7 Respuestas
+ 7
The newlines are actually there when you copied them, it's just not showing in notepad because notepad recognizes "\r\n" as a link break and not "\n". The simple "solution" to this would be to copy it into Wordpad, or a different IDE.
27th Aug 2019, 2:03 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
I guess you're in a smartphone. I you log with your computer you can just copy and paste your code. In fact, i'm writing this answer on a computer.
27th Aug 2019, 9:45 AM
Benjamin Alejandro Luna
Benjamin Alejandro Luna - avatar
+ 3
You could try to copy it then send it to the computer via message or mail, then copy it from the message/ email and paste it to the desired file.
28th Aug 2019, 4:43 AM
Andrew Johnson
Andrew Johnson - avatar
+ 2
Actually going to https://sololearn.com on your computer you can access your codes and copy the text inside directly to your computer's clipboard
27th Aug 2019, 10:17 PM
CyberCyclonic Designs
CyberCyclonic Designs - avatar
+ 2
Copy and paste on a text file and then send the text file to your computer
27th Aug 2019, 10:34 PM
Ukoha Obinna
+ 2
For one nice text editor you can install Sublime Text 3, it recognizes both \r\n and \n as a line break, essentially fixing your problem. It also has a nice UI and is very extensible.
28th Aug 2019, 5:31 PM
inxanedev!
inxanedev! - avatar