← Back to Community
HTML same nav on multiple pages
Profile icon
SamKunefeh

Hello everyone, I have a problem where I have created a nav in index.html that links to other files/pages. However, I want the same nav bar to be at the top of these files/pages too without copy pasting the same code. So, how can I do that using just html and css?

Answered by RYANTADIPARTHI [earned 5 cycles]
View Answer
Voters
Profile icon
SamKunefeh
Comments
hotnewtop
Profile icon
RYANTADIPARTHI
Profile icon
SamKunefeh

@RYANTADIPARTHI So how do I do i do it in the repl I just shared with you?

Profile icon
RYANTADIPARTHI

@Jackbaklava did you read them properly? If you did, you will know to use those linked things into all files you want to use it in. object or iframe.

Profile icon
SamKunefeh
Profile icon
RYANTADIPARTHI

@Jackbaklava no problem.

Profile icon
TimothyRowell

Ok, can you invite me to the repl because I cant explain that here its better to do it there.