Building a Cafe Menu Step 63

Hello! I am currently on step 63 of the Building a Cafe Menu. Question is:

The typography of heading elements (e.g. h1, h2) is set by default values of users’ browsers.

Add two new type selectors (h1 and h2). Use the font-size property for both, but use the value 40px for the h1 and 30px for the h2.

My code is:

h1{
font-size: 40px;
}
h2{
font-size: 30px;
}

But it will not take my input. Keeps saying, “You should use a h1 selector.” Am I not doing so?

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Your code is correct. Sometimes, these learning platforms can be a bit picky. Just to double-check, make sure there are no typos or extra spaces in your code. Your h1 and h2 selectors should be exactly as you’ve written: h1 { font-size: 40px;} h2 { font-size: 30px;} If it’s still trouble, try refreshing the page or clearing your browser cache. Sometimes that can help with these kinds of issues.

Hello and welcome to the forum!

Sometimes, dark mode, or extensions (including some password vaults, as I learned from experience) can cause the issue.

As well, if the code above the entered code is missing a closing curly bracket, that causes an issue, and happens to all of us at some point.

If resetting and entering the code still does not work, you may wish to try submitting the code using a different browser. Sometimes, browser built in extensions cause the problem.

Clearing the cache.

A complete computer reboot may clear up the issue.

Hopefully, this can help you.