An open API service indexing awesome lists of open source software.

https://github.com/dracula27/loops-practice

Per Scholas - Week1 - JS&CSS Concepts - Assignment: Loops Practice
https://github.com/dracula27/loops-practice

css es6 git github html javascript

Last synced: 2 months ago
JSON representation

Per Scholas - Week1 - JS&CSS Concepts - Assignment: Loops Practice

Awesome Lists containing this project

README

          

# loops-practice

Per Scholas - Week1 - JS and CSS Concepts - Assignment: Loops Practice



  1. Create Git / Github Repo.

  2. Write a for loop that logs 0-15.

  3. Write a for loop that counts from 15-0.

  4. Make variable laps = 0. Write a for loop that logs (“that’s another lap!”) and adds 1 to the laps variable. AFTER the loop, log laps.

  5. git add, commit, push.

  6. Make variable age. Make a loop from 0-100. In every loop check if i == age, if so log something, else say “age doesn’t match”.

  7. Write a loop that logs all even numbers from 0-700.

  8. Write a loop that logs all odd numbers from 0-700.

  9. Write a loop with some “if else” statements. The loop should start at 1900 and go to 1949 and log when things were invented. For example when i = 1902 the code should log “it is 1902 - the teddy bear is invented!”

  10. git add, commit, push.


I added some HTML and CSS so I could make a GitHub page for this repo.