Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

/ / STEP 1 : Update the following variable to print your name using arguments. var name = 'First Last'; console. l o g (

//STEP 1: Update the following variable to print your name using arguments.
var name = 'First Last';
console. log('My name is ', name);
//STEP 2: Update the following variable to print your hometown using string concatenation.
var hometown = 'Durham';
console. log('I am originally from' + hometown +'') ;
//STEP 3: Update the following variables to create a cohesive sentence using string substitution.
var duration =10;
var interval = 'years';
console. log('I have lived in Durham for %d %s.', duration, interval);
//STEP 4: Update the following variable to create a cohesive sentence using template literals.
var destination = 'Durham, NC';
console. log('One day I would like to visit ${destination}.");
//STEP 5: Update the following prompt with 3 Javascript features or capabilities.
console. log(3 things I would like to learn in WEB-115 are: ??
?2+
'??? t1. Item 1?
?2+
-??t2. Item {:2?
?-);
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions