Today you will be creating some functions that could be used on a movie website like Netflix.
First, we need to check out the project.
- On this page, click Fork in the top right to get your own copy
- Then open up Cloud9. Go to Respositories, find movie-project and click Clone to edit.
- Name the Workspace as movie-project-2, leave all other settings as default and click Create workspace.
In a different window / tab, open up your movie-project one workspace, and find 'solution.js'. Copy paste the entire contents of this file above the line 'PASTE YOUR CODE FROM LAST WEEK ABOVE THIS COMMENT BLOCK.' Verify all of your tests are passing - I added a new test to one of the functions, so that one might be failing.
Open index.html
in your project workspace and live preview the file.
The tests on index.html
validate your code and will point out errors if it finds them.
If the tests are all green, then your project is correct!
Open solution.js
in your project workspace
Follow the instructions in the comments of the javascript file.
You are expected to complete and submit this exercises by the end of the week!
git add .
git commit -m "movie-project 2"
git push origin master
git push origin master:gh-pages