+ 1

Multiple HTML pages?

Probably a stupid question but I’ve got to try, Is it possible to make multiple HTML pages available with SL? I mean by having a Home page a Contacts page and so on…. I don’t care how it’s done and if it’s wrapped in rags but is it possible?

17th May 2022, 8:24 PM
Liam
Liam - avatar
3 Réponses
+ 1
Yes. One way is to create 3 <div> elements and then hide the content that you do not what to see. You can set up a button with an onlick() function that will edit your css to display:none
18th May 2022, 12:35 AM
Chris Coder
Chris Coder - avatar
+ 1
Yes. On sololearn playground the options are limited
17th May 2022, 8:37 PM
Lisa
Lisa - avatar
+ 1
i use <a> and make the home, about,… a link, although on sololearn this wouldnt be possible. you could do this on vs code tho
18th May 2022, 3:22 AM
Junior
Junior - avatar