mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-05 18:01:45 -04:00
fix(curriculum): improve wording for clarity in step 4 instructions /workshop-reusable-mega-navbar (#60062)
This commit is contained in:
committed by
GitHub
parent
c796ea3dca
commit
e2407ac676
@@ -7,11 +7,11 @@ dashedName: step-4
|
||||
|
||||
# --description--
|
||||
|
||||
Give all three `li` elements the `className` `nav-item`.
|
||||
Give all three `li` elements a `className` of `nav-item`.
|
||||
|
||||
# --hints--
|
||||
|
||||
Your three `li` elements should have the `className` `nav-item`.
|
||||
Your three `li` elements should each have a `className` of `nav-item`.
|
||||
|
||||
```js
|
||||
assert.isTrue(document.querySelectorAll('ul li')[0]?.classList.contains('nav-item'));
|
||||
|
||||
Reference in New Issue
Block a user