Step 35 Cafe Menu

The question for step 35 is this

Next, you want to align the price to the right. Add a class named price to your p element that has “3.00” as its text.

my code is this

<p price="3.00" > 3.00</p>

But it keeps telling me to add the price class to your p element.

I’m stuck on this.

Screenshot 2022-06-02 083251

it should be like this

HI @John78 !

Welcome to the forum!

When posting questions on the forum, please include the challenge link.

Your issue is here

This is not the correct way to add a class to an html element.

Please review the correct syntax for class attributes by reading the documentation here

1 Like

Thank you, I read it and fixed it.

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