I’m having difficulties when doing the Lab, “Build an HTML Audio and Video Player” in the “Basic HTML" section.
In this lab, it says, “You should have an audio element with the controls and loop attributes, and a src attribute that points to an audio file.”
Below is my code,
<audio controls loop>
<source src="https://cdn.freecodecamp.org/curriculum/js-music-player/we-are-going-to-make-it.mp3" type="audio/mp3">
</audio>
But it’s always saying that, “The audio element should have a src attribute pointing to an audio file.”
How can I solve this?
I’ve reset the lesson a few times, but bad luck.