It said you should have an h1 selector in your style element.Pls help

type or paste code here
     <h1> {
      text-align: center;

try it like this:

selector { 
property: value;

css doesn’t require opening/closing tags like you have done for your “h1” element. :slight_smile:

1 Like

You try code below:

Mod edit: removed solution

1 Like

thanks guys it worked

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