From 40df14cd1657158dbc56b70246446b4cd4b8521c Mon Sep 17 00:00:00 2001 From: Swapnil Thatte <90109469+SwapnilThatte@users.noreply.github.com> Date: Wed, 1 Mar 2023 22:33:45 +0530 Subject: [PATCH] fix: description and hint of Learn Accessibility by Building a Quiz - Step 41 (#49547) * Update in description 1) Changed description to " Do not forget to give your form a submit button with the text "Send". " 2) Added word "button" in the hint Replaced "submit" with "submit button". * Changed "Send" to `Send` --- .../6145f685797bd30df9784e8c.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f685797bd30df9784e8c.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f685797bd30df9784e8c.md index 2d56b59d3a6..22272ba599d 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f685797bd30df9784e8c.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f685797bd30df9784e8c.md @@ -7,7 +7,7 @@ dashedName: step-41 # --description-- -Do not forget to give your `form` a submit button. +Do not forget to give your `form` a submit button with the text `Send`. # --hints-- @@ -17,25 +17,25 @@ You should add either a `button` or `input` element. assert.exists(document.querySelector('button') || document.querySelector('main > input') || document.querySelector('form > input')); ``` -You should place the submit within the `form` element. +You should place the submit button within the `form` element. ```js assert.exists(document.querySelector('form > button') || document.querySelector('form > input')); ``` -You should place the submit after the last `section` element. +You should place the submit button after the last `section` element. ```js assert.exists(document.querySelector('section:last-of-type + button') || document.querySelector('section:last-of-type + input')); ``` -You should give the submit a `type` of `submit`. +You should give the submit button a `type` of `submit`. ```js assert.exists(document.querySelector('button[type="submit"]') || document.querySelector('form > input[type="submit"]')); ``` -The submit should display the text `Send`. +The submit button should display the text `Send`. ```js assert.equal(document.querySelector('button[type="submit"]')?.textContent ?? document.querySelector('input[type="submit"]')?.value, 'Send');