DEV Community

Johnskie-pogi
Johnskie-pogi

Posted on

1 1

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?

Top 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?

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay