Tell us what’s happening:
Hello there. I am busy running my code and it keeps failing me. It mentions that my scrlang attribute needs to have a value in it, but I do have it in my code. I try remove it and rewrite it again but still fails me only on my srclang attribute. please please help.
happy coding.
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>Multimedia Player</title>
</head>
<body>
<center><h1>Multimedia Player</h1></center>
<section>
<h2>Song Playing</h2>
<p>A song called sailing away</p>
<audio controls aria-label="sailing away">
<source src="https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away-mp3" type="audio/mp3">
</audio>
</section>
<section>
<h2>Video Playing</h2>
<p>The following video is a lecture as to what is the map method and how does it work?</p>
<video controls width="600" height="338" aria-label="what is the map method and how does it work?">
<source src="https://cdn.freecodecamp.org/curriculum/labs/What%20is%20the%20map%20method%20and%20how%20does%20it%20work.mp4" type="video/mp4">
<track src="what-is-a-map-method.vtt" kind="captions" scrlang="en" label="English" default=""/>
</video>
</section>
<section>
<h2>Transcript</h2>
<P>What is a map method and how does it work? The map method is a powerful and widely used function in JavaScript that operates on arrays. It's designed to create a new array by applying a given function to each element of the original array. This method does not modify the original array, but instead returns the new array containing the results of the function applied to each element.</p>
</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/136.0.0.0 Safari/537.36
Challenge Information:
Build a Multimedia Player - Build a Multimedia Player