GitHub repo and a Live Example.
Hope this is how it was meant to be done.
Any advice is always welcome.
Hello @salvadorperezm
You used a correct keyword to reset the background.
But you missed one requirement from the task:
write a declaration in a new rule
This gives you another challenge to solve: âHow to overwrite the selector #outer div ul .nav a
?â Do you know how you could solve that?
Cheers,
Michael
Now I understand!
Maybe by replacing #outer div ul .nav a
with just a
?
It works, but I donât know if itâs the correct way to implement it.
Yes, that would be possible, but imagine this is a really project and you canât change the first selector (because it would break something else). Thatâs why the tasks asks for a new rule:
#outer div ul .nav a {
background-color: blue;
}
/* new selector to overwrite the above */ {
background-color: unset;
}
Now I got it. Hereâs my GitHub Repo with the code updated and a Live Example.
Thank you so much Michael, youâre the best!
Yep, thatâs it
Great work @salvadorperezm!