Skip to content

Commit 70d1a77

Browse files
committed
ADD: AdsComponent
1 parent db0f693 commit 70d1a77

File tree

10 files changed

+41
-23
lines changed

10 files changed

+41
-23
lines changed

absolute-beginners/frontend-beginner/html/adding-images.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: "Learn how to bring your website to life with pictures."
77

88
A website without pictures is like a book without a cover, it can be great, but it's much harder to grab someone's attention! Today, you are going to learn how to embed images into your pages.
99

10+
<AdsComponent />
11+
1012
## The "No-Sandwich" Tag
1113

1214
Most tags we've learned (`<h1>`, `<p>`, `<ul>`) are like sandwiches: they have a start and an end.
@@ -22,7 +24,6 @@ To show an image, we need two very important "Attributes" (extra pieces of info)
2224

2325
```html
2426
<img src="https://codeharborhub.github.io/img/codeharborhub-social-card.jpg" alt="codeharborhub social card">
25-
2627
```
2728

2829
### Why is `alt` text so important?
@@ -39,7 +40,6 @@ You can link to any image already on the internet.
3940

4041
```html
4142
<img src="https://codeharborhub.github.io/img/nav-logo.jpg" alt="CodeHarborHub Official Logo">
42-
4343
```
4444

4545
### 2. Using a Local File (Internal)
@@ -48,16 +48,16 @@ If you have a photo on your computer, put it in the same folder as your `index.h
4848

4949
```html
5050
<img src="./my-photo.jpg" alt="Me at the beach">
51-
5251
```
5352

53+
<AdsComponent />
54+
5455
## Changing the Size
5556

5657
Sometimes an image is way too big and takes up the whole screen. You can control the size directly in HTML using `width` and `height`.
5758

5859
```html
5960
<img src="./cool-robot.png" alt="A cool blue robot" width="300" height="200">
60-
6161
```
6262

6363
:::warning Beginner Alert!
@@ -79,7 +79,6 @@ Let’s combine everything! Try to build this in your `index.html`:
7979
<li>Coffee</li>
8080
</ul>
8181
</div>
82-
8382
```
8483

8584
## Summary Checklist

absolute-beginners/frontend-beginner/html/final-project.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Congratulations! You’ve moved from "What is a tag?" to understanding the full
99

1010
Your mission is to create a **Personal Portfolio Page**. This site will tell the world who you are, what you’re learning, and how to contact you.
1111

12+
<AdsComponent />
13+
1214
## The Project Blueprint
1315

1416
Before we code, let's look at the structure we want to achieve. We are going to use **Semantic HTML** to keep it professional.
@@ -49,6 +51,8 @@ Create a final `<section>`.
4951

5052
Add a `<footer>` at the very bottom with a copyright notice: `&copy; 2026 [Your Name]`.
5153

54+
<AdsComponent />
55+
5256
## The "Final Boss" Code Template
5357

5458
If you get stuck, here is a structure to guide you. Try to fill in the blanks with your own info!
@@ -103,10 +107,9 @@ If you get stuck, here is a structure to guide you. Try to fill in the blanks wi
103107

104108
</body>
105109
</html>
106-
107110
```
108111

109-
---
112+
<AdsComponent />
110113

111114
## How to Make it "Your Own"
112115

absolute-beginners/frontend-beginner/html/forms-and-inputs.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ Up until now, your website has been a "One-Way Street"—you talk, and the user
88

99
Whether it’s a Google search bar or a Facebook login, they all use the same HTML tags you're about to learn.
1010

11+
<AdsComponent />
12+
1113
## 1. The Container: The `<form>` Tag
1214

1315
Just like a list needs a `<ul>` "box," all your inputs need to live inside a `<form>` tag.
1416

1517
```html
1618
<form> </form>
17-
1819
```
1920

2021
## 2. The Text Box: `<input>`
@@ -32,7 +33,6 @@ The `<input>` tag is the most versatile tag in HTML. By changing its `type`, you
3233
```html
3334
<input type="text" placeholder="Enter your name">
3435
<input type="password" placeholder="Password">
35-
3636
```
3737

3838
## 3. The Label: `<label>`
@@ -42,13 +42,14 @@ Every input needs a label. Without a label, a user won't know what the box is fo
4242
```html
4343
<label for="username">Username:</label>
4444
<input type="text" id="username" name="username">
45-
4645
```
4746

4847
:::tip Why use Labels?
4948
If you click on the text of a label, the browser automatically puts the cursor inside the input box. It’s great for accessibility and mobile users!
5049
:::
5150

51+
<AdsComponent />
52+
5253
## 4. Choices: Checkboxes and Radios
5354

5455
Sometimes you want users to pick from options rather than typing.
@@ -64,7 +65,6 @@ Sometimes you want users to pick from options rather than typing.
6465
<p>Choose your favorite:</p>
6566
<input type="radio" id="coffee" name="drink"> <label for="coffee">Coffee</label>
6667
<input type="radio" id="tea" name="drink"> <label for="tea">Tea</label>
67-
6868
```
6969

7070
## 5. The "Go" Button: `<button>`
@@ -73,7 +73,6 @@ A form is useless if you can't submit it!
7373

7474
```html
7575
<button type="submit">Send Message 🚀</button>
76-
7776
```
7877

7978
## Practice: Build a "Join the Club" Form
@@ -95,9 +94,10 @@ Copy this into your `index.html` to see a full, working form structure:
9594

9695
<button type="submit">Sign Me Up!</button>
9796
</form>
98-
9997
```
10098

99+
<AdsComponent />
100+
101101
## Important Beginner Tip
102102

103103
In 2026, when you click "Submit," the page will usually refresh. Later, when we learn **JavaScript**, we will learn how to catch that data and send it to a database without the page refreshing!

absolute-beginners/frontend-beginner/html/hyperlinks.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ If HTML is the skeleton, and images are the skin, then **Hyperlinks** are the ne
99

1010
In HTML, we create links using the **Anchor Tag**: `<a>`.
1111

12+
<AdsComponent />
13+
1214
## The Anatomy of a Link
1315

1416
To make a link, you need a destination. We use the `href` attribute (which stands for **H**ypertext **REF**erence) to tell the browser where to go.
1517

1618
```html
1719
<a href="https://www.google.com">Click here to go to Google</a>
18-
1920
```
2021

2122
### How to read this:
@@ -35,7 +36,6 @@ Use these when you want to send someone to a completely different website.
3536

3637
```html
3738
<a href="https://codeharborhub.github.io" target="_blank">Visit CodeHarborHub</a>
38-
3939
```
4040

4141
### 2. Internal Links (Moving between your own pages)
@@ -44,7 +44,6 @@ If you have a file named `about.html` in the same folder as your `index.html`, y
4444

4545
```html
4646
<a href="about.html">Learn more about me</a>
47-
4847
```
4948

5049
## Creative Linking: Images as Links
@@ -55,9 +54,10 @@ You aren't limited to just linking text! You can wrap the `<a>` tag around an `<
5554
<a href="https://youtube.com">
5655
<img src="youtube-logo.png" alt="Watch my videos on YouTube" width="50">
5756
</a>
58-
5957
```
6058

59+
<AdsComponent />
60+
6161
## The "Dead End" (Avoid this!)
6262

6363
Have you ever clicked a link and it took you nowhere? Beginners often forget to include the `http://` or `https://` for external sites.
@@ -78,7 +78,6 @@ Try to add a "Menu" to the top of your `index.html` file so users can find their
7878

7979
<h1>Welcome to my Homepage</h1>
8080
<p>Feel free to explore the links above!</p>
81-
8281
```
8382

8483
:::info Why "Anchor"?

absolute-beginners/frontend-beginner/html/intro-to-html.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Welcome to the **HTML** tutorial at CodeHarborHub! If you've ever wanted to buil
1010
1111
**HTML (HyperText Markup Language)** is the very first step for every developer. It is the raw structure the bones of every website on the planet.
1212

13+
<AdsComponent />
14+
1315
## Why HTML First?
1416

1517
Before you can make a site look "cool" with **CSS** or "smart" with **JavaScript**, you must give it a **structure**.
@@ -45,6 +47,8 @@ To follow along with these tutorials, you only need two things:
4547
You don't need a powerful computer to be a web developer. If your computer can run a web browser, it can run HTML!
4648
:::
4749

50+
<AdsComponent />
51+
4852
## Ready to Start?
4953

5054
Don't just read **build**. We have designed these tutorials to be hands-on. By the end of this tutorials, you will have built your very first **Personal Portfolio Page**.

absolute-beginners/frontend-beginner/html/lists-and-orders.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: "Learn how to create bullet points and numbered lists in HTML."
77

88
Imagine trying to read a grocery list where all the items were just jammed into one long sentence. *Messy, right?* In HTML, we have two main ways to organize items so they are easy to read. Whether you are listing your favorite games or the steps to bake a cake, there is a tag for that!
99

10+
<AdsComponent />
11+
1012
## 1. The "Random" List (Unordered)
1113

1214
If the order doesn't matter (like a shopping list), we use an **Unordered List**.
@@ -21,7 +23,6 @@ If the order doesn't matter (like a shopping list), we use an **Unordered List**
2123
<li>Oat Milk</li>
2224
<li>Coffee Beans</li>
2325
</ul>
24-
2526
```
2627

2728
:::tip Pro Tip
@@ -42,9 +43,10 @@ If the order **does** matter (like a recipe or a Top 10 list), we use an **Order
4243
<li>Patience</li>
4344
<li>Searching on Google</li>
4445
</ol>
45-
4646
```
4747

48+
<AdsComponent />
49+
4850
## Building a "Survival Guide"
4951

5052
Let's combine everything we've learned so far. Copy this into your `index.html`:
@@ -65,7 +67,6 @@ Let's combine everything we've learned so far. Copy this into your `index.html`:
6567
<li>Canned Beans</li>
6668
<li><em>Extra Batteries</em></li>
6769
</ul>
68-
6970
```
7071

7172
## The "Parent & Child" Concept

absolute-beginners/frontend-beginner/html/semantic-html.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Imagine walking into a supermarket where none of the aisles have signs. The milk
88

99
**Semantic HTML** is like putting signs on your aisles. It tells the browser and search engines (like Google) exactly what each part of your webpage is.
1010

11+
<AdsComponent />
12+
1113
## What is "Semantic"?
1214

1315
The word **Semantic** simply means "relating to meaning."
@@ -41,6 +43,8 @@ You might think, *"But my site looks the same whether I use a div or a header!"*
4143
2. **SEO (Search Engine Optimization):** Google’s bots read your site. If they see an `<article>` tag, they know that’s the important stuff to show in search results!
4244
3. **Cleaner Code:** It’s much easier to read `<header>` than to see a sea of 100 `<div>` tags.
4345

46+
<AdsComponent />
47+
4448
## Practice: Upgrade Your Skeleton
4549

4650
Let's take our basic skeleton and make it professional. Copy this into your `index.html`:
@@ -82,7 +86,6 @@ Let's take our basic skeleton and make it professional. Copy this into your `ind
8286

8387
</body>
8488
</html>
85-
8689
```
8790

8891
## Summary Checklist

absolute-beginners/frontend-beginner/html/text-power.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Now that you have your **Skeleton** ready, it’s time to add some content! In t
99

1010
In HTML, we use specific tags to tell the browser: *"This is important!"* or *"This is just a regular sentence."*
1111

12+
<AdsComponent />
13+
1214
## 1. The Heading Hierarchy (`<h1>` to `<h6>`)
1315

1416
Think of headings like a **Newspaper**. You have the big front-page headline, sub-headlines, and smaller section titles.
@@ -49,9 +51,10 @@ Sometimes you want to emphasize a word. In 2026, we use these tags to make our t
4951

5052
```html title="index.html"
5153
<p>I am learning HTML at <strong>CodeHarborHub</strong> and it is <em>awesome</em>!</p>
52-
5354
```
5455

56+
<AdsComponent />
57+
5558
## Let's Build a "News Article"
5659

5760
Copy this code into your `index.html` file (inside the `<body>` tags) to see how a real structure looks:

absolute-beginners/frontend-beginner/html/the-skeleton.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ If you opened up a car, you’d see a chassis. If you looked at a house, you’d
99

1010
Without this skeleton, the browser (Chrome or Safari) won't know how to read your code properly!
1111

12+
<AdsComponent />
13+
1214
## The "Must-Have" Boilerplate
1315

1416
Every time you start a new project, you begin with these exact lines of code. Think of it as the "Startup Sequence" for a website.
@@ -61,6 +63,8 @@ This part is **invisible** to your visitors. It contains:
6163

6264
***This is the most important part!*** Everything you put here text, images, buttons, videos, is what the user actually sees.
6365

66+
<AdsComponent />
67+
6468
## Interactive Exercise: Your Turn!
6569

6670
1. Open **VS Code** (or any text editor).

absolute-beginners/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Welcome to the **CodeHarborHub** family! You are standing at the starting line o
99

1010
In this track, we don't just teach you how to "copy and paste" code. We teach you how to **think like a developer.**
1111

12+
<AdsComponent />
13+
1214
## Your Learning Roadmap
1315

1416
We have broken down the massive world of web development into three simple, bite-sized stages. Think of it like building a house:

0 commit comments

Comments
 (0)