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
- Sign up for an account on CSX: https://csx.codesmith.io/.
- Complete all of the challenges within the CSX Precourse - Part 2 section.
- Take a screenshot of the page that shows you completed the challenges from CSX.
- Create a
Static
CodeSandbox and name it "JavaScript Lab One." - Upload your CSX screenshot to CodeSandbox.
- Place the screenshot in an
<img>
tag in your CodeSandbox'sindex.html
file. - Submit the link to your CodeSandbox on Canvas.
Deliverables
- A link to a
Static
CodeSandbox containing anindex.html
file with an<img>
tag that contains a screenshot showing completion of the CSX Precourse - Part 2 challenges.