Tell us what’s happening:
You should create a new @media query for only screen and (max-width: 600px). This should be below your previous @media query.
I dont understand why my code doesn’t pass
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
@media only screen and(max-width: 600px) {
.text-with-images {
grid-template-columns: 1fr;
}
}
/* 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/130.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Grid by Building a Magazine - Step 78