How is JavaScript different from other programming languages?
JavaScript is dynamically typed, prototype based and driven by an event loop. See how that compares with Java, C++ and Python, with short code examples.
467 posts about JavaScript: questions with answers, tutorials and articles, newest first.
JavaScript is dynamically typed, prototype based and driven by an event loop. See how that compares with Java, C++ and Python, with short code examples.
Learn why JavaScript was created, what its purpose is in the browser and on servers, and which core features to learn first.

Common JavaScript interview questions with clear answers and examples: closures, hoisting, equality, classes, promises and modern syntax.

Build a React Async Select that loads options from an API as the user types, with debouncing, request cancellation and current react-select v5 usage.

A practical introduction to the JavaScript DOM: selecting elements, traversing the tree, changing content, creating nodes and handling events.

Fetch search results from an API as the user types in a React select, using AsyncSelect, fetch, debouncing and request cancellation.

Create a reusable Axios instance with axios.create, use it safely in React with useEffect, and add interceptors and error handling.

Show thumbnails of several selected images before they reach the server, using object URLs or FileReader, with size and type checks.

Show an image preview from a file input with URL.createObjectURL or FileReader, validate type and size, and still check the file on the server.

Add a searchable dropdown to a React app with react-select. See the options format, controlled value, custom filtering and when to use AsyncSelect.

Set up Facebook Login with the JavaScript SDK and verify the access token on your server instead of trusting browser data.

Five kinds of search bar, each with modern accessible HTML and vanilla JavaScript. Learn when to use a simple, autocomplete, advanced, voice or predictive search.

Create a React app with Vite instead of the deprecated Create React App, then write a component, build it and deploy it.

npm is the default package manager for Node.js. Learn the core commands, package.json fields, version ranges, scripts and security basics.

The best ways to show PDFs on your own site, from a plain iframe to PDF.js and paid SDKs, with working code and security advice.

CommonJS, AMD, UMD and ES Modules compared with examples, plus how to mix ESM and CJS in Node.js and which format to choose today.

Build a Node.js web server using only the built-in http module, with routing, HTML and JSON responses and request body handling.

Show the current copyright year automatically with PHP date, JavaScript getFullYear or Node.js EJS, with notes for static sites and year ranges.
Show the current year in your footer without editing it each January. Covers PHP, JavaScript, year ranges and static site builds.

Add the CKEditor 5 rich text editor with the CDN or npm, submit its content with a form and keep it safe. CKEditor 4 is end of life since June 2023.