Tell us what’s happening:
I’m getting a bit upset/stressed out over the things that I’m not fulfilling. Please note my code looks kind of bare 'cus my autism struggles with creative freedom (I need some kind of thematic guidance) so I did a very literal reading. The tests I’m still getting wrong are #s 5, 13, 16, 18 and 20.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<link rel="stylesheet" href="styles.css">
<html>
<main id="main-doc">Technical Documentation
<header>The First Section</header>
<nav id="navbar">
<section class="main-section" id="The_First_Section"><a class="nav-link" href="#First-Section">The First Section</a></nav>
<p><code><li></li></code></p>
<p><li></li></p>
</section>
<section class="main-section" id="The_Second_Section"><header>The Second Section</header><a class="nav-link" href="#Second-Section">The Second Section</a>
<p><code><li></li></code></p>
<p><li></li></p>
</section>
<section class="main-section" id="The_Third_Section"><header>The Third Section</header>
<p><code><a class="nav-link" href="#Third-Section">The Third Section</a><code><li></li></code></p>
<p><li></li></p>
</section>
<section class="main-section" id="The_Fourth_Section"><header>The Fourth Section</header><a class="nav-link" href="#Fourth-Section">The Fourth Section</a>
<p><code><li></li></code></p>
<p><li></li></p>
</section>
<section class="main-section" id="The_Fifth_Section"><header>The Fifth Section</header><a class="nav-link" href="#Fifth-Section">The Fifth Section</a><p><code><li></li></code></p>
<p><li></li></p>
</section>
</main>
</html>
/* file: styles.css */
#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);
}
#navbar ul {
height: 88%;
padding: 0;
overflow-y: auto;
overflow-x: hidden;
}
#navbar li {
color: #4d4e53;
border-top: 1px solid;
list-style: none;
position: relative;
width: 100%;
}
#navbar a {
display: block;
padding: 10px 30px;
color: #4d4e53;
text-decoration: none;
cursor: pointer;
}
@media only screen and (max-width: 815px) {
#navbar ul {
border: 1px solid;
height: 207px;
}
#navbar {
background-color: white;
position: absolute;
top: 0;
padding: 0;
margin: 0;
width: 100%;
max-height: 275px;
border: none;
z-index: 1;
border-bottom: 2px solid;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Challenge Information:
Technical Documentation Page - Build a Technical Documentation Page