mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): add trim to remove whitespaces in url (#60226)
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ Your anchor (`a`) element should link to `https://freecatphotoapp.com`. You have
|
||||
|
||||
```js
|
||||
assert.equal(
|
||||
document.querySelectorAll('a')[2]?.getAttribute('href'),
|
||||
document.querySelectorAll('a')[2]?.getAttribute('href').trim(),
|
||||
'https://freecatphotoapp.com'
|
||||
);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user