New York City Blog Project: problem with <article>

Currently working on the New York city blog project for HTML. The portion below is where I am very confused:

  1. Right now our blog post consists of only one image. Adding more media can help give a better visual representation of New York. Let’s create a section for the media content.

Create a <section> element with an id of “media” under the closing </aside> tag.

Within the new <section> element, create an <h2> element that says:

The Scenery in NYC

12.You are going to add a little description to explain the media. Add a <p> element directly underneath the closing </h2> tag but within the <article> element with the following paragraph:

While the view in the city is beautiful, the sounds are not as lovely. Below you’ll see an example of the view and the sounds you’ll deal with in NYC on a daily basis.

** I am confused where the tag is even supposed to go? Where did it come from? if the

tag is supposed to be directly below the </h2> tag but still within the tag, does that mean that the tag goes before the <h2> but right after the <section id="media> tag>??**

This is what my code currently looks like:

 <section id="media">
         <article>
         <h2>The Scenery in NYC</h2>
         <p>While the view in the city is beautiful, the sounds are not as lovely. Below you'll see an example of the view and the sounds you'll deal with in NYC on a daily basis.</p>
           <video src="https://codecademy-content.s3.amazonaws.com/courses/Semantic+HTML/nyc-skyline-timelapse.mp4" controls></video>
         </article>
       </section>

The project is linked here: https://www.codecademy.com/courses/learn-html/projects/semantic-html-nyc-blog

Hi Danny,

Below the h2 tag but still within the section

I believe there’s a mistake in the instructions in no 12:

underneath the closing </h2> tag but within the <article>

There’s no article tag as no 11 specified to create a section element, I believe this instruction should rather be:

underneath the closing </h2> tag but within the <section>

So after no 12 this is how your code should look like:

<section id="media">
   <h2>The Scenery in NYC</h2>
     <p>While the view in the city is beautiful, the sounds are not as lovely. Below you'll see an example of the view and the sounds you'll deal with in NYC on a daily basis.</p>
</section>

**I’ll check if the mention of article in no 12 was a mistake or no mention of article in no 11

Hope this clears it up


Edit: I edited your post so that the code is formatted here in the forums please see this FAQ for the future:

4 Likes

The error in instructions has been fixed.