+ 4

How can I write more than one page for my website?

Is it possible to write not just one pager on solo learn?

20th Jan 2018, 1:24 AM
Joanna
Joanna - avatar
3 Réponses
+ 6
You could organize the content in sections and later with JS make them visible depending on the user's choice I followed that strategy in my latest code and in w3schools there is an example of how to work with tabs https://www.w3schools.com/howto/howto_js_tabs.asp Because of the way CodePlayground works, unfortunately I do not think you can do much more, because otherwise I would say that you can find a way to export the file from one code to another, but CP works in a way that I do not think it allows that
20th Jan 2018, 1:30 AM
Mickel
Mickel - avatar
+ 5
Second choice, when pages aren't tightly related, is building a completely separate page and use <a> tag to switch. I've seen examples of both within SoloLearn's public web programs. I'd use a popular search and look at ones with names that seem to suggest it has multiple pages.
20th Jan 2018, 1:47 AM
John Wells
John Wells - avatar
+ 4
@Mickel Sánchez Your link doesn't work :[
20th Jan 2018, 4:45 PM
Joanna
Joanna - avatar