Assessment wanted for A cool-looking box (Task 1)

Assessment wanted for A cool-looking box

Link to task: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/A_cool_looking_box#in_this_module

Link to my code: https://jsfiddle.net/EiNzp/k9ra32oy/1/

Perhaps I misunderstood the task a little, and it was not necessary to add a <div>, but all the work had to be done immediately with a <p>?

Thanks :wink:

Hi @EiN

It would be fine to just use either <div> or <p>, but your code looks fine. :+1:
Instead of rgba(150, 0, 0, 1); you could also just write rgb(150, 0, 0); since the default opacity is 1.

Michael

1 Like