Welcome to the Treehouse Community
Looking to learn something new?
Build a Simple Website Stage 3 adding a new div
It's telling me to add a new div around the featured cupcake img element with the classes class="container clearfix". But both the image and the h2 header are already wrapped in a div with the id="featured-cupcake". I've tried simply adding the class to the existing div, closing out the existing div above the img element and creating a new div with the classes just around the img element, and deleting the existing div altogether and just leaving the new one wrapped around only the img element and the editor won't accept any of them and now I'm stuck!
It's looking for you to encapsulate the
featured-cupcake element in a new
div. The current
div with the
id="featured-cupcake" should be inside the new
div that you create.
It should look like the following:
<div id="container clearfix"> <div id="featured-cupcake"> <h2>Cupcake of the Week</h2> <img src="img/featured-cupcake.jpg"> </div> </div>