I am having trouble figuring out what I need to be doing to get this figured out. I used four div statements and thought I properly nested the div element in the section with a class of fomrow. Can someone help me out please?
Thank you,
Jonathan
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/122.0.0.0 Safari/537.36
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.
I’d recommend you reset your code.
Then after your h2 element, add a div with the class of ‘formrow’
Then in your formrow add 4 div elements with the class of question-block then answer then question-block then answer
<section role="region" aria-labelledby="css-questions">
<h2 <div class="formrow"<div class="question-block"></div><div class="answer"></div><div class="question-block"></div><div class="answer"></div>id="css-questions">CSS</div></h2>
</section>
Here's my new code. I still got an error. Would you be able to help me see where I'm going wrong. Thank you for providing me with that help anyways.
You appear to have entered your code inside the h2 opening tag.
I edited your code for readability.
After making the changes suggested in the code block, copy the code from the opening div tag with class formrow to the last closing div tag, reset the step to restore the original code, then paste your code back into the editor.