The purpose of this repository is to help you practice using <audio>
and <video>
elements.
Observe the files in this repo:
README.md
is the file you're reading. You should be reading it on GitHub.birds.mp3
is the audio file you will be using.hans-rosling.jpg
is the image you will be using as the poster for the video.index.html
is where you will be doing your coding.result.png
is the result you should be aiming for withindex.html
.stats.mp4
is the video file you will be using.
- Fork and clone this repo.
- Add the proper
<audio>
element toindex.html
.- The audio should be
birds.mp3
. - There should be controls.
- If the user's browser does not support HTML5 audio, that message should display
- The audio should be
- Add the proper
<video>
element toindex.html
.- The video should be
stats.mp4
. - There should be controls.
- The poster should be
hans-rosling.jpg
. - If the user's browser does not support HTML5 video, that message should display
- The video should be
- When you are finished, the preview should look like
result.png
. - Beautify your code so that you can easily see which elements are inside of others (very helpful for debugging
div
s).- NOTE: the cloud9 keyboard shortcut is
⌘+shift+B
- NOTE: the cloud9 keyboard shortcut is
- After you push your changes, set gh-pages to use the master branch and use the URL to check that it worked!
Good luck!