Tell us what’s happening:
I am having trouble passing this lesson, it is saying I have steps 6-12 wrong which all relate to adding the video. Could someone please check my code and tell me what I am doing wrong? Thank you!
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>HTML Audio and Video Lab</h1>
<section>
<h2>Example Video</h2>
<video= width="640"
controls>
<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>Example Song</h2>
<audio src="https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3" loop controls></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/150.0.0.0 Safari/537.36
Challenge Information:
Build an HTML Audio and Video Player - Build an HTML Audio and Video Player