Back to Freecodecamp

Step 1

curriculum/challenges/english/blocks/workshop-html-music-player/698c4e69abe14a9746c72312.md

latest795 B
Original Source

--description--

In this workshop, you will build an HTML music player. The HTML boilerplate has been provided for you.

Create an h1 element and give it the text freeCodeCamp Tunes.

--hints--

You should have an h1 element.

js
assert.exists(document.querySelector('h1'));

Your h1 element should contain the text freeCodeCamp Tunes.

js
const h1 = document.querySelector('h1');
assert.strictEqual(h1?.textContent.trim(), 'freeCodeCamp Tunes');

--seed--

--seed-contents--

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Working with the HTML Audio Element</title>
</head>
<body>
--fcc-editable-region--
  
--fcc-editable-region--

</body>
</html>