Skip to content

Commit a6e5172

Browse files
moT01jdwilkin4
andauthored
feat(curriculum): add second lecture block (freeCodeCamp#56639)
Co-authored-by: Jessica Wilkins <[email protected]>
1 parent 1f34170 commit a6e5172

File tree

13 files changed

+1277
-1
lines changed

13 files changed

+1277
-1
lines changed

client/i18n/locales/english/intro.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,10 @@
17141714
"For this lab, you will create a web page of your favorite recipe."
17151715
]
17161716
},
1717-
"gwyd": { "title": "4", "intro": [] },
1717+
"lecture-html-fundamentals": {
1718+
"title": "HTML Fundamentals",
1719+
"intro": ["Learn about HTML fundamentals in these lecture videos."]
1720+
},
17181721
"lab-travel-agency-page": {
17191722
"title": "Build a Travel Agency Page",
17201723
"intro": [
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Introduction to the HTML Fundamentals
3+
block: lecture-html-fundamentals
4+
superBlock: front-end-development
5+
---
6+
7+
## Introduction to the HTML Fundamentals
8+
9+
Learn HTML fundamentals in these lecture videos.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "HTML Fundamentals",
3+
"isUpcomingChange": true,
4+
"dashedName": "lecture-html-fundamentals",
5+
"order": 4,
6+
"superBlock": "front-end-development",
7+
"helpCategory": "HTML-CSS",
8+
"blockType": "lecture",
9+
"challengeOrder": [
10+
{
11+
"id": "670803abcb3e980233da4768",
12+
"title": "What Are Divs and Spans, and When Should You Use Them?"
13+
},
14+
{
15+
"id": "6708143cab2b583ecd3324f5",
16+
"title": "What Are Attributes, and How Do They Work?"
17+
},
18+
{
19+
"id": "6708382cf088b216580a9ff1",
20+
"title": "What Are IDs and Classes, and When Should You Use Them?"
21+
},
22+
{
23+
"id": "67083868d5fdcb17bf8c14bd",
24+
"title": "What Are HTML Entities, and What Are Some Common Examples?"
25+
},
26+
{
27+
"id": "670838977810401844af6fe0",
28+
"title": "What Is the Role of the Link Element in HTML, and How Can It Be Used to Link to External Stylesheets?"
29+
},
30+
{
31+
"id": "670838b10ee87a18e5faff62",
32+
"title": "What Is the Role of the Script Element in HTML, and How Can It Be Used to Link to External JavaScript Files?"
33+
},
34+
{
35+
"id": "670838e914096b194b0c51aa",
36+
"title": "What Is an HTML Boilerplate, and Why Is It Important?"
37+
},
38+
{
39+
"id": "670839051794aa19fcef6dc8",
40+
"title": "What Is UTF-8 Character Encoding and Why Is It Needed?"
41+
},
42+
{
43+
"id": "67083952f800051a8a21fcfd",
44+
"title": "What Is the Role of the Meta Description, and How Does It Affect SEO?"
45+
},
46+
{
47+
"id": "6708396caa00e11b597b3365",
48+
"title": "What Is the Role of Open Graph Tags, and How Do They Affect SEO?"
49+
}
50+
]
51+
}
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
id: 670803abcb3e980233da4768
3+
title: What Are Divs and Spans, and When Should You Use Them?
4+
challengeType: 11
5+
videoId: nVAaxZ34khk
6+
dashedName: what-are-divs-and-spans
7+
---
8+
9+
# --description--
10+
11+
Watch the video and answer the questions below.
12+
13+
# --questions--
14+
15+
## --text--
16+
17+
What type of element is a `div` element?
18+
19+
## --answers--
20+
21+
An inline-level element.
22+
23+
### --feedback--
24+
25+
Think about how a `div` element occupies space.
26+
27+
---
28+
29+
An inline-block element.
30+
31+
### --feedback--
32+
33+
Think about how a `div` element occupies space.
34+
35+
---
36+
37+
A block-inline element.
38+
39+
### --feedback--
40+
41+
Think about how a `div` element occupies space.
42+
43+
---
44+
45+
A block-level element.
46+
47+
## --video-solution--
48+
49+
4
50+
51+
## --text--
52+
53+
What kind of an element is a `span` element?
54+
55+
## --answers--
56+
57+
An inline-level element.
58+
59+
### --feedback--
60+
61+
Focus on how a `span` element behaves within text or other elements.
62+
63+
---
64+
65+
An inline element.
66+
67+
---
68+
69+
A block element.
70+
71+
### --feedback--
72+
73+
Focus on how a `span` element behaves within text or other elements.
74+
75+
---
76+
77+
A block-level element.
78+
79+
### --feedback--
80+
81+
Focus on how a `span` element behaves within text or other elements.
82+
83+
## --video-solution--
84+
85+
2
86+
87+
## --text--
88+
89+
What should you group using a `div` element?
90+
91+
## --answers--
92+
93+
Block-level content and larger sections.
94+
95+
---
96+
97+
Inline texts and smaller sections.
98+
99+
### --feedback--
100+
101+
Think about related and larger content.
102+
103+
---
104+
105+
The whole HTML content.
106+
107+
### --feedback--
108+
109+
Think about related and larger content.
110+
111+
---
112+
113+
A small chuck of text.
114+
115+
### --feedback--
116+
117+
Think about related and larger content.
118+
119+
## --video-solution--
120+
121+
1
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
id: 6708143cab2b583ecd3324f5
3+
title: What Are Attributes, and How Do They Work?
4+
challengeType: 11
5+
videoId: nVAaxZ34khk
6+
dashedName: what-are-attributes
7+
---
8+
9+
# --description--
10+
11+
Watch the video and answer the questions below.
12+
13+
# --questions--
14+
15+
## --text--
16+
17+
Which of these best describes a boolean attribute?
18+
19+
## --answers--
20+
21+
They always require a value.
22+
23+
### --feedback--
24+
25+
Think about what their presence in the opening tag means.
26+
27+
---
28+
29+
They add JavaScript functionality to your code.
30+
31+
### --feedback--
32+
33+
Think about what their presence in the opening tag means.
34+
35+
---
36+
37+
Their presence implies true.
38+
39+
---
40+
41+
They are not different from regular attributes.
42+
43+
### --feedback--
44+
45+
Think about what their presence in the opening tag means.
46+
47+
## --video-solution--
48+
49+
3
50+
51+
## --text--
52+
53+
What do regular attributes do in HTML?
54+
55+
## --answers--
56+
57+
They provide additional information about an element.
58+
59+
---
60+
61+
They provide the background information about an element.
62+
63+
### --feedback--
64+
65+
Think about what provides extra information about an element.
66+
67+
---
68+
69+
They are replacements for HTML elements.
70+
71+
### --feedback--
72+
73+
Think about what provides extra information about an element.
74+
75+
---
76+
77+
They allow developers to toggle a feature on and off.
78+
79+
### --feedback--
80+
81+
Think about what provides extra information about an element.
82+
83+
## --video-solution--
84+
85+
1
86+
87+
## --text--
88+
89+
Which of these differentiates a boolean attribute from a regular attribute?
90+
91+
## --answers--
92+
93+
A boolean attribute is true and a regular attribute is false.
94+
95+
---
96+
97+
A boolean attribute requires a value but a regular attribute does not.
98+
99+
### --feedback--
100+
101+
Think about the attribute that needs a value and the one that does not.
102+
103+
---
104+
105+
A boolean attribute provides additional information about an element but a regular attribute does not.
106+
107+
### --feedback--
108+
109+
Think about the attribute that needs a value and the one that does not.
110+
111+
---
112+
113+
A boolean attribute does not require a value but a regular attribute does.
114+
115+
### --feedback--
116+
117+
Think about the attribute that needs a value and the one that does not.
118+
119+
## --video-solution--
120+
121+
1

0 commit comments

Comments
 (0)