How do i add 2 attributes to the same element?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<body>
<header>
  <h1>Deep Thoughts with Master Camper Cat</h1>
</header>
<article>


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


  <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>


  <p>Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence that 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.70

Challenge: Make Links Navigable with HTML Access Keys

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


This is an element with two attributes


the issue is: Your code should add an

accesskey

attribute to the

a

tag with the

id

of

first

. Your code should add an

accesskey

attribute to the

a

tag with the

id

of

second

. Your code should set the

accesskey

attribute on the

a

tag with the

id

of

first

to

g

. Note that case matters. Your code should set the

accesskey

attribute on the

a

tag with the

id

of

second

to

c

. Note that case matters.
and i dont know what to do

You have the attribute here, but the instructions don’t seem to be telling you to set it equal to a value. Try removing the =“first”

thank you very much :smiley:

1 Like