I have successfully implemented a fixed header and footer on my webpage. The goal is to make it so that when a user clicks on a link in either the header or footer, the content of that page should appear dynamically.
While I have explored various styles, I have not been able to effectively implement them. You can check out some examples here: Page display styles
If you'd like to see a demo of what I've accomplished so far, you can view it here: Codepen demo
Below is the code for the footer containing 4 links:
<ul class="nav navbar-nav">
<li class="active"><a href="#">What is Facebook?</a></li>
<li><a href="#about">How does it work?</a></li>
<li><a href="#contact">Feedback</a></li>
<li><a href="#contact">Contact us</a></li>
</ul>
The challenge I am facing is ensuring that the footer and header remain fixed while allowing the content of each linked page to appear without requiring a full page load.
As a temporary solution, there is currently blank space displayed on the page for each clickable link.