Skip to content

About

Personal JavaScript study notes covering core language concepts, browser APIs, asynchronous code, and practical examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Study Notes

These are my personal study notes, written while learning and working with JavaScript. They gather the core language ideas and browser APIs I want to understand, practise, and revisit in one place.

Each chapter explains a topic in beginner-friendly language, then builds it up with practical code examples and checks for understanding. Most language examples can be run in a browser console or in a modern JavaScript runtime. Browser chapters say when a page or browser API is needed.

How to use these notes

Start with the first chapter and move through the core topics in order. Run the examples, change their inputs, and write a small variation before moving on. The final chapters collect the code samples and answer the review questions from the full set.

Core chapters

  1. Start with JavaScript - What JavaScript is, where it runs, and how to run a first script.
  2. Values, variables, and types - Declarations, primitive values, references, conversions, and scope basics.
  3. Operators and control flow - Expressions, comparisons, conditions, loops, and readable branching.
  4. Functions and closures - Function declarations, parameters, return values, callbacks, and lexical scope.
  5. Arrays and iteration - Creating, reading, transforming, and iterating over ordered data.
  6. Objects and properties - Object literals, property access, copying, destructuring, and safe updates.
  7. Prototypes and classes - Prototype delegation, class syntax, inheritance, and composition.
  8. Built-in collections - Map, Set, weak collections, and choosing the right data structure.
  9. Strings, numbers, dates, and regular expressions - Common built-ins for text, numeric work, dates, formatting, and pattern matching.
  10. Errors and debugging - Throwing and handling errors, validation, browser tools, and reliable diagnostics.
  11. The DOM and page updates - Finding elements, changing content, creating nodes, and keeping updates accessible.
  12. Events and forms - Event listeners, event flow, form data, validation, and user input.
  13. Asynchronous JavaScript - The event loop, promises, async functions, timers, and cancellation.
  14. JavaScript modules - ES module files, named and default exports, imports, and dynamic loading.
  15. HTTP requests with Fetch - Requests, JSON responses, status handling, cancellation, and practical error paths.
  16. Browser storage and safe patterns - Web storage, persistence limits, safe rendering, and browser security basics.

Reference chapters

  1. All code samples - examples grouped by their source chapter.
  2. Complete questions and answers - review questions with clear answers.

About

This repository is a learning journal and practical reference for my JavaScript study. The examples are kept small enough to run and adapt, with browser-specific details separated from the core language where needed.

Main references

Links

Support

About

Personal JavaScript study notes covering core language concepts, browser APIs, asynchronous code, and practical examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors