Learn Accessibility by Building a Quiz - Step 26

Tell us what’s happening:
I am failing to position “div.question-block” into <p and I cannot pass this 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 mobile information:

M2101K6G - Android 13 - Android SDK 33

Challenge: Learn Accessibility by Building a Quiz - Step 26

Link to the challenge:

We probably won’t be able to help you unless we can see your HTML.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

HTML

1

2

If you can’t find the back ticks on your keyboard then use the </> button in the editor toolbar.

“…within each div.question-block element, add one p element with text of incrementing numbers, starting at 1,”

This means the p element in the first div should have the text 1 and the p element in the second div should have the text 2. There should be nothing else in the p elements. And what is the purpose of this on the p elements?

hidden="div.question-block"

“…and one fieldset element with a class of question.”

It is implied that the fieldset will come after the p element, not within it.

1 Like

It’s not working! "
“div.qustion-block”
it gives me an error.
I would like some more clues.

Show us the code that you currently have after following what @bbsmooth said above. Write a ``` before and after your code. It should look something like this:

```
…your code…

```

I don’t see anywhere in the instructions that it is asking you to use this. Can you explain why you are using this?