mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-28 23:02:24 -05:00
fix(curriculum): hint on step 5 of story teller workshop (#58234)
This commit is contained in:
committed by
GitHub
parent
339cb18df7
commit
9e04a372fc
@@ -17,7 +17,7 @@ You should create a `script` element.
|
||||
assert(document.querySelectorAll('script').length === 3);
|
||||
```
|
||||
|
||||
Your `script` element should be have an `src` attribute set to `script.js`.
|
||||
Your `script` element should have an `src` attribute set to `script.js`.
|
||||
|
||||
```js
|
||||
const script = document.querySelector("script[data-src$='script.js']");
|
||||
|
||||
Reference in New Issue
Block a user