+ 3

Making a file

I coded a website in html on sololearn. I would like to save that coded website a file I can access on my laptop. How can you do this?

11th Mar 2020, 1:36 AM
Tessa
Tessa - avatar
4 odpowiedzi
+ 6
Create a file that ends with ".html", for example: "file.html" Click on open file, then select your default browser. Don't forget to link css/js if they are on separate files.
11th Mar 2020, 1:44 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 4
I am elaborating Aymane's point : Step 1: Login SoloLearn account at Sololearn website. Step 2: Create local html file. Step 3: Find your work in code playground of step 1, copy the codes. Step 4: Paste in the new html files in step 2. Step 5: If there are scripts in CSS tabs and JS tabs, localize them either by inpage or external files. Step 6: Save, open in browser.
11th Mar 2020, 2:00 AM
Gordon
Gordon - avatar
+ 3
Tessa That's much better, Thanks for understanding 👍 If I understand you correctly, you had created web codes in SoloLearn, and now you would like to be able to view the codes in your laptop (possibly offline). This is possible, but it would have to be done manually. 1. Open your code in SoloLearn 2. Highlight and copy code from HTML tab 3. Save it as a .html file using any code editor in your laptop. If you have codes written in either or both CSS & JS tab in your code (in SoloLearn) then repeat step 2 above, from CSS or JS tab repectively. And repeat step 3, but this time, save the file with different file extension (not .html). css -> extension for CSS file js -> extension for Javascript file Try this and see if it works. You are welcome to confirm or ask in case something is not clear (I'll edit this), or does not work.
11th Mar 2020, 2:07 AM
Ipang
+ 2
sorry for the confusion i rephrased it is that better?
11th Mar 2020, 1:46 AM
Tessa
Tessa - avatar