fix(curriculum): replace second comprehensive check quesion in div element lesson (#63655)

This commit is contained in:
Diem-Trang Pham
2025-11-09 01:56:56 -06:00
committed by GitHub
parent 15d6b0b488
commit f9942d0c3f

View File

@@ -88,43 +88,35 @@ The `div` element has no semantic meaning.
## --text--
Which of the following is the correct syntax for a `div` element?
When is it most appropriate to use a `div` element in your HTML?
## --answers--
```html
<divEl>content goes here</divEl>
```
When dividing content into separate sections of a page.
### --feedback--
Refer back to the notes for the correct syntax.
Refer back to the notes for the correct answer.
---
```html
<div>content goes here</div>
```
When grouping related content for styling purposes.
---
```html
<divElement>content goes here</divElement>
```
When marking up the main heading of a page.
### --feedback--
Refer back to the beginning of the lesson for the correct syntax.
Refer back to the notes for the correct answer.
---
```html
<divGroup>content goes here</divGroup>
```
When embedding media such as images or videos.
### --feedback--
Refer back to the notes for the correct syntax.
Refer back to the notes for the correct answer.
## --video-solution--