[SOLVED] JavaScript Code

20.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

Write the JavaScript Code to achieve the following:1. Declare three variables—one number and two strings. The number should be 120 and the strings should be “5150” and “Two Hundred Thirty”.
2. Create a new array with three numbers and two strings or words.
3. Use the alert () function to display the following string, properly escaped: Steve’s response was “Cool!”.
4. Create a loop statement.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.