Assessment for Fundamental CSS comprehension

Just finished this test and would love an assessment!

Here is my entire work:
Fundamental CSS comprehension Assessment (codepen.io)

Here is the test page from MDN:
Fundamental CSS comprehension - Learn web development | MDN (mozilla.org)

Hi @Assad_Newar

Again, you did a great job! :tada:

Technically everything is correct. The only thing that may be improved is the order of the selectors. For example, it would be better to group all the article selectors:

.card article {}

.card article img {}

.card article p {}

This is an important thing to keep in mind when you are moving to bigger projects with more CSS code. It improves the readability greatly.

Cheers,
Michael

1 Like

Thanks for the tip, I will remember that!

1 Like