From e271b5bc13eefb3cee1c74d5d997101c5d663d0a Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 23 May 2022 17:07:09 +0200 Subject: [PATCH] fix(curriculum): strict url checking in the anchor (#46120) --- .../5ef9b03c81a63668521804e9.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md index 653bd504c6c..a4d099ed5b9 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md @@ -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.