girlcodeakl / girlcode2018-term2

Girl Code project
0 stars 0 forks source link

Put links on every page so it's easy to navigate between pages #3

Closed mgatland closed 6 years ago

mgatland commented 6 years ago

As a user, I don't like having to remember all the URLs and type them in by hand.

I'd like to be able to click on links to get to every page on the site, and never get stuck on a page with no links.

(This is often called the 'navigation bar' or 'nav bar')

Notes

this is what a navigation bar looks like

screen shot 2015-08-20 at 1 20 13 pm

I googled 'how to make a navigation bar' and got this page https://www.w3schools.com/howto/howto_js_topnav.asp

Note: Links have a built in style that makes them blue and underlined. This rule will override the rules they inherit from the navbar. You need to make a more specific style to override the link styles. For example, if your navbar has class="navbar", this rule will change the color of the links inside the navbar and remove their underline:

.navbar a {
    color: pink;
    text-decoration: none;
}

That rule applies to links <a> that are inside something that has class="navbar"