Build a Multimedia Player - Build a Multimedia Player

Tell us what’s happening:

I am genuinely confused what is wrong with this code. It doesn’t seem to have any syntax errors, and I’ve triple-checked it to make sure it fits the criteria of the lab. Could anyone help me?

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Multimedia Player</title>
</head>

<body>
<h1>Multimedia Player</h1>

<section>
<h2>Sailing Away</h2>

<audio controls aria-label="sailing away"
source src="https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3" type="audio/mp3"/>

</section>

<section>
<h2>What is the Map Method, and How Does It Work?</h2>
<video controls width="340" source src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4"
<track src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.vtt" kind="subtitles" srclang="en" label="english"> 
</video>
</section>

<section>
<h2>Video Transcript</h2>
<p>What is a map method and how does it work? The map method is a powerful and widely used function in JavaScript that operates on arrays. It's designed to create a new array by applying a given function to each element of the original array. This method does not modify the original array, but instead returns the new array containing the results of the function applied to each element.</p>
</section>
</body>

</html>

Your browser information:

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

Challenge Information:

Build a Multimedia Player - Build a Multimedia Player

I would suggest you review the difference between an element and an attribute

do you understand why there isn’t a source element here?

Thank you! I’ve gone over the code again and fixed that part of it. Most of the other errors were similar, so I should be able to fix them too.