<!DOCTYPE html>
<html>
<head>
<title>How to build a website</title>
</head>
<body>
<div id=”introduction”>
<h1>How to build a website</h1>
<p>This website contains a reference to everything I know about HTML, CSS and JavaScript. Each language is contained on its own page, and each section of the language is contained in a separate block. Use the main navigation and then the jump list to navigate straight to any section of the webpage.</p>
</div>
</body>
</html>
We are now going to create the main navigation method for our website. We are going to create a horizontal nav bar that sits at the very top of every page.
The steps:
Expected result: the expected result of this should be a list of hyperlinks that go to various pages (which do not yet exist). Currently the list will be rendering vertical and all the links should be blue (aside from the home link, which should be a darker shade to indicate the page is active).
Expected code: