├── LLD-1 (HTML
└── CSS)
│ ├── 1_Web Fundamentals and Introduction to HTML.md
│ ├── 2_HTML (Lists , Tables and Forms).md
│ ├── 3_Introduction to CSS.md
│ ├── 4_CSS Display , Box model and Positioning.md
│ ├── 5_Flexbox and Media Queries.md
│ ├── 6_CSS Grid.md
│ └── 7_CSS (specificity , inheritance , rendering).md
├── LLD-2 (JavaScript)
├── DOM
│ ├── 10_Debouncing and Throttling.md
│ ├── 1_Introduction to DOM.md
│ ├── 2_Event and Event Handling.md
│ ├── 3_Dynamic DOM.md
│ ├── 4_Kanban Board - 1(Design and Structure of the App).md
│ ├── 5_Kanban Board-2 (DOM Manipulation).md
│ ├── 6_ Kanban Board -3(Bussiness Logics & Local Storage).md
│ ├── 7_Kanban Board -4(local storage).md
│ ├── 8_UI Case Studies-1.md
│ └── 9_UI Case Studies-2.md
└── JavaScript
│ ├── JS-1 Introduction to JavaScript.md
│ ├── JS-2 Code Execution and ES6.md
│ ├── JS-3 Functional Programming.md
│ ├── JS-4 OOPS-1.md
│ ├── JS-5 OOPS-2.md
│ ├── JS-6 OOPS-3.md
│ ├── JS-7 Asynchronous Programming-1.md
│ └── JS-8 Asynchronous Programming-2.md
├── LLD-3 (React)
├── React-1 (Introduction and Setup).md
├── React-10 : Asynchronous Redux and Thunk-2.md
├── React-11 : React Redux Interview Question 1.md
├── React-12: React Redux Interview Question 2.md
├── React-2 (State and Props).md
├── React-3 (Components Lists and Froms).md
├── React-4: IMDB Project- Part 1 (HTTP and useEffect).md
├── React-5 : IMDB-Part 2 (Client side Routing and React Router).md
├── React-6: IMDB Part 3 (Pagination Sorting, Searching, filtering).md
├── React-7 IMDB Part 4 (Adding Features to WatchList.md
├── React-8: Prop drilling and State management.md
└── React-9 : Asynchronous Redux and Thunk.md
└── LLD-4 (MERN)
├── FullStack-10: Project Part 6- (Book a Show).md
├── FullStack-11: Project Part 7- (Payment API and Deployment).md
├── FullStack-1: Intro to Backend Dev with Node.js & Express.md
├── FullStack-2: Introduction to Express.md
├── FullStack-3: Intro to MongoDB and Mongoose.md
├── FullStack-4: MVC Architecture and CRUD.md
├── FullStack-5: Project Part 1- (Authentication & Authorization.md
├── FullStack-6: Project Part 2- (Creating User's & Admins Route).md
├── FullStack-7: Project Part 3- (Implementing Theatre API).md
├── FullStack-8: Project Part 4- (Implementing Shows API).md
└── FullStack-9: Project Part 5- (Listing Data from DataBase).md
/LLD-1 (HTML/CSS)/1_Web Fundamentals and Introduction to HTML.md:
--------------------------------------------------------------------------------
1 |
2 | ## Introduction
3 |
4 | When we think about accessing a website, there's more happening behind the scenes than meets the eye. The URL, or Uniform Resource Locator, is what we usually type into the address bar to access a web page. However, the URL represents much more than just a web address. It's a pathway to the actual resource we're trying to access on the internet.
5 |
6 |
7 | ## Process
8 | To break it down, when we enter a URL, the full form of URL comes into play: **Uniform Resource Locator**. This term accurately describes what it does — it locates a specific resource on the internet. This resource could be anything from a text document to a video, and the server's job is to provide us with that resource.
9 |
10 | 
11 |
12 |
13 | A **server**, in this context, isn't a physical location but rather a program running somewhere in the world. This program generates the website content for us. It's important to note that a server is not a database. Rather, it's a responsive entity that resides somewhere in the vast expanse of the digital world. Imagine it as a helpful entity that receives your request and promptly serves you the requested information.
14 |
15 |
16 | ## Dairy Farm Analogy
17 | Here's an analogy to help clarify the roles involved: Imagine you own a dairy farm and have numerous customers who regularly place orders for dairy products. To manage this influx of orders, you have an **operations team** that handles the order-taking process. They ensure that customers' requests are recorded accurately and are then forwarded to the **production team**.
18 |
19 | 
20 |
21 |
22 | In the context of websites, the operations team can be likened to the **DNS (Domain Name System)** system. The DNS system acts like an operations team, taking in requests and translating them into specific IP addresses. Think of DNS as a phonebook for the internet. When you enter a domain name like "scaler.com," the DNS system translates it to an IP address that points to a particular server.
23 |
24 | However, it's important to note that the server itself is not where the data comes from. Instead, it's comparable to the dairy farm in our analogy—it's responsible for assembling and providing the products. In our website world, the actual data resides in a **database**. This database is akin to a **warehouse** for the dairy farm. All the products are stored there, ready to be accessed when needed.
25 |
26 | When a request is made, the server applies specific protocols and data logic to retrieve the necessary information from the database. This process is what ensures that we receive the correct data as a response to our request.
27 |
28 | Bringing it all together, the customers in our dairy farm analogy represent clients or users of the website. The operations team corresponds to the DNS system, efficiently directing requests. The dairy farm itself serves as the server, assembling and providing the desired information. And finally, the warehouse embodies the database, housing all the necessary data for the website.
29 |
30 | In the grand scheme of things, even though we might simply see a website's interface through our browser, there's a complex interplay of components behind every web page that ensures we get the right information at the right time.
31 |
32 |
33 | ### HTML boiler plate code
34 |
35 | #### Code
36 | ```html
37 |
38 |
39 |
40 |
41 |
42 | Bootstrap demo
43 |
44 |
45 |
Hello, world !
46 |
47 |
48 | ```
49 |
50 | ### Structure your code
51 | #### Div
52 | Div elements are often used to structure and style sections of a web page, making it easier to apply CSS styles or JavaScript functionality to specific groups of content.
53 |
54 | #### Code:
55 |
56 | ```html
57 |
58 |
59 |
60 | Basic HTML
61 |
62 |
63 |
64 |
Welcome to Scalar Topics
65 |
66 | We're glad you're here
67 |
68 |
69 |
70 |
71 | ```
72 | #### Output
73 |
74 | 
75 |
76 | #### Section
77 | Sections are used to structure the content of a web page into logical parts, such as chapters, articles, or different sections of a document.
78 |
79 | #### Code:
80 | ```html
81 |
82 |
83 |
84 | Basic HTML
85 |
86 |
87 |
88 |
Section Title
89 |
This is a section of content.
90 |
91 |
92 |
93 |
94 | ```
95 | ### Tags and buttons
96 |
97 | ### Header tags
98 |
99 | Header tags are used to structure the hierarchy of content on a webpage, with `
` typically being the main title and `
`, `
`, and so on used for subsections. They help improve the accessibility and readability of content.
100 |
101 | #### Code:
102 |
103 | ```html
104 |
Main Heading
105 |
Subheading
106 |
Sub-subheading
107 | ```
108 |
109 | #### Output
110 |
111 | 
112 |
113 | #### Anchor tags
114 | Anchor tags are used to link to other web pages or resources, both within the same website or externally to other websites.
115 |
116 | #### Code:
117 | ```html
118 |
119 |
120 |
121 | Basic HTML
122 |
123 |
124 |
125 | Learn autoboxing - in - java
126 |
127 |
128 |
129 |
130 | ```
131 | #### Output
132 |
133 | 
134 |
135 | #### Image tags
136 | Image tags are used to display graphics, photographs, icons, or any other visual content on a webpage. The alt attribute provides alternative text for accessibility and SEO purposes.
137 |
138 | #### Code:
139 | ```html
140 |
141 |
142 |
143 | Basic HTML
144 |
145 |
146 |
147 |
148 |
149 | ```
150 | #### Output
151 | 
152 |
153 | #### Buttons
154 | Button elements are used to create clickable elements that can trigger actions when clicked, such as submitting a form or triggering JavaScript functions.
155 |
156 | #### Code:
157 | ```html
158 |
159 | ```
160 | #### Output
161 | 
162 |
163 |
164 |
--------------------------------------------------------------------------------
/LLD-1 (HTML/CSS)/2_HTML (Lists , Tables and Forms).md:
--------------------------------------------------------------------------------
1 | ## List
2 |
3 | In HTML you can structure your content in a more readable and organized manner using lists. There are two types of lists such as
4 | 1. Ordered lists `` and,
5 | 2. Unordered lists `
`
6 |
7 | ## 1. Ordered List
8 | An ordered list is used to create a list of items that have a specific sequence or order. Each item in an ordered list is typically numbered, and the numbers usually increment in a sequential manner.
9 | Each list item is defined with the `
` (list item) element, this will be more clear further in this article.
10 |
11 | An ordered list can store content in two ways as well:
12 | 1. Non-alphabetically ordered
13 | 2. Alphabetically ordered
14 |
15 | #### 1.1 Ordered List
16 | In the following code you can clearly see that the output generated is not structured alphabetically but listed in an orderely fashion
17 |
18 | #### Pseudocode
19 |
20 | ```html
21 |
22 |
23 |
24 | List Examples
25 |
26 |
27 |
28 |
Banana
29 |
Apple
30 |
Strawberry
31 |
32 |
33 |
34 | ```
35 | #### Output:
36 | 
37 |
38 | ### 1.2. Alphabetical Ordered List
39 | In order to structure list in alphabetical fashion we can use `type = "A"` between `` tags
40 | #### Pseudocode
41 | ```html
42 |
43 |
44 |
45 | Alphabetical Ordered List
46 |
47 |
48 |
` tags for displaying a list with the help of symbols/shapes. In this case we're considering shapes.
64 | #### Pseudocode
65 | ```html
66 |
67 |
68 |
69 | List Examples
70 |
71 |
72 |
73 |
Banana
74 |
Apple
75 |
Strawberry
76 |
78 |
79 | ```
80 | #### Output:
81 | 
82 |
83 |
84 | ## Tables in HTML
85 |
86 | We gnerally tables are used to organize and display data in a structured format. Tables consist of rows and columns, where each cell is capable of storing data in form of text, images, links, or other HTML elements. But in-order to create tables in HTML one needs to be familiar with certain tags and attributes used such as:
87 | 1. `
`: tag represents a table cell that contains data
89 | 3. `
`: tag represents a table row
90 | 4. `
` : tag represents a table header and is used to label columns or provide additional information about the data
91 | 5. ``: tag is used to group the header content in a table. It typically contains one or more `
` elements with `
` elements inside.
92 | 6. `
`: tag groups the body content of the table.
93 | 7. `
`: tag is used to provide a title or caption for the table. It is placed immediately after the opening `
` tag.
94 | 8. **border attribute**: is used to specify the thickness of the border around the table and its cells.
95 |
96 |
97 | #### Pseudocode
98 | ```html
99 |
100 |
101 |
102 | List Examples
103 |
104 |
105 |
106 |
Student's Marksheet
107 |
108 |
Student
109 |
Roll No.
110 |
Marks
111 |
112 |
113 |
114 |
1
115 |
2016911
116 |
98
117 |
118 |
119 |
2
120 |
2015911
121 |
78
122 |
123 |
124 |
125 |
126 |
127 | ```
128 | #### Output:
129 |
130 | 
131 |
132 | ## HTML Forms
133 |
134 | Just like any other forms are used to collect information, in context of HTML it collects user input on a web page. They allow users to enter data, make selections, and submit that information to a server for processing. HTML forms are created using a combination of form-related tags and input elements such as
135 | 1. `