Skip to content

Instantly share code, notes, and snippets.

View alyrlee's full-sized avatar
🎯
Focusing

Ashley Lee alyrlee

🎯
Focusing
View GitHub Profile
https://repl.it/@AshleyLee/Wiseperson-generator-drill
https://repl.it/@AshleyLee/shouter-drill
https://repl.it/@AshleyLee/text-normalizer-drill
https://repl.it/@AshleyLee/area-of-a-rectangle-drill
https://repl.it/@AshleyLee/temperature-conversion-drill
https://repl.it/@AshleyLee/Is-divisible-drill
https://repl.it/@AshleyLee/Traffic-lights-drill
https://repl.it/@AshleyLee/Error-alert-drill
https://repl.it/@AshleyLee/Array-copying-I-drill-1
https://repl.it/@AshleyLee/Array-copying-II-drill
https://repl.it/@AshleyLee/Squares-with-map-drill
https://repl.it/@AshleyLee/Sort-drill
https://repl.it/@AshleyLee/Filter-drill
https://repl.it/@AshleyLee/Find-drill
https://repl.it/@AshleyLee/min-and-max-without-sort-drill
https://repl.it/@AshleyLee/average-drill-1
https://repl.it/@AshleyLee/fizzbuzz-drill-js
What is scope? Your explanation should include the idea of global vs. block scope.
Understanding scope requires you to understand how the browser reads and understands the code you write.
When you declare a variable in the global scope, it is available everywhere in your code. Any variable that is declared outside of a function in JavaScript has global scope.
When you define a variable inside a function, that means that it is only accessible within the function's block of instructions.
Why are global variables avoided?
@alyrlee
alyrlee / gist:7a1ac178aaeac3492ed2d2ee898598f3
Created August 17, 2019 23:29
Object Basics Assigment
https://repl.it/@AshleyLee/Object-creator-drill
https://repl.it/@AshleyLee/Object-updater-drill
https://repl.it/@AshleyLee/Self-reference-drill
https://repl.it/@AshleyLee/Deleting-keys-drill
https://repl.it/@AshleyLee/Make-student-reports-solution
https://repl.it/@AshleyLee/Enroll-in-summer-school-drill
https://repl.it/@AshleyLee/find-by-id-drill
https://repl.it/@AshleyLee/validate-object-keys-drill
https://repl.it/@AshleyLee/most-frequent-word-analyzer-challenge
@alyrlee
alyrlee / gist:6cea2bccf45b6bb71b63029298431456
Created December 12, 2019 02:00
interactive-web-apps-v1/checkpoint/3
https://repl.it/@AshleyLee/return-of-fizz-buzz
https://repl.it/@AshleyLee/Cat-carousel-jQuery
https://repl.it/@AshleyLee/shopping-list
@alyrlee
alyrlee / gist:d293b9fb13802ca2b993e3d10ce37350
Last active December 29, 2019 15:45
content/assets for your app and photos
○ PALEO APP : Is the Paleolithic Diet suitable for you?
○ Questions/Answers
1. What is the Paleolithic?
1) The Paleolithic period is characterized from the first manufacture of stone tools to shortly before the development of agriculture
2) The Paleolithic period occurred between 0.01 million years ago to 1.6 million years ago.
3) Pleistocene Period
4) A cult of people devoted to literature
2. What is the Paleolithic Diet?
1) Primarily wild game and vegetable foods,
2) The Paleo-diet primarily had two food groups: meat/fish and vegetable/fish and did not include or rarely included grains.