
Explore the foundations of JavaScript as a programming language and learn how to implement JavaScript to add interactivity to web applications.
Learn to use the browser console to test JavaScript, view errors, and inspect script outputs in dev tools and the mini console via the drawer to test functionality.
Explore using built-in browser tools to log data with console.log and display messages with alert. Learn to access the console object and pass arguments for debugging.
Create a new project folder with index.html, main.css, and main.js, then link the files in html. Load the page and verify with dev tools, logging a variable to the console.
Learn how to declare and use variables in JavaScript to store data and reference it later. Assign values with the assignment operator and end statements with a semicolon.
Learn to use variables and an if statement to add conditional logic, compare with strict equality (===), and control output through console logs.
Explore conditional branching with if, else if, and else to handle multiple conditions, printing personalized messages like hello john or hello chris based on the name variable.
Modify the logic to print a message only when the name is not John by using the not equal operator, and test with Sean or Chris to see the output.
Apply if statements to compare numbers with 20, using else if for less than 20 and else for equal to 20, demonstrating greater than, less than, or equal to 20.
Explore using the less than or equal to and greater than or equal to operators in JavaScript to drive conditional logic with example cases and console outputs.
Discover how to declare strings with single or double quotes, concatenate with plus, and access characters using dot notation, zero-based indexing, and the length property.
Learn number literals and decimals, use addition, subtraction, multiplication, and division, and follow the order of operations with parentheses to evaluate expressions like five plus seven divided by two.
Learn how to work with boolean primitives in JavaScript, invert booleans with the not operator, and store the result of an equivalence check to use in if statements.
Explore the value primitives no and undefined in JavaScript, including how a no value can be assigned as a keyword and how undefined signifies an uninitialized value in conditional logic.
Explore how conditionals evaluate to true or false by using equality checks and advanced logic operators—or, and, not—to build expressions with variables A, B, and C.
Celebrate completing this refactor module and continue learning with us. Explore our full stack JavaScript bootcamp to deepen coding skills, build connections, and advance your software development career.
JavaScript (also known as JS) is one of the core pillars in developing for the modern web. It allows you to define how users can interact with your applications on the client-side and can also be used to define the server code.
Javascript is one of the major components of building web applications. We have HTML for deciding what the content is, we have CSS to decide what the content looks like, and then we have JavaScript to provide interactivity to our users.
JavaScript is still a programming language, so in this course we’ll introduce you to the basics and show you how to get started integrating JS in your applications!
Course Includes:
What You'll Learn: