Question
Anyone can assist with answering this javascript question please to meet the requirements below? 1. Create a project named lastName-firstName-basic-javascript. 2. Create script.js file 3.
Anyone can assist with answering this javascript question please to meet the requirements below?
1. Create a project named lastName-firstName-basic-javascript. 2. Create script.js file 3. Create 3 variables using the let keyword named [one; two; and give the variables their respective numerical values. E.g. The value of the variable one will be 1. 4. Use variables one and two with the correct operator to create a new variable named resultOne to store the number 3. a. Log the text 1 + 2 is equal to 3. to the console. Be mindful of spaces and the period. b. Use the formula "numOne + numTwo is equal to resultNum to log the answer. i. When logging the string, use the variable one to get the value 1. ii. When logging the string, use the variable two to get the value 2. iii. When logging the string, use the variable resultOne to get the value 3.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started