CSS CSS Layout Basics Getting Started with CSS Layout Layout Wrapper Challenge

Jeremy Lee
PRO
Jeremy Lee
Pro Student 2,341 Points

The closing div tag seems to be in the correct location is this a bug.

Where am I supppose to put the closing tag for this example.

index.html
<!DOCTYPE html>
<html>
<head>
    <title>Getting Started with CSS Layout</title>
    <link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
</head>
    <body>
    <div class="wrapper"> 
        <header>

            <h1>Best City Guide</h1>
        </header>

        <div class="main">

            <h2>Welcome!</h2>
            <p>Dessert toffee chocolate lollipop fruitcake cake sweet. Pudding cotton candy chocolate pudding liquorice jelly marzipan. Muffin gummies topping lollipop. Caramels chocolate cake donut liquorice.</p>
            <p>Cake sesame snaps sweet tart candy canes tiramisu I love oat cake chocolate bar. Jelly beans pastry brownie sugar plum pastry bear claw tiramisu tootsie roll.</p>
        </div>
    </div>

        <footer>
            <p>&copy;2015 Residents of The Best City.</p>
        </footer>
    </body>
</html>
style.css
/* Complete the challenge by writing CSS below */

1 Answer

Steven Parker
Steven Parker
168,518 Points

It looks like you've placed the end tag before the "footer" section.

But since the instructions say "...around the content inside <body>", then the start tag would go just after the start tag for the body, and the end tag just before the end tag for the body.

And the instructions also say "Give it the class 'container'.", yet it looks like you gave it the class "wrapper" instead.