mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-01 10:01:04 -04:00
fix(curriculum): fix wording in Todo App Step 6 (#64502)
This commit is contained in:
@@ -9,7 +9,7 @@ dashedName: step-6
|
||||
|
||||
Now, you will work on opening and closing the form modal.
|
||||
|
||||
In earlier projects, you learned how to add and remove classes from an element with `el.classList.add()` and `el.classList.remove()`. Another method to use with the `classList` property is the `toggle` method.
|
||||
In earlier lessons, you learned how to add and remove classes from an element with `el.classList.add()` and `el.classList.remove()`. Another method to use with the `classList` property is the `toggle` method.
|
||||
|
||||
The `toggle` method will add the class if it is not present on the element, and remove the class if it is present on the element.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user