CSS CSS Selectors Advanced Selectors :nth Pseudo-Class Challenge

Randell Purington
Randell Purington
9,992 Points

not sure what steps to take.

The previous vides was explaining "nth" and it didn't go over images so I am not sure that I should do.

/* Write the CSS in the media query below */

@media (min-width: 607px) {
  .img {
<!DOCTYPE html>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="page.css">
  <link rel="stylesheet" href="style.css">
    <img src="thumb-forest.jpg" alt="">
    <img src="thumb-resort.jpg" alt="">
    <img src="thumb-trees.jpg" alt="">
    <img src="thumb-falls.jpg" alt="">
    <img src="thumb-view.jpg" alt="">
    <img src="thumb-sunset.jpg" alt="">
    <img src="thumb-lake.jpg" alt="">
    <img src="thumb-beach.jpg" alt="">
    <img src="thumb-bay.jpg" alt="">
    <img src="thumb-peaks.jpg" alt="">
    <img src="thumb-falls.jpg" alt="">
    <img src="thumb-resort.jpg" alt="">

1 Answer

Hi Randell,

Which question are you stuck on? Question 1?

In your code you are selecting .img - this is saying "select any element with a class of img "

.img {}

If you remove the dot at the start.


We are now telling it to "select all img elements"

Hope this helps :)