Tell us what’s happening:
Why is this not working? I’ve included the css and html i’m trying to link to
I’ve also tried the “nav > ul > li{” format
Your code so far
nav li{
color: #dfdfe2;
margin: 0 0.2rem;
padding: 0.2rem;
display: block;
}
<nav>
<ul>
<li><a href="#student-info">INFO</a></li>
<li><a href="#html-questions">HTML</a></li>
<li><a href="#css-questions">CSS</a></li>
</ul>
</nav>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Challenge: Learn Accessibility by Building a Quiz - Step 44
Link to the challenge: