Skip to content

Commit 878eafb

Browse files
authored
fix(curriculum): Added extra step in registration form workshop to add missing value attributes to radio buttons (freeCodeCamp#61469)
1 parent 1ddb2f7 commit 878eafb

40 files changed

+274
-193
lines changed

curriculum/challenges/_meta/workshop-registration-form/meta.json

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -97,157 +97,161 @@
9797
"title": "Step 22"
9898
},
9999
{
100-
"id": "60fab4a123ce4b04526b082b",
100+
"id": "6880995521770716269832cf",
101101
"title": "Step 23"
102102
},
103103
{
104-
"id": "65045fa2267ce52da6a73676",
104+
"id": "60fab4a123ce4b04526b082b",
105105
"title": "Step 24"
106106
},
107107
{
108-
"id": "62ff8e998d3e7eae14d6ae3b",
108+
"id": "65045fa2267ce52da6a73676",
109109
"title": "Step 25"
110110
},
111111
{
112-
"id": "60fab8367d35de04e5cb7929",
112+
"id": "62ff8e998d3e7eae14d6ae3b",
113113
"title": "Step 26"
114114
},
115115
{
116-
"id": "60fab9f17fa294054b74228c",
116+
"id": "60fab8367d35de04e5cb7929",
117117
"title": "Step 27"
118118
},
119119
{
120-
"id": "60fabf0dd4959805dbae09e6",
120+
"id": "60fab9f17fa294054b74228c",
121121
"title": "Step 28"
122122
},
123123
{
124-
"id": "60fac4095512d3066053d73c",
124+
"id": "60fabf0dd4959805dbae09e6",
125125
"title": "Step 29"
126126
},
127127
{
128-
"id": "60fac56271087806def55b33",
128+
"id": "60fac4095512d3066053d73c",
129129
"title": "Step 30"
130130
},
131131
{
132-
"id": "60fac8d7fdfaee0796934f20",
132+
"id": "60fac56271087806def55b33",
133133
"title": "Step 31"
134134
},
135135
{
136-
"id": "60faca286cb48b07f6482970",
136+
"id": "60fac8d7fdfaee0796934f20",
137137
"title": "Step 32"
138138
},
139139
{
140-
"id": "60facde2d0dc61085b41063f",
140+
"id": "60faca286cb48b07f6482970",
141141
"title": "Step 33"
142142
},
143143
{
144-
"id": "62ff919a7b5612c0670923a5",
144+
"id": "60facde2d0dc61085b41063f",
145145
"title": "Step 34"
146146
},
147147
{
148-
"id": "60facf914c7b9b08d7510c2c",
148+
"id": "62ff919a7b5612c0670923a5",
149149
"title": "Step 35"
150150
},
151151
{
152-
"id": "60fad0a812d9890938524f50",
152+
"id": "60facf914c7b9b08d7510c2c",
153153
"title": "Step 36"
154154
},
155155
{
156-
"id": "60fad1cafcde010995e15306",
156+
"id": "60fad0a812d9890938524f50",
157157
"title": "Step 37"
158158
},
159159
{
160-
"id": "60fad6dfcc0d930a59becf12",
160+
"id": "60fad1cafcde010995e15306",
161161
"title": "Step 38"
162162
},
163163
{
164-
"id": "60fad8e6148f310bba7890b1",
164+
"id": "60fad6dfcc0d930a59becf12",
165165
"title": "Step 39"
166166
},
167167
{
168-
"id": "60fad99e09f9d30c1657e790",
168+
"id": "60fad8e6148f310bba7890b1",
169169
"title": "Step 40"
170170
},
171171
{
172-
"id": "60fadb18058e950c73925279",
172+
"id": "60fad99e09f9d30c1657e790",
173173
"title": "Step 41"
174174
},
175175
{
176-
"id": "60fadce90f85c50d0bb0dd4f",
176+
"id": "60fadb18058e950c73925279",
177177
"title": "Step 42"
178178
},
179179
{
180-
"id": "62b30924c5e4ef0daba23b5e",
180+
"id": "60fadce90f85c50d0bb0dd4f",
181181
"title": "Step 43"
182182
},
183183
{
184-
"id": "60fadd972e6ffe0d6858fa2d",
184+
"id": "62b30924c5e4ef0daba23b5e",
185185
"title": "Step 44"
186186
},
187187
{
188-
"id": "60fadfa2b540b70dcfa8b771",
188+
"id": "60fadd972e6ffe0d6858fa2d",
189189
"title": "Step 45"
190190
},
191191
{
192-
"id": "60fc219d333e37046f474a6e",
192+
"id": "60fadfa2b540b70dcfa8b771",
193193
"title": "Step 46"
194194
},
195195
{
196-
"id": "60fc22d1e64d1b04cdd4e602",
196+
"id": "60fc219d333e37046f474a6e",
197197
"title": "Step 47"
198198
},
199199
{
200-
"id": "60fc236dc04532052926fdac",
200+
"id": "60fc22d1e64d1b04cdd4e602",
201201
"title": "Step 48"
202202
},
203203
{
204-
"id": "60ffe1bc30415f042faea936",
204+
"id": "60fc236dc04532052926fdac",
205205
"title": "Step 49"
206206
},
207207
{
208-
"id": "60ffe3936796ac04959285a9",
208+
"id": "60ffe1bc30415f042faea936",
209209
"title": "Step 50"
210210
},
211211
{
212-
"id": "60ffe4f4ec18cd04dc470c56",
212+
"id": "60ffe3936796ac04959285a9",
213213
"title": "Step 51"
214214
},
215215
{
216-
"id": "60ffe69ee377c6055e192a46",
216+
"id": "60ffe4f4ec18cd04dc470c56",
217217
"title": "Step 52"
218218
},
219219
{
220-
"id": "60ffe7d8aae62c05bcc9e7eb",
220+
"id": "60ffe69ee377c6055e192a46",
221221
"title": "Step 53"
222222
},
223223
{
224-
"id": "60ffe8a5ceb0e90618db06d9",
224+
"id": "60ffe7d8aae62c05bcc9e7eb",
225225
"title": "Step 54"
226226
},
227227
{
228-
"id": "60ffe947a868ec068f7850f6",
228+
"id": "60ffe8a5ceb0e90618db06d9",
229229
"title": "Step 55"
230230
},
231231
{
232-
"id": "60ffe9cb47809106eda2f2c9",
232+
"id": "60ffe947a868ec068f7850f6",
233233
"title": "Step 56"
234234
},
235235
{
236-
"id": "60ffec2825da1007509ddd06",
236+
"id": "60ffe9cb47809106eda2f2c9",
237237
"title": "Step 57"
238238
},
239239
{
240-
"id": "60ffecefac971607ae73c60f",
240+
"id": "60ffec2825da1007509ddd06",
241241
"title": "Step 58"
242242
},
243243
{
244-
"id": "60ffefd6479a3d084fb77cbc",
244+
"id": "60ffecefac971607ae73c60f",
245245
"title": "Step 59"
246246
},
247247
{
248-
"id": "6537e0be715fcb57d31ba8c3",
248+
"id": "60ffefd6479a3d084fb77cbc",
249249
"title": "Step 60"
250+
},
251+
{
252+
"id": "6537e0be715fcb57d31ba8c3",
253+
"title": "Step 61"
250254
}
251255
],
252256
"helpCategory": "HTML-CSS"
253-
}
257+
}

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fab4a123ce4b04526b082b.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fab4a123ce4b04526b082b
3-
title: Step 23
3+
title: Step 24
44
challengeType: 0
5-
dashedName: step-23
5+
dashedName: step-24
66
---
77

