mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
fix(curriculum): better wording in workshop-todo-app (#60075)
This commit is contained in:
parent
6f51bd86dc
commit
ca45f715c2
@ -19,7 +19,7 @@ const matched = __helpers.removeJSComments(splitted).match(/<div(?<attributes>.*
|
||||
assert.match(matched?.groups.attributes, /\s+class\s*=\s*('|")task\1(\s|$)/);
|
||||
```
|
||||
|
||||
Your `div` element should have the `id` `${id}`.
|
||||
Your `div` element should have an `id` of `${id}`.
|
||||
|
||||
```js
|
||||
const splitted = code.split(/tasksContainer\s*\.\s*innerHTML\s*\+=\s*`/)[1]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user