This repository is a curated collection of my personal notes, code examples, and practical exercises as I learn the fundamentals and core concepts of JavaScript.
Whether you’re a beginner starting your coding journey or someone looking to refresh your knowledge, you’ll find:
- Simple explanations of JavaScript concepts
- Well-commented code snippets, examples and simple projects.
- Step-by-step guides for common tasks
- Tips, tricks, and best practices
Feel free to explore, clone, and use these notes as a reference or learning companion. If you’d like to have your own copy, simply clone this repository:
git clone https://github.com/JS-Bej/JavaScript-Notes.git
cd JavaScript-NotesNote
Check out more JavaScript examples in this JavaScript examples repo!
- Open any browser
- Press
F12→ Console tab - Type:
console.log("Hello JavaScript!")
Here are some VS Code extensions that can simulate a web browser environment:
Most Popular Choice
- Extension ID:
ritwickdey.liveserver - Features:
- Live reload on file changes
- Local development server
- Port customization
- Browser auto-open
- Right-click on HTML file → "Open with Live Server"
- Or click "Go Live" in bottom status bar
Microsoft Official
- Extension ID:
ms-vscode.live-server - Features:
- Built-in browser preview
- Side-by-side editing
- No external browser needed
- Real-time updates
- Open HTML file
Ctrl+Shift+P→ "Live Preview: Show Preview"
In-Editor Browser
- Extension ID:
auchenberg.vscode-browser-preview - Features:
- Embedded Chromium browser
- DevTools integration
- Multiple tabs support
- Debug capabilities
Ctrl+Shift+P→ "Browser Preview: Open Preview"- Navigate to your local file
Quick Launch
- Extension ID:
techer.open-in-browser - Features:
- Right-click to open in browser
- Multiple browser support
- Custom browser paths
- Keyboard shortcuts
- Right-click HTML file → "Open In Default Browser"
- Or use
Alt+Bshortcut
⭐ If you liked this project or just want to save it for later, feel free to star this repository ⭐