Test Assessment of A cool-looking box

Hi,
I need an Assessment of A cool-looking box test from the CSS: Building blocks.

My try on the task.

Can’t wait to hear your comments.

Congratulations, @umarFaruq!

You don’t need to use two block elements. One is enough.
You could remove the height of the <div>. The line-height alone will be enough. Also grid feels a bit overkill. A simple text-align: center; works. And the <p> doesn’t need margin.

I hope that helps. :slightly_smiling_face:
Michael

1 Like

Thanks, @mikoMK, I made some changes in the code as you suggested. Please bear a second look and let me know if I am right or not.
Notice how the box shrinks a little bit. Is that okay or not?

Thanks again for these tiny notices. I hope it’ll help me improve my code along the way. Stay safe!

1 Like

Yup, that looks better :sunglasses:

1 Like