Improve Accessibility of Audio Content with the audio Elements

Tell us what’s happening:
it kept saying “make sure your audio element has a closing tag”

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 id="meowClip" controls>
      <source src="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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element/

Read the instructions carefully. It does not tell you to add an id attribute to the audio element. The tests work by checking whether the tag matches exactly what is expected.

1 Like

oh i got it…thanks it worked …