fix(curriculum): strict url checking in the anchor (#46120)

This commit is contained in:
Muhammed Mustafa 2022-05-23 17:07:09 +02:00 committed by GitHub
parent f75906bb5a
commit e271b5bc13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.