Assessment wanted for -> Cascade skill test 1

GitHub repo and a Live Example.
Hope this is how it was meant to be done.
Any advice is always welcome. :smiley:

1 Like

Hello @salvadorperezm :wave:

You used a correct keyword to reset the background. :+1:
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

2 Likes

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.

1 Like

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;
}
1 Like

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! :+1:

1 Like

Yep, that’s it :+1:

Great work @salvadorperezm!

1 Like