diff --git a/curriculum/challenges/english/25-front-end-development/review-html-tables-and-forms/671a872c17382a582e455c4c.md b/curriculum/challenges/english/25-front-end-development/review-html-tables-and-forms/671a872c17382a582e455c4c.md index d0c3e2b52af..06be2f49956 100644 --- a/curriculum/challenges/english/25-front-end-development/review-html-tables-and-forms/671a872c17382a582e455c4c.md +++ b/curriculum/challenges/english/25-front-end-development/review-html-tables-and-forms/671a872c17382a582e455c4c.md @@ -23,6 +23,7 @@ dashedName: review-html-tables-and-forms - **`type` attribute**: used to specify the type of input field. Ex. `text`, `email`, `number`, `radio`, `checkbox`, etc. - **`placeholder` attribute**: used to show a hint to the user to show them what to enter in the input field. - **`value` attribute**: used to specify the value of the input. If the input has a `button` type, the `value` attribute can be used to set the button text. +- **`name` attribute**: used to assign a name to an input field, which serves as the key when form data is submitted. For radio buttons, giving them the same `name` groups them together, so only one option in the group can be selected at a time. - **`size` attribute**: used to define the number of characters that should be visible as the user types into the input. - **`min` attribute**: can be used with input types such as `number` to specify the minimum value allowed in the input field. - **`max` attribute**: can be used with input types such as `number` to specify the maximum value allowed in the input field. @@ -98,10 +99,10 @@ dashedName: review-html-tables-and-forms Was this your first time at our hotel? - + - + diff --git a/curriculum/challenges/english/25-front-end-development/review-html/671a883163d5ab5d47145880.md b/curriculum/challenges/english/25-front-end-development/review-html/671a883163d5ab5d47145880.md index d155d971488..2c46c21fcfe 100644 --- a/curriculum/challenges/english/25-front-end-development/review-html/671a883163d5ab5d47145880.md +++ b/curriculum/challenges/english/25-front-end-development/review-html/671a883163d5ab5d47145880.md @@ -114,6 +114,7 @@ Review the concepts below to prepare for the upcoming prep exam. - **`type` attribute**: used to specify the type of input field. Ex. `text`, `email`, `number`, `radio`, `checkbox`, etc. - **`placeholder` attribute**: used to show a hint to the user to show them what to enter in the input field. - **`value` attribute**: used to specify the value of the input. If the input has a `button` type, the `value` attribute can be used to set the button text. +- **`name` attribute**: used to assign a name to an input field, which serves as the key when form data is submitted. For radio buttons, giving them the same `name` groups them together, so only one option in the group can be selected at a time. - **`size` attribute**: used to define the number of characters that should be visible as the user types into the input. - **`min` attribute**: can be used with input types such as `number` to specify the minimum value allowed in the input field. - **`max` attribute**: can be used with input types such as `number` to specify the maximum value allowed in the input field. @@ -189,10 +190,10 @@ Review the concepts below to prepare for the upcoming prep exam. Was this your first time at our hotel? - + - +