JavaScript - Run and Understand
A student guide to JavaScript, the programming language of the web: 121 topics in 24 chapters, from variables to DOM, events, async/await, mini projects, your class programs (popup boxes, form validation, calculator) and AngularJS, plus a complete function reference with 437 built-in functions (Chapter 24). Every topic has a Hindi summary, an explanation, key points, Notes, the code, a live Output and a Console. Topics made from your notes also list the corrections made to the code.
| Button | What it does |
|---|---|
| Output | Shows the page result (for HTML examples) and the Console (console.log output and errors) |
| View Code | Shows the full HTML + JavaScript (read only, colored) |
| Edit | Lets you change the code. Ctrl+Enter also runs it. |
| ▶ Run | Runs your code again and shows the new Output and Console |
| Mobile / Tablet / Desktop | Changes the Output width (for examples with a page) |
| Reset / Copy / Download | Original code back / copy it / save it as an .html file |
| ▶ Playground | Opens a scratchpad where you can write and run any JavaScript. In Chapter 24, Try opens a function in the Playground. |
Chapters
Study tips for students
- Read the Notes, look at the Console output, then open Edit.
- Change one value (a number, a name, a condition) and press Run. Learn by trying and by making mistakes - read the red error messages.
- In a real browser press F12 (or right-click > Inspect) and open the Console tab. You can type JavaScript there directly.
- After each chapter, build something small without looking at the code. Chapter 19 has project ideas.
- In Chapters 20 and 21 (your class programs), read the red Corrections box - these are the most common mistakes students make.
- For the O Level exam: follow the syllabus map chapter by chapter, read every green exam tip, write the Chapter 22 programs by hand, then test yourself with the MCQ quiz in Chapter 23.
Works offline, AngularJS included (except the online fetch() demo). Your edits are not saved after you reload - use Download to keep your file. Code with an endless loop will freeze the page - reload to fix it.
🎓 O Level syllabus map (M2-R5: JavaScript and AngularJS)
आपके O Level नोट्स का हर अध्याय यहाँ है - टॉपिक पर क्लिक करें और कोड चलाकर सीखें।
Each row is one chapter of your NIELIT O Level JavaScript Notes. Click a topic to jump to it.
| Notes chapter | What it covers | Study it here |
|---|
No topic or function matches your search.