Animations

API

Arrays

Async

Basics

Challenges

Classes

Console

Dates

Debugging

DOM Elements

DOM Methods

DOM Navigation

DOM Properties

Event Listeners

Flow Control

Forms

Functions

Global Functions

JSON

Keywords

Libraries (3rd party)

Math

Modules

Objects

Snippets

String

Types

Widgets

Window Object

JavaScript - Basics

Here are a few ways to debug:

  • Setting break points in the Developer tools of the browser
  • Writing into the browser console, using console.log()
  • Using the debugger command in your code
  • Writing into an alert box, using window.alert()
  • Writing into the HTML output using document.write()
  • Writing into an HTML element, using innerHTML