fix(curriculum): add instruction to include target=_blank attribute in step 64 (#56092)

This commit is contained in:
Sulaiman
2024-09-15 14:39:33 +05:00
committed by GitHub
parent 96513b738f
commit ead5ef08f7
@@ -9,6 +9,8 @@ dashedName: step-64
Inside the `footer`, add a `p` element. Then, nest an anchor (`a`) element in the `p` that links to `https://www.freecodecamp.org` and has the text `Visit our website`.
Make sure that the link opens in a new tab by adding a `target` attribute with the value `_blank`.
# --hints--
You should not modify the existing `footer` element.
@@ -43,6 +45,12 @@ Your new `a` element should link to `https://www.freecodecamp.org`. Remember tha
assert(document.querySelector("footer > p > a")?.href === "https://www.freecodecamp.org/");
```
Your new `a` element should have the `target` attribute set to `_blank`.
```js
assert.equal(document.querySelector("footer > p > a")?.target, "_blank");
```
# --seed--
## --seed-contents--