Learn Accessibility by Building a Quiz - Step 17

I put in h2 as a CSS selector and it still shows as invalid and says,

You should use an h2 element selector to target the h2 elements.

Where is the mistake? Thanks in advance for answering.

/* User Editable Region */

h1, h2 {
  font-family: Verdana, Tahoma;
  border-bottom: 4px solid #dfdfe2;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 17

Link to the challenge:

…And just some minutes later, I read the question more carefully and realized that I was only supposed to add a border-bottom for the h2 elements, not h1 elements :sweat_smile:

Gotta read the questions much more carefully next time, haha :laughing:

2 Likes

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