Hi There,
I’m wondering if someone can help me…
I’m on step 47 of “Learn Accessibility by Building a Quiz”, and have written in this code so far:
li > a {
color: inherit;
border-bottom: 0;
text-decoration: none;
nav > ul > li:hover {
background-color: #dfdfe2;
cursor: pointer;
color: #1b1b32;}
It keeps telling me that my code for this question is incorrect. I’m not sure what to do… Thank you so much!
Hi,
You’ve done everything correctly. However, you need to close your first selector with a }
. Then you’re good to go.
Happy coding!
There are two mistakes here.
border-bottom:0;
is no need since the a
element do not have a border by default.(Not so important this mistake)
- You miss an ending
}
after text-decoration:none;
property,which makes the code editor feel confused.(Important syntax mistake!!!)
Happy Coding! Welcome!
Thank you so much for your kind help! Sincerely appreciate it.
Best wishes
2 Likes