Date: April 13, 2023
Transform and Manipulate Strings .length – counts the number of characters of a string including the space strings are treated as what are called objects, and different objects have different properties. A property of an object can be accessed by using a dot (.). A property is like a variable as it holds information. Like … Read More
Date: April 13, 2023
Variable Declaring a Variable In this program, the word “message” is now a reference to the value “Hello!”, so whenever I use “message” in the program, as long as I don’t change its value, it will always mean, “Hello!”. Reassigning the Variable We don’t use var again to reassign a variable, it’s only used when … Read More
Date: April 10, 2023
Syntax Program Console Alert JavaScript Statement console.log() document.write() Add JavaScript to HTML JavaScript Engine Running the Program Linking a JavaScript file to an HTML file Debug JavaScript in the Console