From 2e83a3d41dd3e7fbc313dddd7635d25c24eab120 Mon Sep 17 00:00:00 2001 From: Ilenia Date: Wed, 31 Aug 2022 13:47:21 +0200 Subject: [PATCH] fix(curriculum): add `for` attribute to `label` elements in registration-form project (#47332) * Add files via upload * removed merge conflicts * new step 17 * write step 17 + seed code step 18 * for and id to remaining steps * new step 28 * finish id and for in second fieldset * new step 37 * 37 tests * update seeds and solution * more updating seeds and solution * fixed wrong seed * fixed wrong test * formatting * Apply suggestions from Shaun's code review Co-authored-by: Shaun Hamilton Co-authored-by: Johnathan Webster <81039525+JohnathanTWebster@users.noreply.github.com> Co-authored-by: Shaun Hamilton --- .../meta.json | 98 +++++++------ .../60f80e0081e0f2052ae5b505.md | 12 +- .../60f81167d0d4910809f88945.md | 12 +- .../60f81616cff80508badf9ad5.md | 12 +- .../60f83e7bfc09900959f41e20.md | 12 +- .../60f84ec41116b209c280ba91.md | 12 +- .../60f852f645b5310a8264f555.md | 12 +- .../60f85a62fb30c80bcea0cedb.md | 12 +- .../60f8604682407e0d017bbf7f.md | 12 +- .../60f8618d191b940d62038513.md | 12 +- .../60fab4a123ce4b04526b082b.md | 12 +- .../60fab8367d35de04e5cb7929.md | 18 +-- .../60fab9f17fa294054b74228c.md | 21 ++- .../60fabf0dd4959805dbae09e6.md | 20 +-- .../60fac4095512d3066053d73c.md | 23 ++- .../60fac56271087806def55b33.md | 25 ++-- .../60fac8d7fdfaee0796934f20.md | 23 ++- .../60faca286cb48b07f6482970.md | 23 ++- .../60facde2d0dc61085b41063f.md | 23 ++- .../60facf914c7b9b08d7510c2c.md | 33 +++-- .../60fad0a812d9890938524f50.md | 33 +++-- .../60fad1cafcde010995e15306.md | 35 +++-- .../60fad6dfcc0d930a59becf12.md | 33 +++-- .../60fad8e6148f310bba7890b1.md | 33 +++-- .../60fad99e09f9d30c1657e790.md | 33 +++-- .../60fadb18058e950c73925279.md | 33 +++-- .../60fadce90f85c50d0bb0dd4f.md | 33 +++-- .../60fadd972e6ffe0d6858fa2d.md | 33 +++-- .../60fadfa2b540b70dcfa8b771.md | 33 +++-- .../60fc219d333e37046f474a6e.md | 33 +++-- .../60fc22d1e64d1b04cdd4e602.md | 33 +++-- .../60fc236dc04532052926fdac.md | 33 +++-- .../60ffe1bc30415f042faea936.md | 33 +++-- .../60ffe3936796ac04959285a9.md | 33 +++-- .../60ffe4f4ec18cd04dc470c56.md | 33 +++-- .../60ffe69ee377c6055e192a46.md | 33 +++-- .../60ffe7d8aae62c05bcc9e7eb.md | 33 +++-- .../60ffe8a5ceb0e90618db06d9.md | 33 +++-- .../60ffe947a868ec068f7850f6.md | 33 +++-- .../60ffe9cb47809106eda2f2c9.md | 33 +++-- .../60ffec2825da1007509ddd06.md | 33 +++-- .../60ffecefac971607ae73c60f.md | 33 +++-- .../60ffefd6479a3d084fb77cbc.md | 62 ++++----- .../62b30924c5e4ef0daba23b5e.md | 33 +++-- .../62ff8b9dab5ac88e4d3d43a3.md | 109 +++++++++++++++ .../62ff8e998d3e7eae14d6ae3b.md | 102 ++++++++++++++ .../62ff919a7b5612c0670923a5.md | 131 ++++++++++++++++++ 47 files changed, 957 insertions(+), 635 deletions(-) create mode 100644 curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8b9dab5ac88e4d3d43a3.md create mode 100644 curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8e998d3e7eae14d6ae3b.md create mode 100644 curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff919a7b5612c0670923a5.md diff --git a/curriculum/challenges/_meta/learn-html-forms-by-building-a-registration-form/meta.json b/curriculum/challenges/_meta/learn-html-forms-by-building-a-registration-form/meta.json index 935b03b673c..54eabf2601c 100644 --- a/curriculum/challenges/_meta/learn-html-forms-by-building-a-registration-form/meta.json +++ b/curriculum/challenges/_meta/learn-html-forms-by-building-a-registration-form/meta.json @@ -75,176 +75,188 @@ "Step 16" ], [ - "60f80e0081e0f2052ae5b505", + "62ff8b9dab5ac88e4d3d43a3", "Step 17" ], [ - "60f81167d0d4910809f88945", + "60f80e0081e0f2052ae5b505", "Step 18" ], [ - "60f81616cff80508badf9ad5", + "60f81167d0d4910809f88945", "Step 19" ], [ - "60f83e7bfc09900959f41e20", + "60f81616cff80508badf9ad5", "Step 20" ], [ - "60f84ec41116b209c280ba91", + "60f83e7bfc09900959f41e20", "Step 21" ], [ - "60f852f645b5310a8264f555", + "60f84ec41116b209c280ba91", "Step 22" ], [ - "60f85a62fb30c80bcea0cedb", + "60f852f645b5310a8264f555", "Step 23" ], [ - "60f8604682407e0d017bbf7f", + "60f85a62fb30c80bcea0cedb", "Step 24" ], [ - "60f8618d191b940d62038513", + "60f8604682407e0d017bbf7f", "Step 25" ], [ - "60fab4a123ce4b04526b082b", + "60f8618d191b940d62038513", "Step 26" ], [ - "60fab8367d35de04e5cb7929", + "60fab4a123ce4b04526b082b", "Step 27" ], [ - "60fab9f17fa294054b74228c", + "62ff8e998d3e7eae14d6ae3b", "Step 28" ], [ - "60fabf0dd4959805dbae09e6", + "60fab8367d35de04e5cb7929", "Step 29" ], [ - "60fac4095512d3066053d73c", + "60fab9f17fa294054b74228c", "Step 30" ], [ - "60fac56271087806def55b33", + "60fabf0dd4959805dbae09e6", "Step 31" ], [ - "60fac8d7fdfaee0796934f20", + "60fac4095512d3066053d73c", "Step 32" ], [ - "60faca286cb48b07f6482970", + "60fac56271087806def55b33", "Step 33" ], [ - "60facde2d0dc61085b41063f", + "60fac8d7fdfaee0796934f20", "Step 34" ], [ - "60facf914c7b9b08d7510c2c", + "60faca286cb48b07f6482970", "Step 35" ], [ - "60fad0a812d9890938524f50", + "60facde2d0dc61085b41063f", "Step 36" ], [ - "60fad1cafcde010995e15306", + "62ff919a7b5612c0670923a5", "Step 37" ], [ - "60fad6dfcc0d930a59becf12", + "60facf914c7b9b08d7510c2c", "Step 38" ], [ - "60fad8e6148f310bba7890b1", + "60fad0a812d9890938524f50", "Step 39" ], [ - "60fad99e09f9d30c1657e790", + "60fad1cafcde010995e15306", "Step 40" ], [ - "60fadb18058e950c73925279", + "60fad6dfcc0d930a59becf12", "Step 41" ], [ - "60fadce90f85c50d0bb0dd4f", + "60fad8e6148f310bba7890b1", "Step 42" ], [ - "62b30924c5e4ef0daba23b5e", + "60fad99e09f9d30c1657e790", "Step 43" ], [ - "60fadd972e6ffe0d6858fa2d", + "60fadb18058e950c73925279", "Step 44" ], [ - "60fadfa2b540b70dcfa8b771", + "60fadce90f85c50d0bb0dd4f", "Step 45" ], [ - "60fc219d333e37046f474a6e", + "62b30924c5e4ef0daba23b5e", "Step 46" ], [ - "60fc22d1e64d1b04cdd4e602", + "60fadd972e6ffe0d6858fa2d", "Step 47" ], [ - "60fc236dc04532052926fdac", + "60fadfa2b540b70dcfa8b771", "Step 48" ], [ - "60ffe1bc30415f042faea936", + "60fc219d333e37046f474a6e", "Step 49" ], [ - "60ffe3936796ac04959285a9", + "60fc22d1e64d1b04cdd4e602", "Step 50" ], [ - "60ffe4f4ec18cd04dc470c56", + "60fc236dc04532052926fdac", "Step 51" ], [ - "60ffe69ee377c6055e192a46", + "60ffe1bc30415f042faea936", "Step 52" ], [ - "60ffe7d8aae62c05bcc9e7eb", + "60ffe3936796ac04959285a9", "Step 53" ], [ - "60ffe8a5ceb0e90618db06d9", + "60ffe4f4ec18cd04dc470c56", "Step 54" ], [ - "60ffe947a868ec068f7850f6", + "60ffe69ee377c6055e192a46", "Step 55" ], [ - "60ffe9cb47809106eda2f2c9", + "60ffe7d8aae62c05bcc9e7eb", "Step 56" ], [ - "60ffec2825da1007509ddd06", + "60ffe8a5ceb0e90618db06d9", "Step 57" ], [ - "60ffecefac971607ae73c60f", + "60ffe947a868ec068f7850f6", "Step 58" ], [ - "60ffefd6479a3d084fb77cbc", + "60ffe9cb47809106eda2f2c9", "Step 59" + ], + [ + "60ffec2825da1007509ddd06", + "Step 60" + ], + [ + "60ffecefac971607ae73c60f", + "Step 61" + ], + [ + "60ffefd6479a3d084fb77cbc", + "Step 62" ] ] } \ No newline at end of file diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f80e0081e0f2052ae5b505.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f80e0081e0f2052ae5b505.md index a57200590cf..711948bab14 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f80e0081e0f2052ae5b505.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f80e0081e0f2052ae5b505.md @@ -1,8 +1,8 @@ --- id: 60f80e0081e0f2052ae5b505 -title: Step 17 +title: Step 18 challengeType: 0 -dashedName: step-17 +dashedName: step-18 --- # --description-- @@ -58,10 +58,10 @@ assert.equal(document.querySelectorAll('input')?.[3]?.type, 'password');
--fcc-editable-region--
- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81167d0d4910809f88945.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81167d0d4910809f88945.md index 37c91d54d00..2b82d0e81fd 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81167d0d4910809f88945.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81167d0d4910809f88945.md @@ -1,8 +1,8 @@ --- id: 60f81167d0d4910809f88945 -title: Step 18 +title: Step 19 challengeType: 0 -dashedName: step-18 +dashedName: step-19 --- # --description-- @@ -49,10 +49,10 @@ assert.exists(document.querySelector('fieldset + input[value="Submit"]')); --fcc-editable-region--
- - - - + + + +
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81616cff80508badf9ad5.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81616cff80508badf9ad5.md index 4eff134fcc9..cdc7c2f2625 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81616cff80508badf9ad5.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f81616cff80508badf9ad5.md @@ -1,8 +1,8 @@ --- id: 60f81616cff80508badf9ad5 -title: Step 19 +title: Step 20 challengeType: 0 -dashedName: step-19 +dashedName: step-20 --- # --description-- @@ -63,10 +63,10 @@ assert.equal(document.querySelector('input[type="submit"]')?.required, false); --fcc-editable-region--
- - - - + + + +
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f83e7bfc09900959f41e20.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f83e7bfc09900959f41e20.md index 2ca2b79fc79..ca50aea9cf3 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f83e7bfc09900959f41e20.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f83e7bfc09900959f41e20.md @@ -1,8 +1,8 @@ --- id: 60f83e7bfc09900959f41e20 -title: Step 20 +title: Step 21 challengeType: 0 -dashedName: step-20 +dashedName: step-21 --- # --description-- @@ -43,10 +43,10 @@ assert.equal(document.querySelector('input[type="password"]')?.minLength, 8); --fcc-editable-region--
- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f84ec41116b209c280ba91.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f84ec41116b209c280ba91.md index 72ae35be26a..11c9480a706 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f84ec41116b209c280ba91.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f84ec41116b209c280ba91.md @@ -1,8 +1,8 @@ --- id: 60f84ec41116b209c280ba91 -title: Step 21 +title: Step 22 challengeType: 0 -dashedName: step-21 +dashedName: step-22 --- # --description-- @@ -51,10 +51,10 @@ assert.equal(document.querySelector('input[type="password"]')?.minLength, -1); --fcc-editable-region--
- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f852f645b5310a8264f555.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f852f645b5310a8264f555.md index b6228e32ddf..3f7ad60cb85 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f852f645b5310a8264f555.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f852f645b5310a8264f555.md @@ -1,8 +1,8 @@ --- id: 60f852f645b5310a8264f555 -title: Step 22 +title: Step 23 challengeType: 0 -dashedName: step-22 +dashedName: step-23 --- # --description-- @@ -42,10 +42,10 @@ assert.exists(document.querySelector('fieldset:nth-child(2)')?.querySelector('la

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f85a62fb30c80bcea0cedb.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f85a62fb30c80bcea0cedb.md index d775fa47663..bab73dcaa4c 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f85a62fb30c80bcea0cedb.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f85a62fb30c80bcea0cedb.md @@ -1,8 +1,8 @@ --- id: 60f85a62fb30c80bcea0cedb -title: Step 23 +title: Step 24 challengeType: 0 -dashedName: step-23 +dashedName: step-24 --- # --description-- @@ -49,10 +49,10 @@ assert.equal(document.querySelectorAll('fieldset:nth-child(2) input[type="radio"

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8604682407e0d017bbf7f.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8604682407e0d017bbf7f.md index d46770fc5f1..7b98beede25 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8604682407e0d017bbf7f.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8604682407e0d017bbf7f.md @@ -1,8 +1,8 @@ --- id: 60f8604682407e0d017bbf7f -title: Step 24 +title: Step 25 challengeType: 0 -dashedName: step-24 +dashedName: step-25 --- # --description-- @@ -46,10 +46,10 @@ assert.equal(document.querySelector('fieldset:nth-child(2) label:nth-child(3) in

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8618d191b940d62038513.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8618d191b940d62038513.md index eae86745f49..1ac99352c23 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8618d191b940d62038513.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f8618d191b940d62038513.md @@ -1,8 +1,8 @@ --- id: 60f8618d191b940d62038513 -title: Step 25 +title: Step 26 challengeType: 0 -dashedName: step-25 +dashedName: step-26 --- # --description-- @@ -70,10 +70,10 @@ assert.equal(document.querySelector('fieldset:nth-child(2) > label:nth-child(3)'

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab4a123ce4b04526b082b.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab4a123ce4b04526b082b.md index 2d7815288a2..68ac0ba124b 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab4a123ce4b04526b082b.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab4a123ce4b04526b082b.md @@ -1,8 +1,8 @@ --- id: 60fab4a123ce4b04526b082b -title: Step 26 +title: Step 27 challengeType: 0 -dashedName: step-26 +dashedName: step-27 --- # --description-- @@ -48,10 +48,10 @@ assert.isEmpty(document.querySelector('fieldset:nth-child(2) label:nth-child(3)

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab8367d35de04e5cb7929.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab8367d35de04e5cb7929.md index 1f108f7bbff..f028eac0a4b 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab8367d35de04e5cb7929.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab8367d35de04e5cb7929.md @@ -1,8 +1,8 @@ --- id: 60fab8367d35de04e5cb7929 -title: Step 27 +title: Step 29 challengeType: 0 -dashedName: step-27 +dashedName: step-29 --- # --description-- @@ -50,16 +50,16 @@ assert.equal(document.querySelector('fieldset:nth-child(2) > label:nth-child(3)

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
- - - + + +
--fcc-editable-region--
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab9f17fa294054b74228c.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab9f17fa294054b74228c.md index 576b3eaf54b..430214f2d23 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab9f17fa294054b74228c.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fab9f17fa294054b74228c.md @@ -1,8 +1,8 @@ --- id: 60fab9f17fa294054b74228c -title: Step 28 +title: Step 30 challengeType: 0 -dashedName: step-28 +dashedName: step-30 --- # --description-- @@ -48,17 +48,16 @@ assert.equal(document.querySelector('fieldset:nth-child(3) > label > input')?.ty

Please fill out this form with the required information

- - - - + + + +
- - -
--fcc-editable-region-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fabf0dd4959805dbae09e6.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fabf0dd4959805dbae09e6.md index 949876022f9..4ca442467c4 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fabf0dd4959805dbae09e6.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fabf0dd4959805dbae09e6.md @@ -1,8 +1,8 @@ --- id: 60fabf0dd4959805dbae09e6 -title: Step 29 +title: Step 31 challengeType: 0 -dashedName: step-29 +dashedName: step-31 --- # --description-- @@ -62,16 +62,16 @@ assert.equal(document.querySelector('fieldset:nth-child(3) > label:nth-child(2)

Please fill out this form with the required information

- - - - + + + +
- - -
--fcc-editable-region-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac4095512d3066053d73c.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac4095512d3066053d73c.md index b5094eb84db..c10f31f103b 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac4095512d3066053d73c.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac4095512d3066053d73c.md @@ -1,8 +1,8 @@ --- id: 60fac4095512d3066053d73c -title: Step 30 +title: Step 32 challengeType: 0 -dashedName: step-30 +dashedName: step-32 --- # --description-- @@ -42,23 +42,22 @@ assert.equal(document.querySelectorAll('fieldset:nth-child(3) > select > option'

Please fill out this form with the required information

- - - - + + + +
- - -
--fcc-editable-region--
- +
--fcc-editable-region-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md index 776a713e7b8..7d4f088a5fd 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md @@ -1,8 +1,8 @@ --- id: 60fac56271087806def55b33 -title: Step 31 +title: Step 33 challengeType: 0 -dashedName: step-31 +dashedName: step-33 --- # --description-- @@ -52,23 +52,22 @@ assert.equal(document.querySelectorAll('fieldset > label > select > option')?.le

Please fill out this form with the required information

- - - - + + + +
- - - + + +
--fcc-editable-region--
- + - - - + + + +
- - -
--fcc-editable-region--
- + - - - + + + +
- - -
--fcc-editable-region--
- + - - - + + + +
- - -
--fcc-editable-region--
- + - - - + + + +
- - -
--fcc-editable-region--
- - - + + -
--fcc-editable-region-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad0a812d9890938524f50.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad0a812d9890938524f50.md index 8591cbb5bcc..fc31ba290fe 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad0a812d9890938524f50.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad0a812d9890938524f50.md @@ -1,8 +1,8 @@ --- id: 60fad0a812d9890938524f50 -title: Step 36 +title: Step 39 challengeType: 0 -dashedName: step-36 +dashedName: step-39 --- # --description-- @@ -42,25 +42,24 @@ assert.match(document.querySelector('fieldset:nth-child(3) > label:nth-child(4)

Please fill out this form with the required information

- - - - + + + +
- - -
--fcc-editable-region--
- - - + + -
--fcc-editable-region-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad1cafcde010995e15306.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad1cafcde010995e15306.md index 696bc703563..3d8b8ac0e02 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad1cafcde010995e15306.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad1cafcde010995e15306.md @@ -1,8 +1,8 @@ --- id: 60fad1cafcde010995e15306 -title: Step 37 +title: Step 40 challengeType: 0 -dashedName: step-37 +dashedName: step-40 --- # --description-- @@ -102,25 +102,24 @@ You should not give any of the `fieldset` elements a `name` attribute.

Please fill out this form with the required information

--fcc-editable-region-- -
- - - - +
+ + + +
- - -
- - - + + -
--fcc-editable-region-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad6dfcc0d930a59becf12.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad6dfcc0d930a59becf12.md index 36aa6b893c5..189acb25ac9 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad6dfcc0d930a59becf12.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad6dfcc0d930a59becf12.md @@ -1,8 +1,8 @@ --- id: 60fad6dfcc0d930a59becf12 -title: Step 38 +title: Step 41 challengeType: 0 -dashedName: step-38 +dashedName: step-41 --- # --description-- @@ -48,24 +48,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.fontSize, '16px')

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad8e6148f310bba7890b1.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad8e6148f310bba7890b1.md index 2b211a1b83f..d69690ec209 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad8e6148f310bba7890b1.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad8e6148f310bba7890b1.md @@ -1,8 +1,8 @@ --- id: 60fad8e6148f310bba7890b1 -title: Step 39 +title: Step 42 challengeType: 0 -dashedName: step-39 +dashedName: step-42 --- # --description-- @@ -46,24 +46,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('h1, p')?.textAlign, 'cent

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad99e09f9d30c1657e790.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad99e09f9d30c1657e790.md index ac878af1c5f..ea0ba5c8d29 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad99e09f9d30c1657e790.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fad99e09f9d30c1657e790.md @@ -1,8 +1,8 @@ --- id: 60fad99e09f9d30c1657e790 -title: Step 40 +title: Step 43 challengeType: 0 -dashedName: step-40 +dashedName: step-43 --- # --description-- @@ -58,24 +58,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('form')?.width, '60vw');

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadb18058e950c73925279.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadb18058e950c73925279.md index ba42df17f66..2d816f17dd2 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadb18058e950c73925279.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadb18058e950c73925279.md @@ -1,8 +1,8 @@ --- id: 60fadb18058e950c73925279 -title: Step 41 +title: Step 44 challengeType: 0 -dashedName: step-41 +dashedName: step-44 --- # --description-- @@ -52,24 +52,23 @@ assert.equal(fieldset?.paddingRight, '0px');

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadce90f85c50d0bb0dd4f.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadce90f85c50d0bb0dd4f.md index 603e2aae6db..4dc6ed2ac31 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadce90f85c50d0bb0dd4f.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadce90f85c50d0bb0dd4f.md @@ -1,8 +1,8 @@ --- id: 60fadce90f85c50d0bb0dd4f -title: Step 42 +title: Step 45 challengeType: 0 -dashedName: step-42 +dashedName: step-45 --- # --description-- @@ -34,24 +34,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('fieldset')?.borderBottom,

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadd972e6ffe0d6858fa2d.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadd972e6ffe0d6858fa2d.md index 57081aaf152..8b64312366c 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadd972e6ffe0d6858fa2d.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadd972e6ffe0d6858fa2d.md @@ -1,8 +1,8 @@ --- id: 60fadd972e6ffe0d6858fa2d -title: Step 44 +title: Step 47 challengeType: 0 -dashedName: step-44 +dashedName: step-47 --- # --description-- @@ -73,24 +73,23 @@ assert.equal(selFunc(['input, textarea, select', 'input, select, textarea', 'sel

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadfa2b540b70dcfa8b771.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadfa2b540b70dcfa8b771.md index 15ac48144d5..599275a237c 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadfa2b540b70dcfa8b771.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fadfa2b540b70dcfa8b771.md @@ -1,8 +1,8 @@ --- id: 60fadfa2b540b70dcfa8b771 -title: Step 45 +title: Step 48 challengeType: 0 -dashedName: step-45 +dashedName: step-48 --- # --description-- @@ -48,26 +48,25 @@ assert(document.querySelectorAll('fieldset:nth-child(2) input')?.[2]?.classList?

Please fill out this form with the required information

- - - - + + + +
--fcc-editable-region--
- - -
--fcc-editable-region--
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc219d333e37046f474a6e.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc219d333e37046f474a6e.md index 733924b7bcc..3b67957ed98 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc219d333e37046f474a6e.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc219d333e37046f474a6e.md @@ -1,8 +1,8 @@ --- id: 60fc219d333e37046f474a6e -title: Step 46 +title: Step 49 challengeType: 0 -dashedName: step-46 +dashedName: step-49 --- # --description-- @@ -40,24 +40,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('.inline')?.width, 'unset'

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc22d1e64d1b04cdd4e602.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc22d1e64d1b04cdd4e602.md index f2d9175f083..e5a168ec000 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc22d1e64d1b04cdd4e602.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc22d1e64d1b04cdd4e602.md @@ -1,8 +1,8 @@ --- id: 60fc22d1e64d1b04cdd4e602 -title: Step 47 +title: Step 50 challengeType: 0 -dashedName: step-47 +dashedName: step-50 --- # --description-- @@ -52,24 +52,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('.inline')?.marginLeft, '0

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc236dc04532052926fdac.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc236dc04532052926fdac.md index aa3388e4477..d641a8af37a 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc236dc04532052926fdac.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fc236dc04532052926fdac.md @@ -1,8 +1,8 @@ --- id: 60fc236dc04532052926fdac -title: Step 48 +title: Step 51 challengeType: 0 -dashedName: step-48 +dashedName: step-51 --- # --description-- @@ -36,24 +36,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('.inline')?.verticalAlign,

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe1bc30415f042faea936.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe1bc30415f042faea936.md index faf609246dd..45d7a82cfdd 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe1bc30415f042faea936.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe1bc30415f042faea936.md @@ -1,8 +1,8 @@ --- id: 60ffe1bc30415f042faea936 -title: Step 49 +title: Step 52 challengeType: 0 -dashedName: step-49 +dashedName: step-52 --- # --description-- @@ -51,24 +51,23 @@ assert.equal(selFunc(['input, textarea', 'textarea, input'].find(selFunc))?.bord

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe3936796ac04959285a9.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe3936796ac04959285a9.md index aef32f9622e..86998e7b4fb 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe3936796ac04959285a9.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe3936796ac04959285a9.md @@ -1,8 +1,8 @@ --- id: 60ffe3936796ac04959285a9 -title: Step 50 +title: Step 53 challengeType: 0 -dashedName: step-50 +dashedName: step-53 --- # --description-- @@ -44,24 +44,23 @@ assert.equal(selFunc(['input, textarea', 'textarea, input'].find(selFunc))?.minH

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe4f4ec18cd04dc470c56.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe4f4ec18cd04dc470c56.md index 948e09aaa7e..e493896561c 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe4f4ec18cd04dc470c56.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe4f4ec18cd04dc470c56.md @@ -1,8 +1,8 @@ --- id: 60ffe4f4ec18cd04dc470c56 -title: Step 51 +title: Step 54 challengeType: 0 -dashedName: step-51 +dashedName: step-54 --- # --description-- @@ -48,24 +48,23 @@ assert.isEmpty(new __helpers.CSSHelp(document).getStyle('input, textarea')?.minH

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe69ee377c6055e192a46.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe69ee377c6055e192a46.md index 691b49d3d19..06188bb493a 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe69ee377c6055e192a46.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe69ee377c6055e192a46.md @@ -1,8 +1,8 @@ --- id: 60ffe69ee377c6055e192a46 -title: Step 52 +title: Step 55 challengeType: 0 -dashedName: step-52 +dashedName: step-55 --- # --description-- @@ -54,24 +54,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?.w

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe7d8aae62c05bcc9e7eb.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe7d8aae62c05bcc9e7eb.md index 5cd3c8d7526..f3ec7deaaad 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe7d8aae62c05bcc9e7eb.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe7d8aae62c05bcc9e7eb.md @@ -1,8 +1,8 @@ --- id: 60ffe7d8aae62c05bcc9e7eb -title: Step 53 +title: Step 56 challengeType: 0 -dashedName: step-53 +dashedName: step-56 --- # --description-- @@ -43,24 +43,23 @@ assert.isEmpty(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe8a5ceb0e90618db06d9.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe8a5ceb0e90618db06d9.md index fcabb7a0ac5..9ca0497353d 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe8a5ceb0e90618db06d9.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe8a5ceb0e90618db06d9.md @@ -1,8 +1,8 @@ --- id: 60ffe8a5ceb0e90618db06d9 -title: Step 54 +title: Step 57 challengeType: 0 -dashedName: step-54 +dashedName: step-57 --- # --description-- @@ -40,24 +40,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?.f

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe947a868ec068f7850f6.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe947a868ec068f7850f6.md index 6ac8233e1ff..bb136377684 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe947a868ec068f7850f6.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe947a868ec068f7850f6.md @@ -1,8 +1,8 @@ --- id: 60ffe947a868ec068f7850f6 -title: Step 55 +title: Step 58 challengeType: 0 -dashedName: step-55 +dashedName: step-58 --- # --description-- @@ -40,24 +40,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?.b

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe9cb47809106eda2f2c9.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe9cb47809106eda2f2c9.md index d9982494de3..8ff520a0d70 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe9cb47809106eda2f2c9.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffe9cb47809106eda2f2c9.md @@ -1,8 +1,8 @@ --- id: 60ffe9cb47809106eda2f2c9 -title: Step 56 +title: Step 59 challengeType: 0 -dashedName: step-56 +dashedName: step-59 --- # --description-- @@ -43,24 +43,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?.m

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffec2825da1007509ddd06.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffec2825da1007509ddd06.md index f110b532d97..9cb04369228 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffec2825da1007509ddd06.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffec2825da1007509ddd06.md @@ -1,8 +1,8 @@ --- id: 60ffec2825da1007509ddd06 -title: Step 57 +title: Step 60 challengeType: 0 -dashedName: step-57 +dashedName: step-60 --- # --description-- @@ -42,24 +42,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="file"]')?.pad

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffecefac971607ae73c60f.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffecefac971607ae73c60f.md index 9501e186c69..4133824dfa0 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffecefac971607ae73c60f.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffecefac971607ae73c60f.md @@ -1,8 +1,8 @@ --- id: 60ffecefac971607ae73c60f -title: Step 58 +title: Step 61 challengeType: 0 -dashedName: step-58 +dashedName: step-61 --- # --description-- @@ -40,24 +40,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('form')?.paddingBottom, '2

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffefd6479a3d084fb77cbc.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffefd6479a3d084fb77cbc.md index c85d2583d28..785c6608930 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffefd6479a3d084fb77cbc.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60ffefd6479a3d084fb77cbc.md @@ -1,8 +1,8 @@ --- id: 60ffefd6479a3d084fb77cbc -title: Step 59 +title: Step 62 challengeType: 0 -dashedName: step-59 +dashedName: step-62 --- # --description-- @@ -42,24 +42,23 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('a')?.color, 'rgb(223, 223

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
@@ -172,24 +171,23 @@ input[type="file"] {

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62b30924c5e4ef0daba23b5e.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62b30924c5e4ef0daba23b5e.md index b145bcec338..058b8e4c6ef 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62b30924c5e4ef0daba23b5e.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62b30924c5e4ef0daba23b5e.md @@ -1,8 +1,8 @@ --- id: 62b30924c5e4ef0daba23b5e -title: Step 43 +title: Step 46 challengeType: 0 -dashedName: step-43 +dashedName: step-46 --- # --description-- @@ -47,24 +47,23 @@ assert(borderBottom === 'none' || borderBottom === 'medium none');

Please fill out this form with the required information

- - - - + + + +
- - -
- - - + + -
diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8b9dab5ac88e4d3d43a3.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8b9dab5ac88e4d3d43a3.md new file mode 100644 index 00000000000..fa49a72a0a0 --- /dev/null +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8b9dab5ac88e4d3d43a3.md @@ -0,0 +1,109 @@ +--- +id: 62ff8b9dab5ac88e4d3d43a3 +title: Step 17 +challengeType: 0 +dashedName: step-17 +--- + +# --description-- + +Following accessibility best practices, link the `input` elements and the `label` elements together using the `for` attribute. + +Use these values for the respective `id` properties: `first-name`, `last-name`, `email`, `new-password` + +# --hints-- + +The first `input` element should have an `id` of `first-name`. + +```js +assert(document.querySelectorAll('input')?.[0]?.matches('#first-name')) +``` + +The second `input` element should have an `id` of `last-name`. + +```js +assert(document.querySelectorAll('input')?.[1]?.matches('#last-name')) +``` + +The third `input` element should have an `id` of `email`. + +```js +assert(document.querySelectorAll('input')?.[2]?.matches('#email')) +``` + +The fourth `input` element should have an `id` of `new-password`. + +```js +assert(document.querySelectorAll('input')?.[3]?.matches('#new-password')) +``` + +The first `label` element should have a `for` attribute with a value of `first-name`. + +```js +assert(document.querySelectorAll('label')?.[0]?.matches('label[for="first-name"]')) +``` + +The second `label` element should have a `for` attribute with a value of `last-name`. + +```js +assert(document.querySelectorAll('label')?.[1]?.matches('label[for="last-name"]')) +``` + +The third `label` element should have a `for` attribute with a value of `email`. + +```js +assert(document.querySelectorAll('label')?.[2]?.matches('label[for="email"]')) +``` + +The fourth `label` element should have a `for` attribute with a value of `new-password`. + +```js +assert(document.querySelectorAll('label')?.[3]?.matches('label[for="new-password"]')) +``` + +# --seed-- + +## --seed-contents-- + +```html + + + + + Registration Form + + + +

Registration Form

+

Please fill out this form with the required information

+ +--fcc-editable-region-- +
+ + + + +
+--fcc-editable-region-- +
+
+ + + +``` + +```css +body { + width: 100%; + height: 100vh; + margin: 0; + background-color: #1b1b32; + color: #f5f6f7; +} + +label { + display: block; + margin: 0.5rem 0; +} + +``` diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8e998d3e7eae14d6ae3b.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8e998d3e7eae14d6ae3b.md new file mode 100644 index 00000000000..99eb397da87 --- /dev/null +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff8e998d3e7eae14d6ae3b.md @@ -0,0 +1,102 @@ +--- +id: 62ff8e998d3e7eae14d6ae3b +title: Step 28 +challengeType: 0 +dashedName: step-28 +--- + +# --description-- + +Follow accessibility best practices by linking the `input` elements and the `label` elements in the second `fieldset`. + +Use these values for the respective `id` properties: `personal-account`, `business-account`, `terms-and-conditions` + +# --hints-- + +The first `input` element should have an `id` of `personal-account`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(2) input')?.[0]?.matches('#personal-account')) +``` + +The second `input` element should have an `id` of `business-account`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(2) input')?.[1]?.matches('#business-account')) +``` + +The third `input` element should have an `id` of `terms-and-conditions`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(2) input')?.[2]?.matches('#terms-and-conditions')) +``` + +The first `label` element should have a `for` attribute with a value of `personal-account`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(2) label')?.[0]?.matches('label[for="personal-account"]')) +``` + +The second `label` element should have a `for` attribute with a value of `business-account`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(2) label')?.[1]?.matches('label[for="business-account"]')) +``` + +The third `label` element should have a `for` attribute with a value of `terms-and-conditions`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(2) label')?.[2]?.matches('label[for="terms-and-conditions"]')) +``` + +# --seed-- + +## --seed-contents-- + +```html + + + + + Registration Form + + + +

Registration Form

+

Please fill out this form with the required information

+
+
+ + + + +
+--fcc-editable-region-- +
+ + + +
+--fcc-editable-region-- +
+ +
+ + +``` + +```css +body { + width: 100%; + height: 100vh; + margin: 0; + background-color: #1b1b32; + color: #f5f6f7; +} + +label { + display: block; + margin: 0.5rem 0; +} + +``` diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff919a7b5612c0670923a5.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff919a7b5612c0670923a5.md new file mode 100644 index 00000000000..e9b871ba7f7 --- /dev/null +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/62ff919a7b5612c0670923a5.md @@ -0,0 +1,131 @@ +--- +id: 62ff919a7b5612c0670923a5 +title: Step 37 +challengeType: 0 +dashedName: step-37 +--- + +# --description-- + +Link the applicable form elements and their `label` elements together. + +Use these values for the respective `id` properties: `profile-picture`, `age`, `referrer`, `bio` + +# --hints-- + +The first `input` element should have an `id` of `profile-picture`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(3) input')?.[0]?.matches('#profile-picture')) +``` + +The second `input` element should have an `id` of `age`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(3) input')?.[1]?.matches('#age')) +``` + +The `select` element should have an `id` of `referrer`. + +```js +assert(document.querySelector('fieldset:nth-of-type(3) select')?.matches('#referrer')) +``` + +The `textarea` element should have an `id` of `bio`. + +```js +assert(document.querySelector('fieldset:nth-of-type(3) textarea')?.matches('#bio')) +``` + +The first `label` element should have a `for` attribute with a value of `profile-picture`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(3) label')?.[0]?.matches('label[for="profile-picture"]')) +``` + +The second `label` element should have a `for` attribute with a value of `age`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(3) label')?.[1]?.matches('label[for="age"]')) +``` + +The third `label` element should have a `for` attribute with a value of `referrer`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(3) label')?.[2]?.matches('label[for="referrer"]')) +``` + +The fourth `label` element should have a `for` attribute with a value of `bio`. + +```js +assert(document.querySelectorAll('fieldset:nth-of-type(3) label')?.[3]?.matches('label[for="bio"]')) +``` + +# --seed-- + +## --seed-contents-- + +```html + + + + + Registration Form + + + +

Registration Form

+

Please fill out this form with the required information

+
+
+ + + + +
+
+ + + +
+--fcc-editable-region-- +
+ + + + +
+--fcc-editable-region-- + +
+ + +``` + +```css +body { + width: 100%; + height: 100vh; + margin: 0; + background-color: #1b1b32; + color: #f5f6f7; +} + +label { + display: block; + margin: 0.5rem 0; +} + +```