Nesting div element inside another div

Tell us what’s happening:

<section role="region" aria-labelledby="css-questions">
          <h2 id="css-questions">CSS</h2>
          <div.formrow>
            <div class="formrow"
            <div class="question-block">
              <div class="answer">
                <div class="question-block">
                  <div class="answer">

i did this while nesting div element inside another div but still it says there is some error.
This is the hint i have got but even after adding no solution
You should add one div element within the final section

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36 OPR/88.0.4412.53

Challenge: Step 34

Link to the challenge:

Please edit your post and copy-paste all your code inside the code block (the one surrounded by backticks).

<div class="formrow"

This tag is not closed.


I’ve edited your post 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 (').

Tell us what’s happening:

Am stuck in STEP 34. help out

<section role="region" aria-labelledby="css-questions">
          <h2 id="css-questions">CSS</h2>
          <div.formrow>
          <div.formrow="question-block"></div>
              <div.formrow="answer"></div>
                <div.formrow="question-block"></div>
                  <div.formrow="answer"></div>
                   <div></div>
                   </div>                  

        </section>

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36 OPR/88.0.4412.53

Challenge: Step 34

Link to the challenge:

I’ve edited your post 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 (').

I have merged two of your threads. Please do not create duplicate topics for the same question.


You have invalid HTML.

formrow is a class name class="formrow"

<div class="someClassName"></div>

I’d suggest you reset and try again. If you need more help post in this thread and remember to post your latest code.


As a reminder, formate the code as already instructed.

thanks. it worked after a sweat

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