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
- Host: GitHub
- URL: https://github.com/dracula27/loops-practice
- Owner: DrAcula27
- Created: 2022-11-18T21:51:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T23:15:28.000Z (over 3 years ago)
- Last Synced: 2025-01-18T05:29:12.306Z (over 1 year ago)
- Topics: css, es6, git, github, html, javascript
- Language: JavaScript
- Homepage: https://dracula27.github.io/loops-practice/
- Size: 219 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# loops-practice
Per Scholas - Week1 - JS and CSS Concepts - Assignment: Loops Practice
- Create Git / Github Repo.
- Write a for loop that logs 0-15.
- Write a for loop that counts from 15-0.
- 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.
- git add, commit, push.
- 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”.
- Write a loop that logs all even numbers from 0-700.
- Write a loop that logs all odd numbers from 0-700.
- 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!”
- git add, commit, push.
I added some HTML and CSS so I could make a GitHub page for this repo.