Assessment Requested for Skill Test:CSS Cascade

Task
I would like to have an assessment on the tasks mentioned in this page:

My Code - Task 1
Source Code: https://github.com/mariaringes/mdnassessments/blob/main/cascade/task1.html
Deployed Code: https://mariaringes.github.io/mdnassessments/cascade/task1.html

My Code - Task 2
Source Code: https://github.com/mariaringes/mdnassessments/blob/main/cascade/task2.html
Deployed Code: https://mariaringes.github.io/mdnassessments/cascade/task2.html

Welcome back, @maria_ringes!

I’m glad to see your continuing your developer journey on MDN.

Let’s have a look at this exercise:

  • Task 1: You deleted the existing background-color but the idea is

    To write a declaration in a new rule that will reset the background color back to white, without using an actual color value.

  • Task 2: No deleting is needed here, either. You should edit the line @layer yellow, purple, green; to change the order of the layers.

Feel free to ask if you need more help. :slightly_smiling_face:

Michael

Michael,
Thank you for your comments. I have updated my code to reflect your suggestions :slight_smile:

1 Like

Actually, a “new rule” includes also the selector like:

#outer #inner a {
  background-color: initial;
}

But as you correctly used the “initial” keyword, I see you understood the concept. :slightly_smiling_face:
The second task is correctly solved.

Keep up the great work. :+1:

1 Like