mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): improve HTML lecture question and feedback clarity (#57777)
This commit is contained in:
+7
-7
@@ -22,7 +22,7 @@ Use a `class` when you want a unique identifier that should only apply to one el
|
||||
|
||||
### --feedback--
|
||||
|
||||
Remember that an `id` is unique and can only be used once per HTML document.
|
||||
Remember that an `id` name is unique and should only be used once per HTML document.
|
||||
|
||||
---
|
||||
|
||||
@@ -34,7 +34,7 @@ Use an `id` when you want to style multiple elements consistently across differe
|
||||
|
||||
### --feedback--
|
||||
|
||||
Remember that an `id` is unique and can only be used once per HTML document.
|
||||
Remember that an `id` name is unique and should only be used once per HTML document.
|
||||
|
||||
---
|
||||
|
||||
@@ -42,7 +42,7 @@ Use an `id` when you want to apply styles that can be easily overridden by other
|
||||
|
||||
### --feedback--
|
||||
|
||||
Remember that an `id` is unique and can only be used once per HTML document.
|
||||
Remember that an `id` name is unique and should only be used once per HTML document.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
@@ -50,7 +50,7 @@ Remember that an `id` is unique and can only be used once per HTML document.
|
||||
|
||||
## --text--
|
||||
|
||||
What happens if you try to use duplicate an `id` in your HTML?
|
||||
What happens if you use the same `id` more than once in your HTML?
|
||||
|
||||
## --answers--
|
||||
|
||||
@@ -62,7 +62,7 @@ The program will crash.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Remember that an `id` is unique and can only be used once per HTML document.
|
||||
Think about how using duplicate `id` names in your HTML can affect your CSS and JavaScript.
|
||||
|
||||
---
|
||||
|
||||
@@ -70,7 +70,7 @@ Nothing will happen.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Remember that an `id` is unique and can only be used once per HTML document.
|
||||
Think about how using duplicate `id` names in your HTML can affect your CSS and JavaScript.
|
||||
|
||||
---
|
||||
|
||||
@@ -78,7 +78,7 @@ There will be a popup alert message in the browser window.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Remember that an `id` is unique and can only be used once per HTML document.
|
||||
Think about how using duplicate `id` names in your HTML can affect your CSS and JavaScript.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user