The Universal Selector is (*) is known to be slow

Cannot save and submit code due to the error message below:

<--------------------------------------------------------------------------------------------.>

<---------------------------------------------------------------------------------------------.>
The Universal Selector is (*) is known to be slow.



* {
    border: 1px dashed #3A5FCD;
}


Please post a link to the lesson. Thanks.

https://www.codecademy.com/courses/web-beginner-en-WF0CF/0/3?curriculum_id=50579fb998b470000202dc8b

What you are referring to as an error is actually a linter caution, not an error. We are following instructions. As I recall, this is the only lesson that expects the universal selector, and perhaps might have explained better what the downside of it is. Something to read up on, for your own knowledge.

My question is how do I fix it to move on the the next lesson?

It doesn’t need fixing. You should be able to move on, while ignoring the caution. Just do the follow up reading to understand why it is slow.

I am in the exact same situation. It won’t let me move on stating “Oops, try again. Make sure that you use the universal selector * to give a border 1px wide.” while my CSS is *{
border:1px dashed #3A5FCD;
}

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