Skip to content

Commit 3805286

Browse files
committed
docs: fix image path and revert to light theme
1 parent bac0130 commit 3805286

6 files changed

Lines changed: 118 additions & 1 deletion

File tree

docs/05-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It specifies the event state, which includes information such as the location of
1313
## 11.14.2 Event Bubbling
1414
Event bubbling is mechanism that allows you to specify a common event handler for all child elements. This means that the parent element handles all the events generated by the child elements. For example, consider a Web page that consists of a paragraph and a table. The paragraph consists of multiple occurrences of italic text. Now, you want to change the color of each italic text of a paragraph when the user clicks a particular button. Instead of declaring an event handler for each italic text, you can declare it within the P element. This allows you to apply colors for all italic text within the paragraph. This helps in reducing the development time and efforts since it minimizes the code.
1515

16-
![Figure 11.11: Event Bubbling](./images/EventBubbling.drawio.png)
16+
![Figure 11.11: Event Bubbling](images/EventBubbling.drawio.png)
1717

1818
## 11.14.3 Life Cycle of on Event
1919
An event's life starts when the user preforms an action to interact with the Web page. It finally ends when the event handler provides a response to the user's action.

docs/README.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# JavaScript Learning Journey
2+
3+
A comprehensive guide for learning JavaScript fundamentals through an organized, step-by-step approach.
4+
5+
## Table of Contents
6+
7+
1. **[Introduction to JavaScript](01-introduction.md)**
8+
9+
* What is scripting?
10+
* Client-side vs. Server-side scripting
11+
* History and Versions of ECMAScript
12+
13+
2. **[Variables & Scripting Basics](02-variables.md)**
14+
15+
* Using the `<script>` tag
16+
* Working with `var`, `let`, and `const`
17+
* Naming rules and best practices
18+
19+
3. **[Data Types & Formatting](03-data-types.md)**
20+
21+
* Primitive and Composite Data Types
22+
* Escape sequences for formatted output
23+
24+
4. **[Built-in Functions](04-functions.md)**
25+
26+
* Commonly used functions like `alert`, `prompt`, and `parseInt`
27+
28+
5. **[Events & Interactivity](05-events.md)**
29+
30+
* Event Handling and Bubbling
31+
* Understanding the event life cycle
32+
33+
6. **[Mouse Events](06-mouse-events.md)**
34+
35+
* `onclick`, `onmouseover`, `onmousemove`
36+
* Tracking cursor position
37+
38+
7. **[Increment & Decrement Operators](07-increment-decrement.md)**
39+
40+
* Pre-increment vs Post-increment
41+
* Understanding operator precedence
42+
43+
8. **[Control Flow: Loops](08-loops.md)**
44+
45+
* `for`, `while`, and `do...while` loops
46+
* Choosing the right loop for your task
47+
48+
9. **[Control Flow: If-Else](09-if-else.md)**
49+
50+
* `if`, `else`, and `else if` ladder
51+
* Nested conditions and Ternary Operator
52+
53+
10. **[Control Flow: Switch Case](10-switch-case.md)**
54+
55+
* `switch` statement syntax
56+
* `case`, `break`, and `default`
57+
58+
11. **[String Methods](11-string-methods.md)**
59+
60+
* Most commonly used methods like `slice`, `replace`, `split`, etc.
61+
* Understanding string immutability
62+
63+
### Reference
64+
* **[Operators Reference](operators.md)**
65+
66+
---
67+
68+
## How to Use This Guide
69+
70+
* **Sequential Learning:** Section 1 se start karein aur step-by-step aage barhein
71+
* **Quick Reference:** Kisi bhi topic par direct jump karne ke liye links use karein
72+
* **Hands-on Practice:** Har section me simple aur practical JavaScript examples hain
73+
74+
## ✅ Prerequisites
75+
76+
HTML aur CSS ki basic understanding honi chahiye taa ke JavaScript concepts easily samajh aa saken.

docs/_sidebar.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* [Home](README.md)
2+
* [Introduction](01-introduction.md)
3+
* [Variables](02-variables.md)
4+
* [Data Types](03-data-types.md)
5+
* [Built-in Functions](04-functions.md)
6+
* [Events](05-events.md)
7+
* [Mouse Events](06-mouse-events.md)
8+
* [Increment/Decrement](07-increment-decrement.md)
9+
* [Loops](08-loops.md)
10+
* [If-Else](09-if-else.md)
11+
* [Switch Case](10-switch-case.md)
12+
* [String Methods](11-string-methods.md)
13+
* [Operators Reference](operators.md)
File renamed without changes.

docs/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>JavaScript Journey</title>
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
8+
<meta name="description" content="A comprehensive guide for learning JavaScript fundamentals.">
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
10+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
11+
</head>
12+
13+
<body>
14+
<div id="app"></div>
15+
<script>
16+
window.$docsify = {
17+
name: 'JS Journey',
18+
repo: 'ChAbdulWahhab/Javascript-Journey',
19+
loadSidebar: true,
20+
subMaxLevel: 2,
21+
auto2top: true
22+
}
23+
</script>
24+
<!-- Docsify v4 -->
25+
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
26+
</body>
27+
28+
</html>

0 commit comments

Comments
 (0)