New responsive web design building quiz step 23

Step 23

Within the second section element, add two div elements with a class of question-block.

Then, within each div.question-block element, add one h3 element with text of incrementing numbers, starting at 1, and one fieldset element with a class of question. Please help: i cannot find any problems with this code but it wont let me move forward… plus i notice that one of the exsamples i found on youtube used a

element instead as mine says to use an <h3> element, so i did and still does not work. Can someone please help?

<section role="region" aria-labelledby="html-questions">
          <h2 id="html-questions">HTML</h2>
         <div class="question-block"></div>
           <h3>1</h3>
          <fieldset class="question">
          </fieldset>
         <div class="question-block"></div>
           <h3>2</h3>
          <fieldset class="question">
          </fieldset>
        </section

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

The issue with your code is that you should be nesting the h3 and fieldset elements inside the two new div elements. You have nothing nested inside the div elements, because their closing tags immediately follow their opening tags. If you move each of the closing tags below the corresponding h3 and fieldset elements, you should pass.

(You’re also missing a closing angle bracket on the section element closing tag, but that might just be a copy/paste error in the post).

1 Like

thanks i was trying to figure that out.

1 Like

got it that worked… and yea the section closing bracket was paste error… thanks for ur help cause i was stuck thinking it went the other way… lol

1 Like