Creating the About page
We will go into our VS Code now and add an About
page. Let's create a new file called about.html
, similar to what we did for the contact.html
file. We are going to copy the header
, footer
, and the nav
code from the index.html
file and paste them into our about.html
file. Please make sure that the code is pasted at the right places, as we did earlier for the Contact
page. We will require a title-bar
as well for our About
page, which we can get from the contact.html
file. The only thing to update is the name of the title-bar
. Instead of Contact Us
, change it to About Gamma
:
<section id="title-bar"> <div class="container"> <div class="row"> <div class="col-lg-12"> <h1>About Gamma</h1> </div> </div> </div> </section>
Another thing that we have to change is making the About
page link active
. Here is the code:
<div class="collapse navbar-collapse"...