Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 0590dcf

Browse files
committed
Remove info duplicated in syllabus
1 parent 1dcaa0d commit 0590dcf

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

week-1/1-parent-child/readme.md

-45
Original file line numberDiff line numberDiff line change
@@ -14,49 +14,4 @@ git push
1414

1515
_Hint: Use the first message as an example to help you write the second message correctly._
1616

17-
If you are having trouble, review the following information about HTML tags and parent-child relationships.
18-
19-
## HTML Syntax
20-
21-
You're already familiar with HTML code from your application process. If you want to refresh your memory, read this [quick guide to the HTML syntax](http://marksheet.io/html-syntax.html).
22-
23-
Let's review parent-child relationships in the following example.
24-
25-
```html
26-
<article class="message">
27-
<div class="message__author">Anthony</div>
28-
<p class="message__content">Who is available to meet this week to work on our group project?</p>
29-
<span class="message__time">6:48pm</span>
30-
</article>
31-
```
32-
33-
First, we start with an empty _parent_ tag:
34-
35-
```html
36-
<article class="message"></article>
37-
```
38-
39-
Now we add a _child_ tag:
40-
41-
```html
42-
<article class="message">
43-
<div class="message__author">Anthony</div>
44-
</article>
45-
```
46-
47-
The `<div>` tag is a _child_ of the `<article>` tag because is starts _after_ `<article>` and ends _before_ `</article>`.
48-
49-
Add another _child_ tag:
50-
51-
```html
52-
<article class="message">
53-
<div class="message__author">Anthony</div>
54-
<p class="message__content">Who is available to meet this week to work on our group project?</p>
55-
</article>
56-
```
57-
58-
The `<p>` tag is also a _child_ of the `<article>` tag. Since the `<div>` and `<p>` tags share the same _parent_, we call them "sibling" tags, like brothers and sisters.
59-
60-
## Did you finish?
61-
6217
When you're done, move on to the next exercise.

0 commit comments

Comments
 (0)