Cant figure out question with h2 selector

Step 17

Typeface plays an important role in the accessibility of a page. Some fonts are easier to read than others, and this is especially true on low-resolution screens.

Change the font for both the h1 and h2 elements to Verdana, and use another web-safe font in the sans-serif family as a fallback.

Also, add a border-bottom of 4px solid #dfdfe2 to h2 elements to make the sections distinct.

// So this is what its asking me to do and I’m really confused because this below is what I’m thinking:

h1, h2 {

font-family: ‘Verdana’, Tahoma;

border-bottom: 4px solid #dfdfe2;

}

max-width: 300px;
height: 50px;

}

nav > ul {
display: flex;
justify-content: space-evenly;
}

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

//but now its saying with the error:

Test
Sorry, your code does not pass. You’re getting there.

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

//I have no idea what to do here lmao some one save me

try to give a space between h1 and h2

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