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

Tell us what’s happening:

I am having trouble figuring out 12. Can someone help me see what I am missing?

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>LogicX</h2>
  <section>
    <h2>Cyber Logic</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"
    <audio controls> 
      <source src="audio.ogg" type="audio/ogg" /> 
      <source src="audio.wav" type="audio/wav" /> 
      <source src="audio.mp3" type="audio/mp3" /> 
    </audio>
    </video>
  </section>
  <section>
    <h2>Evolution</h2>
      <audio
        controls 
        loop
        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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

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

Hi @planet0asis

Syntax highlighting is giving you some clues.

Happy coding

1 Like

Thanks again @Teller

I was able to complete it! I appreciate your help so much!

1 Like