From 438fc8387b12136624efa06b6d3dc5d7d1d71776 Mon Sep 17 00:00:00 2001 From: Shoaib Akhtar Date: Tue, 24 Oct 2023 23:13:28 +0530 Subject: [PATCH] fix(curriculum): fixed incorrect pre-existing code (#52031) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com> --- .../62ff8e998d3e7eae14d6ae3b.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 index e347ba46d5e..0398a64490f 100644 --- 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 @@ -9,9 +9,9 @@ dashedName: step-30 You need to confirm that the user has read the terms and conditions. -Add `label` element after the third `fieldset`, and a `input` element with `type` attribute of `checkbox` inside the newly added `label` element. Make this `input` element `required` because users should not sign up without reading the terms and conditions. +Add a `label` element. Inside the newly created `label` element add an `input` element and set the `type` attribute to `checkbox`. Make this `input` element `required` so users can not sign up without agreeing to the terms and conditions. -Don't forget to add an `id` attribute of `terms-and-conditions` for accessibility. +Add an `id` and `for` attribute with the value `terms-and-conditions` to the elements for accessibility. # --hints-- @@ -82,7 +82,6 @@ assert(document.querySelector('fieldset:nth-child(3) + label')?.matches('label[f --fcc-editable-region-- --fcc-editable-region-- -