Working with Comparison Operators
Welcome to the "Working with Comparison Operators" Practice Lab. In this module, you will be provided with the instructions and devices needed to develop your hands-on skills.
Already have an account? Sign In »

Introduction
Welcome to the Working with Comparison Operators 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:
- 3.1 Evaluate expressions that use logical and comparison operators
Lab Duration
It will take approximately 15 minutes to complete this lab.
Exercise 1 - Working with Comparison Operators
The comparison operators help to compare the values of the variables, expressions, or results. These operators are also known as relational operators as they determine the relationship between the operands.
In this exercise, you will perform two tasks:
- Task 1 - You will download the Visual Studio Code workspace (ComputeGrade) from the Intranet and open the HTML page named Grade.html in the ComputeGrade workspace.
- Task 2 - You will write JavaScript code to use the comparison operators in the compute grade application.
Learning Outcomes
After completing this exercise, you will be able to:
- Use the comparison operators in JavaScript
See the full benefits of our immersive learning experience with interactive courses and guided career paths.