Build an HTML Audio and Video Player - Build an HTML Audio and Video Player

Tell us what’s happening:

Everything appears to be working, but it’s not get past the final step.

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>HTML Audio and Video Lab</title>
</head>
<body>
<h1>Build an Audio and Video Player</h1>
<section>
  <h2>Current Video</h2>
  <video controls width="640">   
    <source src = 'https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4' type='video/mp4'>
  </video>
</section>
<section>
  <h2>Sailing Away</h2>
  <audio controls loop>
    <source src = 'https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3'>
  </audio>
</section>
</body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0

Challenge Information:

Build an HTML Audio and Video Player - Build an HTML Audio and Video Player

Hi @Jakemeister37

Check the syntax for an audio element.

Happy coding

I still can’t see it.

Thanks! I finally found it. Damned syntax. :slight_smile:

1 Like

while the syntax you used is not wrong, in this workshop you are specifically asked to use source only in one of the two, and not use source for the other