+ 5
How do I make a few html pages in SoloLearn?
How to do on PC a few pages I know as well as in SoloLearn???
1 ответ
+ 2
It sounds like you either make more than one page in a Sololearn HTML/CSS/JS code or you want to create a few pages and use them directly on your computer.
Creating a few pages on your computer is very simple. Save your HTML to a .html file. It is nice to put css in a separate .css file and link to it from a link element in the head of your page. For JavaScript, you can link using a script src="yourScriptName.js" tag. Many web pages can work loaded directly from the file system in a web browser so you probably don't need a web server.
Creating a few separate web pages in a Sololearn code is very tricky because it is designed for just 1 page. The closest you can do is use JavaScript frameworks that simulate showing multiple pages. You could use an iframe and point it to different external pages but then it won't be completely in Sololearn.