diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a95d0eff8168747805f1f3.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a95d0eff8168747805f1f3.md index 2efecd7056e..9495ecb2aa2 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a95d0eff8168747805f1f3.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a95d0eff8168747805f1f3.md @@ -23,7 +23,7 @@ Here is an example of how to work with checkboxes dealing with food options: The `value` attribute is used to specify the value that will be sent to the server when the form is submitted. -Below your `legend` element, add a checkbox `input` with the `id`, `name` and `value` attributes set to `"ads"`. +Below your `legend` element, add a checkbox `input` with the `id` and `value` attributes set to `"ads"`, and the `name` attribute set to `"choice"`. Below your checkbox `input`, add a `label` element with the text `Social Media Ads`. The `for` attribute should be set to `"ads"`. @@ -41,10 +41,10 @@ Your checkbox `input` should have an `id` attribute set to `"ads"`. assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) legend + input[type='checkbox']")?.id, "ads"); ``` -Your checkbox `input` should have a `name` attribute set to `"ads"`. +Your checkbox `input` should have a `name` attribute set to `"choice"`. ```js -assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) legend + input[type='checkbox']")?.name, "ads"); +assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) legend + input[type='checkbox']")?.name, "choice"); ``` Your checkbox `input` should have a `value` attribute set to `"ads"`. diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96127422411756204bc1b.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96127422411756204bc1b.md index 3cba467fdcb..cc5cac1774e 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96127422411756204bc1b.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96127422411756204bc1b.md @@ -7,7 +7,7 @@ dashedName: step-20 # --description-- -Add another checkbox `input` with the `id`, `name` and `value` attributes set to `"recommendation"`. +Add another checkbox `input` with the `id`and `value` attributes set to `"recommendation"`, and a `name` attribute set to `"choice"`. Below the checkbox `input`, add another `label` with the text `Personal Recommendation`. The `for` attribute should be set to `"recommendation"`. @@ -25,10 +25,10 @@ Your checkbox `input` should have an `id` attribute set to `"recommendation"`. assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) label + input[type='checkbox']")?.id, "recommendation"); ``` -Your checkbox `input` should have a `name` attribute set to `"recommendation"`. +Your checkbox `input` should have a `name` attribute set to `"choice"`. ```js -assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) label + input[type='checkbox']")?.name, "recommendation"); +assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) label + input[type='checkbox']")?.name, "choice"); ``` Your checkbox `input` should have a `value` attribute set to `"recommendation"`. @@ -107,7 +107,7 @@ assert.strictEqual(document.querySelector('fieldset:nth-of-type(3) input[type="c Why did you choose to stay at our hotel? (Check all that apply) - + --fcc-editable-region-- diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md index 9ef4f3ac3cc..08e8e980e63 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md @@ -7,11 +7,11 @@ dashedName: step-21 # --description-- -Next, add another checkbox `input` with the `id`, `name` and `value` attributes set to `"location"`. +Next, add another checkbox `input` with the `id` and `value` attributes set to `"location"`, and the `name` attribute set to `"choice"`. For the `label` element, the text of `Location` and the `for` attribute should be set to `"location"`. -Below that `label` element, add another checkbox `input` with the `id`, `name` and `value` attributes set to `"reputation"`. +Below that `label` element, add another checkbox `input` with the `id` and `value` attributes set to `"reputation"`, and the `name` attribute set to `"choice"`. For the `label` element, the text of `Reputation` and the `for` attribute should be set to `"reputation"`. @@ -29,10 +29,10 @@ Your third checkbox `input` should have an `id` attribute set to `"location"`. assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) input[type='checkbox']:nth-of-type(3)")?.getAttribute('id'), 'location'); ``` -Your third checkbox `input` should have a `name` attribute set to `"location"`. +Your third checkbox `input` should have a `name` attribute set to `"choice"`. ```js -assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) input[type='checkbox']:nth-of-type(3)")?.getAttribute('name'), 'location'); +assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) input[type='checkbox']:nth-of-type(3)")?.getAttribute('name'), 'choice'); ``` Your third checkbox `input` should have a `value` attribute set to `"location"`. @@ -65,10 +65,10 @@ You should have a fourth checkbox `input` with an `id` attribute set to `"reputa assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) label:nth-of-type(3) + input[type='checkbox']")?.getAttribute('id'), 'reputation'); ``` -Your fourth checkbox `input` should have a `name` attribute set to `"reputation"`. +Your fourth checkbox `input` should have a `name` attribute set to `"choice"`. ```js -assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) label:nth-of-type(3) + input[type='checkbox']")?.getAttribute('name'), 'reputation'); +assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) label:nth-of-type(3) + input[type='checkbox']")?.getAttribute('name'), 'choice'); ``` Your fourth checkbox `input` should have a `value` attribute set to `"reputation"`. @@ -141,13 +141,13 @@ assert.strictEqual(document.querySelector('fieldset:nth-of-type(3) input[value=" Why did you choose to stay at our hotel? (Check all that apply) - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9689b1bf24b7750898a1b.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9689b1bf24b7750898a1b.md index 669696e906f..965b0bf57c9 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9689b1bf24b7750898a1b.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9689b1bf24b7750898a1b.md @@ -7,7 +7,7 @@ dashedName: step-23 # --description-- -For the final `input` and `label` inside this `fieldset`, you will add a checkbox `input` with the `id`, `name` and `value` attributes set to `"price"`. +For the final `input` and `label` inside this `fieldset`, you will add a checkbox `input` with the `id` and `value` attributes set to `"price"`, and a `name` attribute set to `"choice"`. Then, a `label` element with the text `Price` and the `for` attribute set to `"price"`. @@ -27,10 +27,10 @@ Your fifth checkbox `input` should have an `id` attribute set to `"price"`. assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) input[type='checkbox']:nth-of-type(5)")?.getAttribute('id'), 'price'); ``` -Your fifth checkbox `input` should have a `name` attribute set to `"price"`. +Your fifth checkbox `input` should have a `name` attribute set to `"choice"`. ```js -assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) input[type='checkbox']:nth-of-type(5)")?.getAttribute('name'), 'price'); +assert.strictEqual(document.querySelector("fieldset:nth-of-type(3) input[type='checkbox']:nth-of-type(5)")?.getAttribute('name'), 'choice'); ``` Your fifth checkbox `input` should have a `value` attribute set to `"price"`. @@ -103,25 +103,25 @@ assert.strictEqual(document.querySelector('fieldset:nth-of-type(3) input[value=" Why did you choose to stay at our hotel? (Check all that apply) - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a969951120be7818d8ee49.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a969951120be7818d8ee49.md index 1b9c5a8119a..7ad8c2fb869 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a969951120be7818d8ee49.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a969951120be7818d8ee49.md @@ -103,30 +103,30 @@ assert.strictEqual(document.querySelectorAll('fieldset:nth-of-type(4) legend + l Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96b01f33ef178dfca9e42.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96b01f33ef178dfca9e42.md index 72f1dc4c427..0f248151abb 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96b01f33ef178dfca9e42.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a96b01f33ef178dfca9e42.md @@ -95,30 +95,30 @@ assert.exists(document.querySelector('select[id="service"]')); Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a972137acd1179fa3fe8a0.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a972137acd1179fa3fe8a0.md index 9d2a1134f2a..9c8db7edf2e 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a972137acd1179fa3fe8a0.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a972137acd1179fa3fe8a0.md @@ -140,30 +140,30 @@ assert.strictEqual(document.querySelector('option[value="excellent"]')?.textCont Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975260401487af226b290.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975260401487af226b290.md index 157ab1cb6c7..09ddd72ea9e 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975260401487af226b290.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975260401487af226b290.md @@ -77,30 +77,30 @@ assert.exists(document.querySelector('option[value="excellent"][selected]')); Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975c259525b7bc2d5c776.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975c259525b7bc2d5c776.md index daa96b5ca56..edd66538551 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975c259525b7bc2d5c776.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a975c259525b7bc2d5c776.md @@ -91,30 +91,30 @@ assert.exists(document.querySelector('label + select[name="food"]')); Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97ca8c4cbae7d0bb6e0ad.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97ca8c4cbae7d0bb6e0ad.md index b1ace2a01f2..b149328e588 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97ca8c4cbae7d0bb6e0ad.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97ca8c4cbae7d0bb6e0ad.md @@ -149,30 +149,30 @@ assert.exists(document.querySelector('fieldset:nth-of-type(4) select#food option Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97f40ddd40d7deb0618b7.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97f40ddd40d7deb0618b7.md index 3268bdd749e..3514a741b22 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97f40ddd40d7deb0618b7.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a97f40ddd40d7deb0618b7.md @@ -77,30 +77,30 @@ assert.strictEqual(document.querySelector('label[for="comments"]')?.textContent. Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9824ac5d9f77ec304969f.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9824ac5d9f77ec304969f.md index ea9a85231bc..b01b6705ca4 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9824ac5d9f77ec304969f.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9824ac5d9f77ec304969f.md @@ -81,30 +81,30 @@ assert.exists(document.querySelector('label + textarea')); Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9836b339fed7f9a8fe35a.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9836b339fed7f9a8fe35a.md index 109417626cf..49c3595994a 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9836b339fed7f9a8fe35a.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9836b339fed7f9a8fe35a.md @@ -89,30 +89,30 @@ assert.exists(document.querySelector('textarea[rows="10"]')); Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9843525e9fa8046d709b7.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9843525e9fa8046d709b7.md index 104b6a69dcb..5348d1c3147 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9843525e9fa8046d709b7.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66a9843525e9fa8046d709b7.md @@ -87,30 +87,30 @@ assert.strictEqual(document.querySelector('button')?.textContent.trim(), 'Submit Why did you choose to stay at our hotel? (Check all that apply) - + - + - + @@ -199,30 +199,30 @@ assert.strictEqual(document.querySelector('button')?.textContent.trim(), 'Submit Why did you choose to stay at our hotel? (Check all that apply) - + - + - + diff --git a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66ad24c7eb8c121000c603a6.md b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66ad24c7eb8c121000c603a6.md index e42eed31cbb..94b732abac0 100644 --- a/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66ad24c7eb8c121000c603a6.md +++ b/curriculum/challenges/english/blocks/workshop-hotel-feedback-form/66ad24c7eb8c121000c603a6.md @@ -77,22 +77,22 @@ assert.exists(document.querySelector("input#reputation[checked]")); Why did you choose to stay at our hotel? (Check all that apply) - + - + --fcc-editable-region-- - + --fcc-editable-region--