From 7573252fa05438dfb5dbd46301a8cb77a6e44b6d Mon Sep 17 00:00:00 2001 From: lasjorg <28780271+lasjorg@users.noreply.github.com> Date: Fri, 3 May 2019 17:16:50 +0200 Subject: [PATCH] feat(guide): add guide for HTML value attribute challenge (#35783) --- .../index.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 guide/english/certifications/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes/index.md diff --git a/guide/english/certifications/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes/index.md b/guide/english/certifications/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes/index.md new file mode 100644 index 0000000000..d7b19f39e8 --- /dev/null +++ b/guide/english/certifications/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes/index.md @@ -0,0 +1,22 @@ +--- +title: Use the value attribute with Radio Buttons and Checkboxes +--- +## Use the value attribute with Radio Buttons and Checkboxes +To pass the challenge, add the `value` attribute to the `input` elements of type `checkbox` and `radio`. Use the `input` label text, in lowercase, as the value for the attribute. The `value` attribute will make sure the choices are identifiable when the form is submitted. + +Example form with value attributes: +```html +
+ + +
+ + + +
+ +
+ + +
+``` \ No newline at end of file