I have closed the audio tag but it id giving an error "Make sure your audio element has a closing tag."

I have closed the audio tag but it id giving an error "Make sure your audio element has a closing tag."
0.0 0

#1
<audio id="my_clip" controls>
  <source src="https://s3.amazonaws.com/freecodecamp/screen-reader.mp3" type="audio/mpeg"/>
</audio>

#2

Please post the code you used


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

#4

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#5

I had the same problem.
If you remove the id attribute from your audio tag, it should work.
Apparently, this messes with the code checking, since it wasn’t asked for in the lesson.