Learn Accessibility by Building a Quiz - Step 17

h1,h2{
  font-family:Verdana sans-serif fallback;
  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/120.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 17

Hi there and welcome to our community!

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.

You should be setting the border-bottom property only the h2 element, not on both. You will need to create a separate selector for this.
Also, you don’t include the word ‘fallback’ when including a fallback font.

Hey @aman0231424
Good work so far get rid of the fallback text below

In css fonts qre separated by comas

font-family:font1,font2;

Happy coding

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