Learn color for UI - Pinpoint E-Commerce task 10

I’m not sure if this task has worked. When I did it no red borders appeared. The project walkthrough shows what to do but in the video she just says that it is done without proving that it worked. What is the correct way to target a pseudo selector, in this case the “active” pseudo selector?

Thanks

Do you have a link to the lesson so we know what you’re referring to?

https://www.codecademy.com/paths/front-end-engineer-career-path/tracks/fecp-improved-styling-with-css/modules/fecp-learn-color-for-ui/projects/color-for-ui-proj

It’s just the input-error class:

.input-error { border-color: ####; /* change this value */ }

It should work. If you check the HTML, the input-error class is only applied to the Payment Method section, so if you’re looking for the red borders in the Billing Details and Shipping details, you won’t see the red border.

(Have to admit that the instructions were not clear on this one though)

1 Like