ALAB 308H.4.1 - JavaScript Conditionals, Loops, Objects, and Arrays


Learning Objectives

In this lab, you'll be completing some challenges using the JavaScript tools you've learned so far to test and reinforce your ability to:

  • Examine array elements.
  • Add to, remove from, and modify arrays.
  • Implement for loops.
  • Implement while loops.
  • Iterate through arrays within loops.
  • Use conditional statements and expressions to create control flow.
  • Examine object properties.
  • Add to, remove from, and modify objects.
  • Iterate through objects within loops.

 CodeSandbox

This lab uses CodeSandbox as one of its tools.

If you are unfamiliar with CodeSandbox, or need a refresher, please visit our reference page on CodeSandbox for instructions on:

  • Creating an Account
  • Making a Sandbox
  • Navigating your Sandbox
  • Submitting a link to your Sandbox to Canvas

Instructions

  1. Sign up for an account on CSX: https://csx.codesmith.io/.
  2. Complete all of the challenges within the CSX Precourse - Part 2 section.
  3. Take a screenshot of the page that shows you completed the challenges from CSX.
  4. Create a Static CodeSandbox and name it "JavaScript Lab One."
  5. Upload your CSX screenshot to CodeSandbox.
  6. Place the screenshot in an <img> tag in your CodeSandbox's index.html file.
  7. Submit the link to your CodeSandbox on Canvas.

Deliverables

  • A link to a Static CodeSandbox containing an index.html file with an <img> tag that contains a screenshot showing completion of the CSX Precourse - Part 2 challenges.

Copyright © Per Scholas 2024