Below your .small-text element, create a new p element with the text Calories . Also below the .left-container element, create a new span element with the text 230 .
I’m having a problem with this lesson. I can’t seem to get this line of code in the right spot. Maybe the code is wrong? (
Calories230
) I keep getting this error message.
“Your p element should come after your .small-text element.”
But it is??
I’ve edited your code for readability. 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.
Right, so then I do this and it still isn’t working. The Hint is giving me this message.
" Your span element should come after your .left-container element"
I’ve edited your code for readability. 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.
I put the span element where it told me to put it and it’s still wrong, it also looks wrong formatting wise.
Below your .small-text element, create a new p element with the text Calories . Also below the .left-container element, create a new span element with the text 230
I end up with this hint:
Your span element should come after your .left-container element