mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Learn localStorage by Building a Todo App Step 12 - Ambiguous Description of Template String (#54141)
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ Next, retrieve the values from the input fields and store them in a `taskObj` ob
|
||||
|
||||
Create a `taskObj` object with an `id` property as the first property. For the value of the `id` property, retrieve the value of the `titleInput` field, convert it to lowercase, and then use the `split()` and `join()` methods to hyphenate it.
|
||||
|
||||
Make sure all of those are in template literals because you need the `id` property value as a string.
|
||||
Make sure that the value of the `id` property is enclosed within template literals, as you will be appending more to the string later on.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user