This code don't seems to run. Nav access key

Tell us what’s happening:

Your code so far


<body>
<header>
  <h1>Deep Thoughts with Master Camper Cat</h1>
</header>
<article>


  <h2><a id="first" href="#">The Garfield Files: Lasagna as Training Fuel?</a></h2>
<button accesskey="g"> go here </button>

  <p>The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...</p>
</article>
<article>


  <h2><a id="second" href="#">Is Chuck Norris a Cat Person?</a></h2>
<button accesskey="c">use it</button>

  <p>Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...</p>
</article>
<footer>&copy; 2018 Camper Cat</footer>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Make Links Navigable with HTML Access Keys

Link to the challenge:

Hello~!

The example in the challenge shows you how to add the accesskey attribute to a button element. However, the challenge tests ask you to add the accesskey attribute to your existing a elements. You have created new button elements instead.

image

1 Like