In this presentation, attendees will gain a better understanding of JavaScript arrays, loops, and functions.
You may choose to clone this repo to work on your local machine, use your own code editor, or create a CodePen account to code along during the presentation.
Navigate to or create a directory that you would like to clone the repo to and run the following commands in your terminal.
git clone https://github.com/drteresavasquez/Presentation-Arrays-Loops-and-Functions.git
cd Presentation-Arrays-Loops-and-Functions
Sample code for arrays:
let movies = [
"Star Wars",
"Twilight",
"Harry Potter",
"Hunger Games",
"Black Panther"
];
movies.push("Mean Girls");
Sample code for loops:
for (let i = 1; i < 6; i++) {
console.log(`${i} Kitty: =^.^=`);
}
Sample code for functions:
let ourFirstFunction = function(){
console.log("Hello World!");
}
// Call the function
ourFirstFunction();
- See Slide Presentation
- Check out the Table of Contents - Open your browser's console to view code
- W3schools Array Methods
- MDN Arrays
- Javascript for Kids: A favorite book of mine becasue it breaks down each element of JavaScript for beginners in an easy way to grasp.
Hi! I am Dr. T...
The code is strong with this Gryffindor!
I am a graduate of Nashville Software School (NSS), Trevecca Nazarene University, and MTSU. I have served as a Front-End Web Developer for a local institution for 9 years and in the IT Strategic field for over 15 years. I am a currently a professor and doctoral advisor at a local institution and teach at NSS.
I LOVE to read and volunteer in the community especially with organizations that focus on leveling the playing field for women, minorities and neurodiverse minds in tech.