mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): update comprehension check questions for div element video (#57774)
This commit is contained in:
+11
-33
@@ -22,7 +22,7 @@ The `div` element represents a container for introductory content or a set of na
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about why it is a ghost.
|
||||
Review the last 10 seconds of the video for the answer.
|
||||
|
||||
---
|
||||
|
||||
@@ -30,7 +30,7 @@ The `div` element defines a footer for a document or section.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about why it is a ghost.
|
||||
Review the last 10 seconds of the video for the answer.
|
||||
|
||||
---
|
||||
|
||||
@@ -38,7 +38,7 @@ The `div` specifies the main page content and should be unique.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about why it is a ghost.
|
||||
Review the last 10 seconds of the video for the answer.
|
||||
|
||||
---
|
||||
|
||||
@@ -94,57 +94,35 @@ Review the beginning of the video for the correct syntax.
|
||||
|
||||
## --text--
|
||||
|
||||
What is the correct syntax for using a `div` to group elements together?
|
||||
Which of the following HTML elements is commonly used to group content into distinct sections?
|
||||
|
||||
## --answers--
|
||||
|
||||
```html
|
||||
<div>
|
||||
<p>I'm a paragraph</p>
|
||||
<p>I'm another paragraph</p>
|
||||
</div>
|
||||
```
|
||||
`section`
|
||||
|
||||
---
|
||||
|
||||
```html
|
||||
<div>
|
||||
<p>I'm a paragraph</p>
|
||||
<p>I'm another paragraph</p>
|
||||
<div>
|
||||
```
|
||||
`aside`
|
||||
|
||||
### --feedback--
|
||||
|
||||
Review the middle part of the video for the correct syntax.
|
||||
Review the video starting at the 45 second mark for the answer.
|
||||
|
||||
---
|
||||
|
||||
```html
|
||||
<div>
|
||||
<p>I'm a paragraph</p>
|
||||
</div>
|
||||
<div>
|
||||
<p>I'm another paragraph</p>
|
||||
</div>
|
||||
```
|
||||
`nav`
|
||||
|
||||
### --feedback--
|
||||
|
||||
Review the middle part of the video for the correct syntax.
|
||||
Review the video starting at the 45 second mark for the answer.
|
||||
|
||||
---
|
||||
|
||||
```html
|
||||
<div
|
||||
<p>I'm a paragraph</p>
|
||||
<p>I'm another paragraph</p>
|
||||
/>
|
||||
```
|
||||
`h1`
|
||||
|
||||
### --feedback--
|
||||
|
||||
Review the middle part of the video for the correct syntax.
|
||||
Review the video starting at the 45 second mark for the answer.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user