What is wrong with this coding because i can't see it

<article>
            <p>French Vanilla</P>      
            <p>3.00</p>
          <article>
            <p>Caramel Macchiato</p>
            <p>3.75</p>
          <article>
            <p>Pumpkin Spice</p>      
            <p>3.50</p>
          <article>
            <p>Hazelnut</p>    
            <p>4.00</p>
          <article>
            <p>Mocha</p>         
            <p>4.50</p>
          </article>

Do you have a link?

And each of those <article> elements should have a </article> element that goes with it - there should be the same number.

oh! i was thinking one closing tag is enough

you are the man! thanks

1 Like

Usually if there are tags to be nested inside a tag, that tag will need a closing tag that goes with it. There are “self-closing” tags, like img and input, that won’t have other elements inside them so they won’t need a closing tag.

ok, thanks. i got it now.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.