Learn Accessibility (Step 18)

I am on step 18 and I can not pass the test for h2 —> You should give the second a element an href of #html-questions. Please help.

<ul>
          <li><a href="#student-info" INFO</a></li>
          <li><a href="#html-questioins" HTML</a></li>
          <li><a href="#css-questions" CSS</a></li>
			  </ul>

[Uploading: Screenshot 2022-07-16 at 12.16.54 PM.png…][quote=“joefabre, post:1, topic:530117, full:true”]
I am on step 18 and I can not pass the test for h2 —> You should give the second an element an href of #html-questions. Please help

<ul>
          <li><a href="#student-info" INFO</a></li>
          <li><a href="#html-questions" HTML</a></li>
          <li><a href="#css-questions" CSS</a></li>
			  </ul>

[Uploading: Screenshot 2022-07-16 at 12.16.54 PM.png…]
[/quote]

.

You got a typo #html-questioins
Also you forgot to close the opening tags of your <a> elements.

Hi Joefabre,
You are doing a good job
with your code.
I think there is a little syntax error
with the - tag

Apply “>” to the open “a” element

Like this:

<ul>
<li><a href="#student-info" > INFO </a> </li>
<li><a href="#html-questioins" > HTML </a> </li>
<li><a href="#css-questions" > CSS </a> </li>
</ul>

If you have more questions don’t hesitate to call my attention @Oluyemi

1 Like

Thanks! I saw that after the fact; corrected it but no joy passing the test for this step.

Thanks for the assistance. I tried your recommendations, unfortunately no luck/success.

My first a tag/href passed the test.

I tired adding the close “>” and it did not pass. My first a tag passed without the “>”.

<a href="https://www.w3schools.com">Visit W3Schools.com!</a>

https://www.w3schools.com/tags/tag_a.asp W3 Web Reference ( Tags)

That’s exactly what I called out about your code though.
You wrote:

<a href="#student-info" INFO</a>

when the correct syntax would be:

<a href="#student-info">INFO</a>

Yes, I added the >, and it still fails. Thanks for the patience and help

did you correct your typo on #html-questioins ?

All fixed, thanks everyone, especially @praxeds.

1 Like

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