CSS Unused CSS Stages Media Queries Media Features and Media Types

Whats missing?

Not sure where i'm going wrong, have a feeling its on the very top line maybe the brackets are placed incorrectly?

index.html
<!DOCTYPE html>
<html>
<head>
    <title>Media Queries</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="wrap">
        <h1>Hi There!</h1>
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lectus ante, luctus vel euismod ut, suscipit quis ligula. Vestibulum augue ante, semper sit amet congue non, faucibus sit amet lacus.
        </p>
        <p>
            Maecenas lobortis porttitor nisi, quis congue neque porta at. Donec interdum arcu eu ante semper nec venenatis ipsum dignissim. Vestibulum ultricies mi quis lectus suscipit fermentum.
        </p>
    </div>
</body>
</html>
style.css
/* Complete the challenge by writing CSS below */

.body {
  @media screen and (min-width: 768px) {
    background: #FF6347;
    color: white;
  }
}

3 Answers

Hi Anthony,

If you swap these lines around that should sort it:

.body {
  @media screen and (min-width: 768px) {

Hope that helps

-Rich

"Bummer! Did you specify the right background color?"

This is the error I get which is why it's thrown me off.

Hi Anthony,

Was this after swapping the lines as above? If they haven't been swapped it won't register the style and so will display that error that's all.

-Rich

My bad, i've corrected it, small mistake in placing the body element.

Thanks Rich!

No problem, glad you got it sorted.