Skip to content

Instantly share code, notes, and snippets.

@joshuaaguilar20
Created August 21, 2019 00:24
Show Gist options
  • Save joshuaaguilar20/88eef8e691ea14a3531e1027fcedbb60 to your computer and use it in GitHub Desktop.
Save joshuaaguilar20/88eef8e691ea14a3531e1027fcedbb60 to your computer and use it in GitHub Desktop.
Lesson Plan Student Deep
/*
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