0

how can I use html files (pages) in sololearn to create full website (not just one page) ?

i have 3 .html files, and they must use one styles, but i only have 1 section, where i can write html code in sololearn app. are there any special functions that would use 3 files to create a full website ? I have an example of a page from which you can go to other pages (but its return you error in console), here is a link: https://code.sololearn.com/WG56sxs4eieC/?ref=app

19th Nov 2021, 1:00 PM
L'mk
L'mk - avatar
3 Answers
+ 4
We cant link in that way on solo learn. We can only have 1 html, 1 css and 1 js files. But you can try with iframe to add your pages. But for url you need to have hosted page. You can also try with iframe srcdoc="<html>...</html>" Also not sure can you place code on github and take that link, you can try. For working with more pages use your pc, if you can, or some editor for phones, even some online editors support this. https://stackoverflow.com/questions/6102636/html-code-as-iframe-source-rather-than-a-url
19th Nov 2021, 4:46 PM
PanicS
PanicS - avatar
+ 2
Well, if you’re talking about an actual website you only need to host it if you want it public, you can create a website using notepad or similar and then save the files as html, css or js. The only files that won’t work properly are PHP because they need a web server.
19th Nov 2021, 4:49 PM
Aaron Robinson
0
If you have multiple html files you can use <a href “nameoffile.html”>Something</a> to bring up the other page. Is that what youre looking for
19th Nov 2021, 4:20 PM
Aaron Robinson