+ 2
Making multi page website _ Some questions...
I tried making a multipage website (with navigations), and I never got this question answered: When I use <a href = "about.html"> About </a>, And click on the about button, the "About" button disappears ("About" Is just an example"). * So how do we keep the Nav (about, home...) to stay on the screen even when clicked? Also, Would I have to copy and paste the <Nav> . </Nav> To every every page.html?, cuz once I click on the "about" or others, the whole page changes to "about" page. (Nav / footer disappear)
6 odpowiedzi
+ 5
If you only use html pages, you have to duplicate the nav codes on all html pages.
https://repl.it/@cv2k10/multipage-site
To make modular components, you could consider use server scripts code like php, node.js or using front end JavaScript framework like react.js, vue.js. You even can build modular components or single page application (spa) using vanilla (pure) JavaScript only.
+ 2
Ginfio
Basically without a framework (tool). To add a nav partial to your code, you would have to paste it into your html in every file.
You could have it written in with js.
+ 1
Are you using a framework?
+ 1
Manual , ok.
What is framework btw?
0
Sorry _ it's all bunched up, i'm trying to fit the whole question.
0
Manual , i dont' know what framework is, but
the Editor:
it has multipage..
you can x.html, x.css, x.script...
it's called Rep.it
https://repl.it/login?goto=%2Frepls <- this is the website i'm using to edit.