Step 52
Something does not look right. You added the correct class
attribute value to the p
element with Donut
as its text, but you have not defined a selector for it.
Since the flavor
class selector already has the properties you want, just add the dessert
class name to it.
1 Like
I’m not sure what exactly your issue is.
Could you please link the challenge and your source code.
Cheers, Smeagol
Can you say what you wrote until now in your code, please?
I mean what you wrote, not the link to challenge…
Here is how to post code in the forum
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor ( </>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
.flavor class=“Dessert”{
text-align: left;
width: 75%;
}
You must just select the .dessert
class.
Example of multi-class select:
.cupcake, .milk {
text-align: center;
}
21 Likes
ok. thanks
i will revert back now
what level are you as a programmer?
Beginner… I’m 14 years old… but I love programming
I mean I can do a little project but not with moving things… I’m not so good at JavaScript
2 Likes
wow. That’s great to know
when did you start this journey?
Tap on my icon … there write more about me
1 Like
awesome. nice one, tried it and it worked.