Monthly Archives: April 2023

M1D21: Javascript – Working with Strings

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 … Continue reading

Posted in Study Notes | Tagged , | Leave a comment

M1D20: Javascript Variables

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 … Continue reading

Posted in Study Notes | Tagged , | Leave a comment

M1D19: JavaScript Basics

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

Posted in Study Notes | Leave a comment