JS and Advanced HTML

Tutorial 03 Arrays, Loops, and Conditional Statements

  • Create, populate and reference values from an array
  • Work with array methods
  • Work with For, While, If, If...Else, and multiple conditional statements
  • Loop through the contents of an array
  • Use arrays, loops, and conditional statements to create a table
  • Work with break, continue, and label commands
Tutorial Tutorial 03
Case Study Tutorial 03 Case 4
Case Study Solution Tutorial 03 Case 4

Key Terms

Learned to work with arrays, program loops, and conditional statements to create an application that produces a monthly calendar for any given date.

Session 3.1 created and populated arrays and learned some JS methods to sort and modify arrays

Session 3.2 dealt with program loops and conditional statements.  Learned how to repeat sections of code multiple times in either For or While loops.  Using If, saw how to run commands only when certain conditions are met.

Session 3.3 applied learnings about program loops and conditional statements to complete calendar application.  Concluded with a discussion of the break, continue, and label commands.