Created
August 21, 2019 00:24
-
-
Save joshuaaguilar20/88eef8e691ea14a3531e1027fcedbb60 to your computer and use it in GitHub Desktop.
Lesson Plan Student Deep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Review Functions and String Literals | |
Examples Below | |
*/ | |
function nameOfFunction(input){ | |
//This Defines The Function The Input It takes and the Output it Returns.This Does Not Run the Function | |
console.log(`this is my input: ${input}`); | |
}; | |
//Must Call The Function if the function takes inputs they are called arguments | |
nameOfFunction('This is the text Input I am giving to the function'); | |
//for loop will loop 10 times | |
for(var i = 0; i < 10; i++){ | |
console.log(i) | |
}; | |
//How Could We Take this Loop and Render Images with it ? | |
var domElement = document.getElementById('idOfElementToAppendItemsTo'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment