mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-06 06:39:18 -05:00
fix(curriculum): strict url checking in the anchor (#46120)
This commit is contained in:
@@ -28,7 +28,7 @@ Your anchor (`a`) element should have an `href` attribute with the value `https:
|
||||
|
||||
```js
|
||||
const nestedAnchor = $('footer > p > a')[0];
|
||||
assert(nestedAnchor.getAttribute('href') === 'https://www.freecodecamp.org');
|
||||
assert(nestedAnchor.getAttribute('href').toLowerCase() === 'https://www.freecodecamp.org');
|
||||
```
|
||||
|
||||
The link's text should be `freeCodeCamp.org`. You have either omitted the text or have a typo.
|
||||
|
||||
Reference in New Issue
Block a user