0

Question about code playgound

Am I able to actually code a makeshift website with navigation to different web pages within it? If so then how would I do that? ex. Let's say im on the homepage of the website as in Page 1. Then a input a typical link string (<a href="Page 2"></a>) will I be able to create a page 2 and link those two?

1st Aug 2017, 5:20 PM
Josh Powell
Josh Powell - avatar
4 Respuestas
+ 3
you can also work with bootstrap tabs to mimic different pages. i've seen codes make use of them, but standalone pages could be linked like @Jordan said.
1st Aug 2017, 5:33 PM
esenia
esenia - avatar
+ 4
You cannot use separate html files on a single project but you could get creative and maybe link to another project for different pages
1st Aug 2017, 5:22 PM
Jordan Chapman
Jordan Chapman - avatar
+ 3
You get one file*. That said, I use jQuery mobile to simulate separate pages in these codes: https://code.sololearn.com/W6nybHh1bGHX/?ref=app https://code.sololearn.com/WUg6o4QaxPGU/?ref=app This one loads the SoloLearn website in an iframe, with a shared scratchpad between 'pages': https://code.sololearn.com/W3m5Kj2C7FUy/?ref=app I've listed these in approximate order of which probably has better code. That last one is an early code with low utility (especially now). * But you can bring in additional content with XMLHTTPRequest, fetch() and script includes.
1st Aug 2017, 8:06 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
Ah, yea thought so. I guess if need be I could just copy what I have and paste each web page to notepad++ and do it that way.
1st Aug 2017, 5:24 PM
Josh Powell
Josh Powell - avatar