How? Help? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How? Help?

If I have 4 pages in my website and then I have the same navbar and footer in all the pages of my website do I need to copy and paste all the navbar & the footers markup in all 4 pages? Or is there an easier way? Thanks in advance!!!

3rd Apr 2021, 4:38 AM
Francis Mistica
Francis Mistica - avatar
1 Answer
+ 1
Francis Mistica Make header and footer in separate files and just include in every page so whenever you change anything it will reflect in all pages.
3rd Apr 2021, 5:23 AM
A͢J
A͢J - avatar