console.log("Hello World!\n==========\n"); console.log( "Follow the steps in the README.md file to complete the exercises:\n==========\n" ); // Exercise 1 const firstName = "William"; let lastName; var age; // Exercise 2 lastName = "Street"; age = 36; // Exercise 3 let language = "JavaScript"; let createdYear = 1995; let isCaseSensitive = true; //Exercise 4 let price = 19.99; let isOnSale = false; let salePercentage = 15; let stock = 0; let inStock = false; let selectedSize = "M"; //Exercise 5 let title = '"Name of the Wind"'; let author = '"Patrick Rothfuss"'; let pageCount = 722; let bookmark = 456; let hasRead = true; console.log(`${firstName}, ${lastName}, ${age}, ${language}, ${createdYear}, ${isCaseSensitive}`); console.log(`${price}, ${isOnSale}, ${salePercentage}, ${stock}, ${inStock}, ${selectedSize}`); console.log(`${title}, ${author}, ${pageCount}, ${bookmark}, ${hasRead}`); ///////////////////////////////////////////////////////////////////////////////////////////////////// // Exercise 3: Declaring and Assigning Values to Variables // Steps are to be completed in the app.js file. // Declare a variable named language using the let keyword, and assign it the value "JavaScript" (string) // Declare a variable named createdYear using the let keyword, and assign it the value 1995 (number) // Declare a variable named isCaseSensitive using the let keyword, and assign it the value true (boolean) /////////////////////////////////////////////////////////////////////////////////////////////////////// // Exercise 4: Declaring and Assigning Values to Variables x2 // Steps are to be completed in the app.js file. // Declare a variable named price using the let keyword, and assign it the value 19.99 (number) // Declare a variable named isOnSale using the let keyword, and assign it the value false (boolean) // Declare a variable named salePercentage using the let keyword, and assign it the value 15 (number) // Declare a variable named stock using the let keyword, and assign it the value 0 (number) // Declare a variable named inStock using the let keyword, and assign it the value false (boolean) // Declare a variable named selectedSize using the let keyword, and assign it the value "M" (string) //////////////////////////////////////////////////////////////////////////////////////////////////////// // Exercise 5: Declaring and Assigning Values to Variables x3 // Steps are to be completed in the app.js file. // Declare a variable named title using the let keyword, and assign it the value "Name of the Wind" (string) // Declare a variable named author using the let keyword, and assign it the value "Patrick Rothfuss" (string) // Declare a variable named pageCount using the let keyword, and assign it the value 722 (number) // Declare a variable named bookmark using the let keyword, and assign it the value 456 (number) // Declare a variable named hasRead using the let keyword, and assign it the value true (boolean)