ej-Improve Accessibility of Audio Content with the audio Element

It keeps failing to pass the test although i have done everything necessary please can anyone help me out

Your code so far


<body>
<header>
  <h1>Real Coding Ninjas</h1>
</header>
<main>
  <p>A sound clip of Zersiax's screen reader in action.</p>
<audio controls>
<source scr="https://s3.amazonaws.com/freecodecamp/screen-reader.mp3"  type="audio/mpeg"/>
</audio>
</main>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: Improve Accessibility of Audio Content with the audio Element

Link to the challenge:

The failing test says;
The value for the src attribute on the source tag should match the link in the instructions exactly.

Do you have a src attribute? Or do you have a typo?

2 Likes

Exactly. The scr attribute i used was from the exercise given. I copied and pasted it precisely in my markup therefore i am not sure it’s a typo.

You don’t have a src attribute. You have a scr attribute.

i’m kinda confused you saying two similar but opposite things please can you clarify or can anyone help me with an example of his or her code that passed the exercise. Thank you

We’re saying the same thing.

<source scr="https://s3.amazonaws.com/freecodecamp/screen-reader.mp3"  type="audio/mpeg"/>

You have a typo. You mispelled src.

1 Like

Lmao. Never expected that. Thanks a lot i appreciate been on this for a while lol

1 Like