Learn Accessibility by Building a Quiz - Step 47

Tell us what’s happening:
the hint says " You should use the existing li > a selector to set the text-decoration to none." i already did that.
Your code so far
nav > ul > li:hover {
color-li: #1b1b32;
background-color: #dfdfe2;
cursor: pointer;}
li > a {
color: inherit;
text-decoration: none;
}
WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36</code>

**Challenge:**  Learn Accessibility by Building a Quiz - Step 47

**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-47

color-li is not a valid property name. Look at how you set the color in other rulesets, such as in nav > ul > li or li > a.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.