DEV Community

Johnskie-pogi
Johnskie-pogi

Posted on

How to reuse navbar on all html page

I was trying to apply navbar to all html pages

Is there another way to apply navbar to all html pages without pasting the full navbar code to all html pages?

Latest comments (2)

Collapse
 
soyreda profile image
Re Da

I would say use a framework.
I don't know about the other ones but in Django you can do it easly .

Collapse
 
johnskiepogi profile image
Johnskie-pogi

Hi! I already solve this problem.

But i have a new problem, i want to add navbar and footer at same page but the only thing i see is the footer.

Is there a way to solve this using jquery and JavaScript only?