Today you will be completing exercises for-loop-exercises.js
and array-exercises.js
.
When you think you have completed the function correctly, open index.html
and preview the file in Cloud9.
index.html
validates your code and will point out errors if it finds them.
If the test is all green then your function is correct!
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 jsExercises-May5-2016 and click Clone to edit.
- Name the Workspace as jsexercises-may5-2016, leave all other settings as default and click Create workspace.
- Open
for-loop-exercises.js
in your project workspace.
You will notice that the function example()
is already created in for-loop-exercises.js
and array-exercises.js
.
These example functions will serve as hints on how to complete the rest of the functions.
Complete all exercises in for-loop-exercises.js
then work on array-exercises.js
.
Remember if you get stuck, ask for help from a mentor!
You are expected to complete and submit these exercises by the end of this week. Don't waste time!
- Do this in the Cloud9 terminal
git add .
git commit -m "jsExercises May-5-2016"
git push origin master
git push origin master:gh-pages
- Go to your Github page and check if the commit is successful.
- Open the Project Submission Form
- Fill in your first and last name
- Submit this project as:
jsExercises May 5th, 2016
- Copy the github project link and paste it into the form and submit!