Lab 5 - Data Types & Variables

Challenge

In this lab, we are getting familiar with JavaScript data types and variables.

Problems

The only issue I encountered while doing this lab was during Task 1. Since I have experience with Python, I kept typing "True" with an uppercase "T" for the boolean value but in JavaScript, "true" is supposed to be completely lowercase. You can see in the screenshot of Task 1 my struggles.

Results

I have a JavaScript file with car variables and I'm outputting that information onto this webpage. I also have a Lab 5 index.html page.

Task 3 - Script Output


Click to view images in a new tab! Image gallery code from w3schools.com.