Tell us what’s happening:Inside the video element you should have a source element
build an html audio
and video player help pleases.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Audio and Video Player</title>
</head>
<body>
<h1>Audio and Video Player</h1>
<section>
<h2>What is the Map Method?</h2>
<video controls width= "640">
<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
src = "https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3">
</audeo>
</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/149.0.0.0 Safari/537.36 Edg/149.0.0.0
Challenge Information:
Build an HTML Audio and Video Player - Build an HTML Audio and Video Player