mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): use assert.lengthOf method in storytelling app workshop (#59860)
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ Next, you will start working on the `JavaScript`. For that, begin by linking the
|
||||
You should create a `script` element.
|
||||
|
||||
```js
|
||||
assert(document.querySelectorAll('script').length === 3);
|
||||
assert.lengthOf(document.querySelectorAll('script'), 3);
|
||||
```
|
||||
|
||||
Your `script` element should have an `src` attribute set to `script.js`.
|
||||
|
||||
Reference in New Issue
Block a user