88
# --description--
@@ -62,8 +62,8 @@ assert.isTrue(document.querySelector('fieldset:nth-child(2) input[type="radio"]'
6262
--fcc-editable-region--
6363
<fieldset>
6464

65-
<label><input type="radio" name="account-type" /> Personal</label>
66-
<label><input type="radio" name="account-type" /> Business</label>
65+
<label><input type="radio" name="account-type" value="personal" /> Personal</label>
66+
<label><input type="radio" name="account-type" value="business" /> Business</label>
6767
</fieldset>
6868
--fcc-editable-region--
6969
<fieldset></fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fab8367d35de04e5cb7929.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fab8367d35de04e5cb7929
3-
title: Step 26
3+
title: Step 27
44
challengeType: 0
5-
dashedName: step-26
5+
dashedName: step-27
66
---
77

88
# --description--
@@ -77,8 +77,8 @@ assert.isNotTrue(/^\s+|\s+$/.test(innerContent));
7777
</fieldset>
7878
<fieldset>
7979
<legend>Account type (required)</legend>
80-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
81-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
80+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
81+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
8282
</fieldset>
8383
<fieldset></fieldset>
8484
--fcc-editable-region--

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fab9f17fa294054b74228c.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fab9f17fa294054b74228c
3-
title: Step 27
3+
title: Step 28
44
challengeType: 0
5-
dashedName: step-27
5+
dashedName: step-28
66
---
77

88
# --description--
@@ -55,8 +55,8 @@ assert.equal(document.querySelector('fieldset:nth-child(3) > label > input')?.ty
5555
</fieldset>
5656
<fieldset>
5757
<legend>Account type (required)</legend>
58-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
59-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
58+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
59+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
6060
</fieldset>
6161
--fcc-editable-region--
6262
<fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fabf0dd4959805dbae09e6.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fabf0dd4959805dbae09e6
3-
title: Step 28
3+
title: Step 29
44
challengeType: 0
5-
dashedName: step-28
5+
dashedName: step-29
66
---
77

88
# --description--
@@ -69,8 +69,8 @@ assert.equal(document.querySelector('fieldset:nth-child(3) > label:nth-child(2)
6969
</fieldset>
7070
<fieldset>
7171
<legend>Account type (required)</legend>
72-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
73-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
72+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
73+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
7474
</fieldset>
7575
--fcc-editable-region--
7676
<fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fac4095512d3066053d73c.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fac4095512d3066053d73c
3-
title: Step 29
3+
title: Step 30
44
challengeType: 0
5-
dashedName: step-29
5+
dashedName: step-30
66
---
77

88
# --description--
@@ -49,8 +49,8 @@ assert.lengthOf(document.querySelectorAll('fieldset:nth-child(3) > select > opti
4949
</fieldset>
5050
<fieldset>
5151
<legend>Account type (required)</legend>
52-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
53-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
52+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
53+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
5454
</fieldset>
5555
--fcc-editable-region--
5656
<fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fac56271087806def55b33.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fac56271087806def55b33
3-
title: Step 30
3+
title: Step 31
44
challengeType: 0
5-
dashedName: step-30
5+
dashedName: step-31
66
---
77

88
# --description--
@@ -59,8 +59,8 @@ assert.equal(document.querySelectorAll('fieldset > label > select > option')?.le
5959
</fieldset>
6060
<fieldset>
6161
<legend>Account type (required)</legend>
62-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
63-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
62+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
63+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
6464
</fieldset>
6565
--fcc-editable-region--
6666
<fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60fac8d7fdfaee0796934f20.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60fac8d7fdfaee0796934f20
3-
title: Step 31
3+
title: Step 32
44
challengeType: 0
5-
dashedName: step-31
5+
dashedName: step-32
66
---
77

88
# --description--
@@ -73,8 +73,8 @@ assert.equal(document.querySelectorAll('fieldset:nth-child(3) > label:nth-child(
7373
</fieldset>
7474
<fieldset>
7575
<legend>Account type (required)</legend>
76-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
77-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
76+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
77+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
7878
</fieldset>
7979
--fcc-editable-region--
8080
<fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60faca286cb48b07f6482970.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60faca286cb48b07f6482970
3-
title: Step 32
3+
title: Step 33
44
challengeType: 0
5-
dashedName: step-32
5+
dashedName: step-33
66
---
77

88
# --description--
@@ -67,8 +67,8 @@ assert.equal(document.querySelectorAll('fieldset:nth-child(3) > label:nth-child(
6767
</fieldset>
6868
<fieldset>
6969
<legend>Account type (required)</legend>
70-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked/> Personal</label>
71-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
70+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked/> Personal</label>
71+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
7272
</fieldset>
7373
--fcc-editable-region--
7474
<fieldset>

curriculum/challenges/english/25-front-end-development/workshop-registration-form/60facde2d0dc61085b41063f.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: 60facde2d0dc61085b41063f
3-
title: Step 33
3+
title: Step 34
44
challengeType: 0
5-
dashedName: step-33
5+
dashedName: step-34
66
---
77

88
# --description--
@@ -61,8 +61,8 @@ assert.match(code, /<textarea\s*>[\s\S]*<\/textarea\s*>/);
6161
</fieldset>
6262
<fieldset>
6363
<legend>Account type (required)</legend>
64-
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
65-
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
64+
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
65+
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
6666
</fieldset>
6767
--fcc-editable-region--
6868
<fieldset>

0 commit comments

Comments
 (0)