mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): update distractors for questions (#58818)
This commit is contained in:
parent
1364e4576a
commit
f347306cf3
@ -53,31 +53,31 @@ What role does JavaScript play in web development compared to HTML and CSS?
|
||||
|
||||
## --answers--
|
||||
|
||||
JavaScript provides structure to the webpage.
|
||||
JavaScript provides structure to the webpage and ensures that your code is free of errors.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Consider what happens when a user interacts with a webpage, such as clicking a button.
|
||||
Consider what happens when a user interacts with a web page, such as clicking a button.
|
||||
|
||||
---
|
||||
|
||||
JavaScript provides the styles for the webpage.
|
||||
JavaScript provides the styles for the web page and automatically formats your code.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Consider what happens when a user interacts with a webpage, such as clicking a button.
|
||||
Consider what happens when a user interacts with a web page, such as clicking a button.
|
||||
|
||||
---
|
||||
|
||||
JavaScript provides interactive functionality and dynamic behavior for the webpage.
|
||||
JavaScript provides interactive functionality and dynamic behavior for the web page.
|
||||
|
||||
---
|
||||
|
||||
JavaScript is not related to web development.
|
||||
JavaScript is only used to create advanced animations for web applications.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Consider what happens when a user interacts with a webpage, such as clicking a button.
|
||||
Consider what happens when a user interacts with a web page, such as clicking a button.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
@ -89,7 +89,7 @@ How does JavaScript typically interact with HTML and CSS on a webpage?
|
||||
|
||||
## --answers--
|
||||
|
||||
JavaScript adds more styles to the CSS file.
|
||||
JavaScript adds more styles to the CSS file and more elements to the HTML file.
|
||||
|
||||
### --feedback--
|
||||
|
||||
@ -97,7 +97,7 @@ Think about how JavaScript can change the webpage's content or styles without ne
|
||||
|
||||
---
|
||||
|
||||
JavaScript creates a new version of HTML for the page.
|
||||
JavaScript creates a new version of HTML for the page so you HTML code will run faster.
|
||||
|
||||
### --feedback--
|
||||
|
||||
@ -109,7 +109,7 @@ JavaScript interacts with the page to change content and styles dynamically.
|
||||
|
||||
---
|
||||
|
||||
JavaScript only works in the backend.
|
||||
JavaScript only works in the backend and is rarely used in the frontend.
|
||||
|
||||
### --feedback--
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user