Module 1
01 · Setup, runtime & developer workflow
Get comfortable running JavaScript, reading errors, and iterating in the browser.
- FrontendDost JS: JavaScript Home
Open simple lesson
Small example
const message = "JavaScript is running"; console.log(message); console.log(document.title);Try it yourself
Try it: Create a small example for "JavaScript on the web". To guide your practice, compare JavaScript in the browser and on a server and understand how it complements HTML and CSS. Then change one input and explain the result.
- FrontendDost HTML: HTML Web Workers API FrontendDost JS: JavaScript Home
Open simple lesson
Small example
const message = "JavaScript is running"; console.log(message); console.log(document.title);Try it yourself
Try it: Create a small example for "Engines, runtimes & execution contexts". To guide your practice, learn what an engine does and how browsers add the DOM, timers, and network APIs. Then change one input and explain the result.
- FrontendDost HTML: HTML JavaScript Integration FrontendDost JS: JavaScript Where To
Open simple lesson
Small example
<!-- Put this in the page head --> <script src="app.js" defer></script> // app.js runs after HTML parsing.Try it yourself
Try it: Create a small example for "Adding scripts to a page". To guide your practice, use external files, defer or module loading, and avoid blocking HTML parsing. Then change one input and explain the result.
- FrontendDost JS: JavaScript Debugging
Open simple lesson
Small example
const message = "JavaScript is running"; console.log(message); console.log(document.title);Try it yourself
Try it: Create a small example for "Console, breakpoints & DevTools". To guide your practice, inspect values, call stacks, and program state with browser debugging tools. Then change one input and explain the result.
- FrontendDost JS: JavaScript Strict Mode
Open simple lesson
Small example
const message = "JavaScript is running"; console.log(message); console.log(document.title);Try it yourself
Try it: Create a small example for "Strict mode & language versions". To guide your practice, understand strict-mode behavior and modern ECMAScript support. Then change one input and explain the result.
- FrontendDost JS: JavaScript Errors and Exception Handling
Open simple lesson
Small example
const message = "JavaScript is running"; console.log(message); console.log(document.title);Try it yourself
Try it: Create a small example for "Syntax, runtime & logical errors". To guide your practice, read stack traces, distinguish error types, and reproduce failures reliably. Then change one input and explain the result.