Skip to content

Commit

Permalink
fix(curriculum): strict url checking in the anchor (freeCodeCamp#46120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sboonny authored and pull[bot] committed Sep 28, 2023
1 parent 881f3b2 commit a14d311
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a14d311

Please sign in to comment.