Search⌘ K

Code Conventions

Explore fundamental JavaScript code conventions used in this course, including writing and running interactive code blocks, using console.log for output, and handling prompts and alerts. Gain practical experience with the built-in editors and understand how HTML, CSS, and JavaScript work together in web development without needing any downloads or setup.

Let's go over some of the code conventions we'll use in this course.

Dive right in!

This course requires no downloads, configuration, or setup. Everything you need is built into the lessons using code editors like the one below. You can just dive right in!

Hit “Run” below. It’s that simple.

Javascript (babel-node-es2024)
// You can type and run code here! Try clicking
// the "Run" button below.
console.log("This will print out!");

This code block is interactive. Change ...