Please how do you set up multiple pages of html on the output section (on sololearn) when there is only one slot for coding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please how do you set up multiple pages of html on the output section (on sololearn) when there is only one slot for coding

https://code.sololearn.com/WKk2uSBsgr20/?ref=app

5th Mar 2021, 10:18 PM
obi chukwuma
obi chukwuma - avatar
7 Answers
+ 2
obi chukwuma another option you can do is modal as a page to page structured format given that your skill-sets in HTML, CSS, and JavaScript are up to par. An example would be like my code https://code.sololearn.com/WQ68k4bo5mK4/?ref=app
5th Mar 2021, 10:59 PM
BroFar
BroFar - avatar
+ 1
yes i do just as it was demonstrated in the code above
5th Mar 2021, 10:26 PM
obi chukwuma
obi chukwuma - avatar
0
Hi! do you want to navigate through the pages? in the form of cross-references?
5th Mar 2021, 10:21 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
in a simple version, you can create multiple pages in your code playground, collect their direct links, and add those links to the main page. according to the same principle, you can use a dropbox as a storage
5th Mar 2021, 10:31 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Upload content with Dropbox [Tutorial] https://code.sololearn.com/WW6t4B73kJVz/?ref=app How To Upload your phone images on SoloLearn using phone https://code.sololearn.com/WT3661NHpV3B/?ref=app
5th Mar 2021, 10:33 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
or you can come up with something with this, as visp advises in another thread: you could also write only one page with text contents duplicated and marked with some class name (one for each lang), then you are able to display only selected language and hide others ^^ (you should add some url parameter with language selected -- or store it in a cookie or webStorage -- and check it on page load to switch to the expected language)
5th Mar 2021, 10:48 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
one multi-page could be done by concatenating each page in its own block element, each with a different id... then you could show the selected page and hide others. this require to adapt <a> links to not load a new page, but only the swap the visibility of the related pages... this also could require to adapt your css, if each page doesn't share the same ^^
5th Mar 2021, 10:55 PM
visph
visph - avatar