It is telling me i need a source and a source type I am not sure 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>Build a player</h2>
<section>
<h2>Coding for beginners</h2>
<video source src="https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4" loop controls width="640"></video>
</section>
<section>
<h2>We are going to make it</h2>
<audio source src="https://cdn.freecodecamp.org/curriculum/js-music-player/we-are-goin-to-make-it.mp3" loop controls></audio>
</section>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Build an HTML Audio and Video Player - Build an HTML Audio and Video Player
I am sorry I just don’t see what I am missing. It is telling me my video is missing a source, a source type, and needs a valid link but the video shows up please help I am sure it is something easy
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 a player</h1>
<section>
<h2>Coding for beginners</h2>
<video source src="https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4" loop controls width="640"></video>
</section>
<section>
<h2>We are going to make it</h2>
<audio source src="https://cdn.freecodecamp.org/curriculum/js-music-player/we-are-goin-to-make-it.mp3" loop controls></audio>
</section>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Build an HTML Audio and Video Player - Build an HTML Audio and Video Player