JavaScript Syntax
From the basics of variable declaration to advanced architectural patterns. Select a topic below to see syntax examples and interactive practice.
variables
Implementation guide and practice for variables.
functions
Implementation guide and practice for functions.
arrays
Implementation guide and practice for arrays.
objects
Implementation guide and practice for objects.
loops
Implementation guide and practice for loops.
conditionals
Implementation guide and practice for conditionals.
dom
Implementation guide and practice for dom.
events
Implementation guide and practice for events.
closures
Implementation guide and practice for closures.
promises
Implementation guide and practice for promises.
es6 features
Implementation guide and practice for es6 features.
json
Implementation guide and practice for json.
strings
Implementation guide and practice for strings.
async
Implementation guide and practice for async.
classes
Implementation guide and practice for classes.
error handling
Implementation guide and practice for error handling.
modules
Implementation guide and practice for modules.
regex
Implementation guide and practice for regex.
math
Implementation guide and practice for math.
dates
Implementation guide and practice for dates.
algorithms
Implementation guide and practice for algorithms.
Want to go beyond syntax?
Mastering the rules is just the start. Our full JavaScript course helps you build logical fluency through progressive challenges.
Start Full JavaScript Course