I am trying to answer the " *Your #navbar
should always be on the left edge of the window." section. I have looked through this site, looked through other sites, and have had a hard time with the formatting for this project. I have only added the “stylesheet” info as I believe that is where it is breaking.
Please note the code below is split between the index.html and style.css and NOT on the same page.
If you can also point me to the section that dealt with this formatting that would be nice, I obviously have to go back and do a little refresher.
Your code so far
<nav =id"navbar">
<header>Learn to Style HTML with CSS</header>
<ul>
<li><a class="nav-link" href="#Introduction">Introduction</a></li>
<li>
<a class="nav-link" href="#Prerequisites">Prerequisites</a>
</li>
<li>
<a class="nav-link" href="#Modules">Modules</a>
</li>
<li><a class="nav-link" href="#Solving_common_CSS_problems">Solving common CSS problems</a></li>
<li><a class="nav-link" href="#CSS_is_weird">CSS is weird</a></li>
<li>
<a class="nav-link" href="#See_also">See also</a>
</li>
<li><a class="nav-link" href="#Reference">Reference</a></li>
</ul>
</nav>
.navbar a {
float: left;
color: #f2f2f2;
text-align: right;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.navbar {
position: fixed;
min-width: 290px;
top: 0px;
left: 0px;
width: 300px;
height: 100%;
border-right: solid;
border-color: rgba(0, 22, 22, 0.4);}
nav{
display:block;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Challenge: Technical Documentation Page - Build a Technical Documentation Page
Link to the challenge: