diff --git a/curriculum/challenges/english/blocks/lab-html-audio-and-video-player/68de40f53fcaf106f51cc20f.md b/curriculum/challenges/english/blocks/lab-html-audio-and-video-player/68de40f53fcaf106f51cc20f.md index d9c8388b2d5..b9c3224aec1 100644 --- a/curriculum/challenges/english/blocks/lab-html-audio-and-video-player/68de40f53fcaf106f51cc20f.md +++ b/curriculum/challenges/english/blocks/lab-html-audio-and-video-player/68de40f53fcaf106f51cc20f.md @@ -17,7 +17,7 @@ demoType: onClick 3. Inside the first `section` element, you should have an `h2` element for the title of the video playing. 4. Below the `h2` element, you should have a `video` element with `controls` and `width` attributes. The `width` attribute should be set to `640`. 5. Inside the `video` element, you should have a `source` element with a `src` attribute pointing to a video file and a `type` attribute. - - You can use `https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4`. + - You can use `https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4`. 6. Inside the second `section` element, you should have an `h2` element for the title of the song playing. 7. Below the `h2` element, you should have an `audio` element with the `controls` and `loop` attributes, and a `src` attribute that points to an audio file. - You can use `https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3`. @@ -217,7 +217,7 @@ assert.match(srcAttr, /\.(mp3|wav|ogg|aac|flac)$/i);

What is the map method and how does it work

diff --git a/curriculum/challenges/english/blocks/lab-multimedia-player/67fccc2463253b213a000142.md b/curriculum/challenges/english/blocks/lab-multimedia-player/67fccc2463253b213a000142.md index ae8ae924e0d..2d41c7c4bfa 100644 --- a/curriculum/challenges/english/blocks/lab-multimedia-player/67fccc2463253b213a000142.md +++ b/curriculum/challenges/english/blocks/lab-multimedia-player/67fccc2463253b213a000142.md @@ -40,7 +40,7 @@ The `source` element can also be used in the `video` element like this: 5. Inside the `audio` element, you should have a `source` element with a `src` attribute pointing to an audio file and a `type` attribute. You are free to use this audio URL if you like: `https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3` 6. Inside the second `section` element, you should have an `h2` element for the title of the video playing. 7. Below the `h2` element, you should have a `video` element with `controls`, `width` attributes and an `aria-label` attribute. -8. Inside the `video` element, you should have a `source` element with a `src` attribute pointing to a video file and a `type` attribute. You are free to use this video URL if you like: `https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4` +8. Inside the `video` element, you should have a `source` element with a `src` attribute pointing to a video file and a `type` attribute. You are free to use this video URL if you like: `https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4` 9. Below the `source` element, you should have a `track` element with a `src` attribute pointing to a subtitles file and a `kind` attribute, a `srclang` attribute and a `label` attribute. 10. Inside the third `section` element, you should have an `h2` element for the title of the section eg. "Transcript". 11. Below the `h2` element, you should have a `p` element with the transcript of the video. @@ -323,7 +323,7 @@ assert.isAbove(transcript.textContent.trim().length, 0);

What is a map method and how does it work?