Cafe Menu Step 63

Tell us what’s happening:
Hi, need help with this step please, thank you.
Having a hard time understanding this, Add two new type selectors
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 .
Here is the code I have now

.h1 {

  font-size: 40px;

}

 h2 {

   font-size: 30;

 }

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Step 63

Link to the challenge:

You are real close here. The period at the beginning is only for class selectors. h1 is an element that already is defined, so no need for the period.

1 Like

Thank you so much Jeremy for your response, it helped me understand more in detail class and element. Your detailed response has helped to pass this step, thank you.

1 Like