All right here comes the answer to challenge 1
6. 2
We know that on nav bar up here is where we need to change these links in order for it to work and take 3
us to the right routes. 4
Now the nav bar of course comes from our header file and that is what's being added at the top of our 5
home page. 6
So if we head over to our header. 7
ejs 8
this is the place where we need to change something in order for all our links to work. 9
And the something is of course these link elements. 10
So the first one should go to the root route in order to get to the home page. 11
The second one needs to be /about to get to the about route. 12
And the third one needs to be changed to contact. 13
So now once we hit refresh, our links in our nav bar now take us to the correct routes. And when we click on 14
contact us, 15
we're actually making a get requests to /contact which gets call in our server and we render 16
the About page. 17
So I hope that was an easy challenge and you managed to complete it and you're ready to go on to challenge 18
7.