Skip to content

Commit 5cebc1c

Browse files
added a readme and hosted on github pages
1 parent eae1a94 commit 5cebc1c

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# JavaScript Interview Notes & Concepts
2+
3+
Welcome to your comprehensive JavaScript interview notes! This repository contains in-depth guides, code examples, and explanations for key JavaScript topics, designed to help you ace interviews and master advanced JS concepts.
4+
5+
---
6+
7+
## 📚 Table of Contents
8+
- [Functions](functions/functions.md)
9+
- [Closures](Closures/README.md)
10+
- [Event Loop](JS%20Interview%20Question/eventloop.md)
11+
- [More Topics Coming Soon!]
12+
13+
---
14+
15+
## 🔥 Highlights
16+
- **Functions:** Function statements, expressions, anonymous/named functions, arrow functions, first-class functions, arguments vs parameters, and more.
17+
- **Closures:** Deep dive into closures, interview Q&A, practical use-cases, memory leaks, and common pitfalls.
18+
- **Event Loop:** Complete guide to the JS event loop, call stack, microtasks/macrotasks, code outputs, and best practices.
19+
20+
---
21+
22+
## 📝 How to Use
23+
- Browse each topic's folder for detailed markdown notes and code examples.
24+
- Use the Table of Contents above or navigate folders directly.
25+
- Practice with the code snippets to reinforce your understanding.
26+
27+
---
28+
29+
## 🌐 Hosting on GitHub Pages
30+
This repository is ready to be hosted as a GitHub Pages site for easy access and sharing.
31+
32+
### Steps to Host:
33+
1. **Rename your main markdown file to `index.md` or create an `index.md` in the root.**
34+
2. **Enable GitHub Pages** in your repository settings:
35+
- Go to Settings > Pages
36+
- Select the branch (usually `main` or `master`) and root (`/`) or `/docs` folder
37+
- Save
38+
3. **Access your site** at `https://<your-username>.github.io/<your-repo-name>/`
39+
40+
### Example `index.md` (already provided below):
41+
42+
---
43+
44+
## 📖 Index
45+
- [Functions](functions/functions.md)
46+
- [Closures](Closures/README.md)
47+
- [Event Loop](JS%20Interview%20Question/eventloop.md)
48+
49+
---
50+
51+
## ⭐ Contributing
52+
Feel free to fork, improve, and share these notes!
53+
54+
---
55+
56+
## License
57+
MIT

index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# JavaScript Interview Notes: Index
2+
3+
Welcome! Use the links below to navigate the main topics:
4+
5+
- [Functions](functions/functions.md)
6+
- [Closures](Closures/README.md)
7+
- [Event Loop](JS%20Interview%20Question/eventloop.md)
8+
9+
---
10+
11+
For best results on GitHub Pages, this file serves as the homepage (`index.md`).

0 commit comments

Comments
 (0)