Overview

Introduction

Welcome to the Working with Primitive Data Types Practice Lab. In this module, you will be provided with the instructions and devices needed to develop your hands-on skills.

Exam Objectives

The following exam objective is covered in this lab:

2.1 Declare and use variables of primitive data types

Lab Duration

It will take approximately 25 minutes to complete this lab.

Exercise 1 - Working with Primitive Data Types

As you may already know, using HTML, you can create static web pages. However, you can make your web pages’ dynamic and interactive by using JavaScript.

JavaScript is the default scripting language used in HTML pages and it is easy to learn and code. It helps to control the behavioral aspect of web pages. Using JavaScript, you can change the styles, attributes, and HTML element contents. You can show or hide HTML elements in web pages.

You can include JavaScript code within the