Learn HTML: Elements and Structure 14/17


#1

Heya, struggling to understand what I’m doing wrong

Instructions are: directly below the opening tag, add an anchor tag that links to index.html with a relative path. The link should say Brown Bear.

An example is shown: <a href="./contact.html">Contact</a>
I’m told "Did you set the text on your link to be ‘Brown Bear’"
Am I just blind? (This happened in a previous task and I ended up using the “Use Code” option)

My code:

<body>
  <a href="./index.html">Brown Brear</a>
  <h1>The Brown Bear</h1>

Thanks!


#2

Please post a link to the exercise in question. Thanks.


#4

Hi,

Your code is perfect, I think you should check if there is a typo within the ‘a’ tag :smiley:

Good luck with your coding!


#5

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