Command on your Terminal step by step
Clone the repository
git clone https://github.com/JavaScript-Army/JavaScript-Loop.git
Change your directory
cd javascript-loop
Create & switch branch with your name
git checkout -b branch-name
Create a JavaScript file on your folder
touch index.js
Push your files
git push -u origin your-branch-name
Create a pull request on GitHub
👉Write a JavaScript for loop that will iterate from 0 to 15. For each iteration, it will check if the current number is odd or even, and display a message to the screen.
"0 is even"
"1 is odd"
"2 is even"