mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): updates Incorrect freeCodeCamp URL (#56975)
This commit is contained in:
+1
-1
@@ -313,7 +313,7 @@ Your `#navbar` element should always be at the top of the viewport.
|
||||
</p>
|
||||
<p>
|
||||
© Created for
|
||||
<a href="https://www.freecodecamp.com/" target="_blank">freeCodeCamp <i
|
||||
<a href="https://www.freecodecamp.org/" target="_blank">freeCodeCamp <i
|
||||
class="fab fa-free-code-camp"></i></a>
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
+4
-4
@@ -23,7 +23,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
|
||||
9. The `#email` input field should have placeholder text to let users know what the field is for.
|
||||
10. The `#email` input field should use HTML5 validation to confirm that the entered text is an email address.
|
||||
11. Within the form, there should be a submit `input` with a corresponding `id="submit"`.
|
||||
12. When you click the `#submit` element, the email should be submitted to a static page (use this mock URL: `https://www.freecodecamp.com/email-submit`).
|
||||
12. When you click the `#submit` element, the email should be submitted to a static page (use this mock URL: `https://www.freecodecamp.org/email-submit`).
|
||||
13. The navbar should always be at the top of the viewport.
|
||||
14. Your product landing page should have at least one media query.
|
||||
15. Your product landing page should utilize CSS flexbox at least once.
|
||||
@@ -187,11 +187,11 @@ const el = document.getElementById('submit')
|
||||
assert(!!el && el.type === 'submit')
|
||||
```
|
||||
|
||||
Your `#form` should have an `action` attribute of `https://www.freecodecamp.com/email-submit`.
|
||||
Your `#form` should have an `action` attribute of `https://www.freecodecamp.org/email-submit`.
|
||||
|
||||
```js
|
||||
const el = document.getElementById('form')
|
||||
assert(!!el && el.action === 'https://www.freecodecamp.com/email-submit')
|
||||
assert(!!el && el.action === 'https://www.freecodecamp.org/email-submit')
|
||||
```
|
||||
|
||||
Your `#email` should have a `name` attribute of `email`.
|
||||
@@ -320,7 +320,7 @@ assert(usesFlex || usesFlexMedia)
|
||||
|
||||
<section id="hero">
|
||||
<h2>Handcrafted, home-made masterpieces</h2>
|
||||
<form id="form" action="https://www.freecodecamp.com/email-submit">
|
||||
<form id="form" action="https://www.freecodecamp.org/email-submit">
|
||||
<input name="email" id="email" type="email" placeholder="Enter your email address" required />
|
||||
<input id="submit" type="submit" value="Get Started" class="btn" />
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user