Learn CSS Grid by Building a Magazine - Step 44

Tell us what’s happening:

Even after writing the img selector, it is showing an error of “You should have an img selector”. Can anyone please help me.

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

.img{
  width: 100%;
  object-fit: cover;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0

Challenge Information:

Learn CSS Grid by Building a Magazine - Step 44

.img is not an element selector, it’s a class selector, it selects elements with class="img", does that explain why it’s not passing?

Surely… Sorry that was my fault I didn’t read it correctly… Thank you for the help.