diff --git a/curriculum/challenges/_meta/learn-form-validation-by-building-a-calorie-counter/meta.json b/curriculum/challenges/_meta/learn-form-validation-by-building-a-calorie-counter/meta.json index 4036ea8d015..531ea004f94 100644 --- a/curriculum/challenges/_meta/learn-form-validation-by-building-a-calorie-counter/meta.json +++ b/curriculum/challenges/_meta/learn-form-validation-by-building-a-calorie-counter/meta.json @@ -157,240 +157,244 @@ "title": "Step 37" }, { - "id": "63bf5cf03b50bf36cfbe94ea", + "id": "670ea2c4f42def724c77e3c7", "title": "Step 38" }, { - "id": "63c1dfbd56c71e278800010c", + "id": "63bf5cf03b50bf36cfbe94ea", "title": "Step 39" }, { - "id": "63c1e0af28078f2dfad9eb3e", + "id": "63c1dfbd56c71e278800010c", "title": "Step 40" }, { - "id": "63c1e1965a898d302e0af4e3", + "id": "63c1e0af28078f2dfad9eb3e", "title": "Step 41" }, { - "id": "63c1e5b4b3c8a031def3bd65", + "id": "63c1e1965a898d302e0af4e3", "title": "Step 42" }, { - "id": "63c1e704ee12703347625900", + "id": "63c1e5b4b3c8a031def3bd65", "title": "Step 43" }, { - "id": "63c2164c0df38a382062c4af", + "id": "63c1e704ee12703347625900", "title": "Step 44" }, { - "id": "63c216da562fbb3957b9cb2c", + "id": "63c2164c0df38a382062c4af", "title": "Step 45" }, { - "id": "63c2171c1e5b6e3aa51768d0", + "id": "63c216da562fbb3957b9cb2c", "title": "Step 46" }, { - "id": "63c21774193de43bbc6a769f", + "id": "63c2171c1e5b6e3aa51768d0", "title": "Step 47" }, { - "id": "63c217ccd939053ce4fa16d6", + "id": "63c21774193de43bbc6a769f", "title": "Step 48" }, { - "id": "63c21839f56eaf3ef4e027c4", + "id": "63c217ccd939053ce4fa16d6", "title": "Step 49" }, { - "id": "63c2187f55eb0f400269568f", + "id": "63c21839f56eaf3ef4e027c4", "title": "Step 50" }, { - "id": "63c218c028c56a411b2a379a", + "id": "63c2187f55eb0f400269568f", "title": "Step 51" }, { - "id": "63c21dea919c8e4adb0df8e8", + "id": "63c218c028c56a411b2a379a", "title": "Step 52" }, { - "id": "63c2194dce265f429300c8b1", + "id": "63c21dea919c8e4adb0df8e8", "title": "Step 53" }, { - "id": "63c21c17fa8fd6447ff0389d", + "id": "63c2194dce265f429300c8b1", "title": "Step 54" }, { - "id": "63c21cd2c34541469f5700a9", + "id": "63c21c17fa8fd6447ff0389d", "title": "Step 55" }, { - "id": "63c21d4f48267a47c2946788", + "id": "63c21cd2c34541469f5700a9", "title": "Step 56" }, { - "id": "63c8ab51214c8c1f1b9a49f7", + "id": "63c21d4f48267a47c2946788", "title": "Step 57" }, { - "id": "63c8ad0cd8f1e5201c4ef2e4", + "id": "63c8ab51214c8c1f1b9a49f7", "title": "Step 58" }, { - "id": "63c8b0187cceff21c8389543", + "id": "63c8ad0cd8f1e5201c4ef2e4", "title": "Step 59" }, { - "id": "63c8be904ffff922f3c6f8d0", + "id": "63c8b0187cceff21c8389543", "title": "Step 60" }, { - "id": "63c8c00bfb671b23f9de4159", + "id": "63c8be904ffff922f3c6f8d0", "title": "Step 61" }, { - "id": "63c8c15fd337ad24b9b68049", + "id": "63c8c00bfb671b23f9de4159", "title": "Step 62" }, { - "id": "63c9bc53735149084390e5d0", + "id": "63c8c15fd337ad24b9b68049", "title": "Step 63" }, { - "id": "63c9bcc26219e7090da0f549", + "id": "63c9bc53735149084390e5d0", "title": "Step 64" }, { - "id": "63c9bce376ca4f09c15a3768", + "id": "63c9bcc26219e7090da0f549", "title": "Step 65" }, { - "id": "63c9bdd916e0c10af01ed8d7", + "id": "63c9bce376ca4f09c15a3768", "title": "Step 66" }, { - "id": "63c9be334f4a050c0b94bc93", + "id": "63c9bdd916e0c10af01ed8d7", "title": "Step 67" }, { - "id": "63c9bef7fec05c0d38853828", + "id": "63c9be334f4a050c0b94bc93", "title": "Step 68" }, { - "id": "63c9bf80558d780e848b2987", + "id": "63c9bef7fec05c0d38853828", "title": "Step 69" }, { - "id": "63c9c09a7daa4f0ff92c4023", + "id": "63c9bf80558d780e848b2987", "title": "Step 70" }, { - "id": "63c9c0d0857f0a10a57af936", + "id": "63c9c09a7daa4f0ff92c4023", "title": "Step 71" }, { - "id": "63c9c11a0a090311dff55564", + "id": "63c9c0d0857f0a10a57af936", "title": "Step 72" }, { - "id": "63c9c16dd75dd212dc12363c", + "id": "63c9c11a0a090311dff55564", "title": "Step 73" }, { - "id": "63c9c1ef134f3513e751c975", + "id": "63c9c16dd75dd212dc12363c", "title": "Step 74" }, { - "id": "63c9e3a83bb3e61a80eea564", + "id": "63c9c1ef134f3513e751c975", "title": "Step 75" }, { - "id": "63c9e45519caf31b987fbb5f", + "id": "63c9e3a83bb3e61a80eea564", "title": "Step 76" }, { - "id": "63c9e4d2ff41811dd640504f", + "id": "63c9e45519caf31b987fbb5f", "title": "Step 77" }, { - "id": "63c9e51b3a007a1eba1cd0f6", + "id": "63c9e4d2ff41811dd640504f", "title": "Step 78" }, { - "id": "63c9e55b4b06c11fff555c64", + "id": "63c9e51b3a007a1eba1cd0f6", "title": "Step 79" }, { - "id": "63c9e5eea8261d22856ead1c", + "id": "63c9e55b4b06c11fff555c64", "title": "Step 80" }, { - "id": "63c9e63bb1e32d23b6adbe44", + "id": "63c9e5eea8261d22856ead1c", "title": "Step 81" }, { - "id": "63c9e6b7c0303524af2d0bc2", + "id": "63c9e63bb1e32d23b6adbe44", "title": "Step 82" }, { - "id": "63c9e769df38c92635c158ba", + "id": "63c9e6b7c0303524af2d0bc2", "title": "Step 83" }, { - "id": "63c9e7d5b21eee2776ecc226", + "id": "63c9e769df38c92635c158ba", "title": "Step 84" }, { - "id": "63c9e84c9fe8ca28c4101189", + "id": "63c9e7d5b21eee2776ecc226", "title": "Step 85" }, { - "id": "63c9e8fe3a6f022a05a04675", + "id": "63c9e84c9fe8ca28c4101189", "title": "Step 86" }, { - "id": "63c9e94e9df7d72aed1c24bd", + "id": "63c9e8fe3a6f022a05a04675", "title": "Step 87" }, { - "id": "63c9ea23dbadbf2c2764e3f5", + "id": "63c9e94e9df7d72aed1c24bd", "title": "Step 88" }, { - "id": "63c9ea9b16430f2d54522464", + "id": "63c9ea23dbadbf2c2764e3f5", "title": "Step 89" }, { - "id": "63c9eb09bcfaa72e3da820a1", + "id": "63c9ea9b16430f2d54522464", "title": "Step 90" }, { - "id": "63c9eb4a5d68f12f32d9b440", + "id": "63c9eb09bcfaa72e3da820a1", "title": "Step 91" }, { - "id": "63c9ebb7b12bca3025b0a935", + "id": "63c9eb4a5d68f12f32d9b440", "title": "Step 92" }, { - "id": "63c9ec044acedf312c4974ff", + "id": "63c9ebb7b12bca3025b0a935", "title": "Step 93" }, { - "id": "63c9f24afbc9cf324dcaa9a4", + "id": "63c9ec044acedf312c4974ff", "title": "Step 94" }, { - "id": "63c9f28bda3e3f336e21b6b4", + "id": "63c9f24afbc9cf324dcaa9a4", "title": "Step 95" }, { - "id": "63c9f2bff625af342023512c", + "id": "63c9f28bda3e3f336e21b6b4", "title": "Step 96" + }, + { + "id": "63c9f2bff625af342023512c", + "title": "Step 97" } ] } diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63bf5cf03b50bf36cfbe94ea.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63bf5cf03b50bf36cfbe94ea.md index 1d6f96500ee..7ffde085e1a 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63bf5cf03b50bf36cfbe94ea.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63bf5cf03b50bf36cfbe94ea.md @@ -1,16 +1,24 @@ --- id: 63bf5cf03b50bf36cfbe94ea -title: Step 38 +title: Step 39 challengeType: 0 -dashedName: step-38 +dashedName: step-39 --- # --description-- +Now that you have finished testing the value of `entryDropdown.value`, you can remove the `console.log` statement. + Your next step is to allow users to add entries to the calorie counter. Declare an empty function `addEntry`. This function should not take any parameters. # --hints-- +You should remove the `console.log` statement. + +```js +assert.notMatch(code, /console\.log\s*\(.*\)/) +``` + You should declare an `addEntry` function. ```js @@ -207,6 +215,6 @@ function isInvalidInput(str) { } --fcc-editable-region-- - +console.log(entryDropdown.value) --fcc-editable-region-- ``` diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1dfbd56c71e278800010c.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1dfbd56c71e278800010c.md index 64264d64d74..e598d43d16e 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1dfbd56c71e278800010c.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1dfbd56c71e278800010c.md @@ -1,8 +1,8 @@ --- id: 63c1dfbd56c71e278800010c -title: Step 39 +title: Step 40 challengeType: 0 -dashedName: step-39 +dashedName: step-40 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e0af28078f2dfad9eb3e.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e0af28078f2dfad9eb3e.md index 931f778e12a..9305aa16292 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e0af28078f2dfad9eb3e.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e0af28078f2dfad9eb3e.md @@ -1,8 +1,8 @@ --- id: 63c1e0af28078f2dfad9eb3e -title: Step 40 +title: Step 41 challengeType: 0 -dashedName: step-40 +dashedName: step-41 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e1965a898d302e0af4e3.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e1965a898d302e0af4e3.md index 07d7b8dc503..0db9923e970 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e1965a898d302e0af4e3.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e1965a898d302e0af4e3.md @@ -1,8 +1,8 @@ --- id: 63c1e1965a898d302e0af4e3 -title: Step 41 +title: Step 42 challengeType: 0 -dashedName: step-41 +dashedName: step-42 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e5b4b3c8a031def3bd65.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e5b4b3c8a031def3bd65.md index 012530a90c8..faaf09d8543 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e5b4b3c8a031def3bd65.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e5b4b3c8a031def3bd65.md @@ -1,8 +1,8 @@ --- id: 63c1e5b4b3c8a031def3bd65 -title: Step 42 +title: Step 43 challengeType: 0 -dashedName: step-42 +dashedName: step-43 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e704ee12703347625900.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e704ee12703347625900.md index deef7a6811f..fdf1366b603 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e704ee12703347625900.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c1e704ee12703347625900.md @@ -1,8 +1,8 @@ --- id: 63c1e704ee12703347625900 -title: Step 43 +title: Step 44 challengeType: 0 -dashedName: step-43 +dashedName: step-44 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2164c0df38a382062c4af.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2164c0df38a382062c4af.md index ec0d3abae2f..b34c9cbe6a4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2164c0df38a382062c4af.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2164c0df38a382062c4af.md @@ -1,8 +1,8 @@ --- id: 63c2164c0df38a382062c4af -title: Step 44 +title: Step 45 challengeType: 0 -dashedName: step-44 +dashedName: step-45 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c216da562fbb3957b9cb2c.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c216da562fbb3957b9cb2c.md index 99c133bf78a..8d73f7e160b 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c216da562fbb3957b9cb2c.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c216da562fbb3957b9cb2c.md @@ -1,8 +1,8 @@ --- id: 63c216da562fbb3957b9cb2c -title: Step 45 +title: Step 46 challengeType: 0 -dashedName: step-45 +dashedName: step-46 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2171c1e5b6e3aa51768d0.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2171c1e5b6e3aa51768d0.md index 6b95beca21b..b3ed3a01589 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2171c1e5b6e3aa51768d0.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2171c1e5b6e3aa51768d0.md @@ -1,8 +1,8 @@ --- id: 63c2171c1e5b6e3aa51768d0 -title: Step 46 +title: Step 47 challengeType: 0 -dashedName: step-46 +dashedName: step-47 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21774193de43bbc6a769f.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21774193de43bbc6a769f.md index f7dc49e1f1c..8d50c8c11cc 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21774193de43bbc6a769f.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21774193de43bbc6a769f.md @@ -1,8 +1,8 @@ --- id: 63c21774193de43bbc6a769f -title: Step 47 +title: Step 48 challengeType: 0 -dashedName: step-47 +dashedName: step-48 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md index 2accb92f3e7..41e419b3aad 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md @@ -1,8 +1,8 @@ --- id: 63c217ccd939053ce4fa16d6 -title: Step 48 +title: Step 49 challengeType: 0 -dashedName: step-48 +dashedName: step-49 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21839f56eaf3ef4e027c4.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21839f56eaf3ef4e027c4.md index 861c45660cf..50f0e29dc44 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21839f56eaf3ef4e027c4.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21839f56eaf3ef4e027c4.md @@ -1,8 +1,8 @@ --- id: 63c21839f56eaf3ef4e027c4 -title: Step 49 +title: Step 50 challengeType: 0 -dashedName: step-49 +dashedName: step-50 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2187f55eb0f400269568f.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2187f55eb0f400269568f.md index 0438b2d608a..3c060545312 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2187f55eb0f400269568f.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2187f55eb0f400269568f.md @@ -1,8 +1,8 @@ --- id: 63c2187f55eb0f400269568f -title: Step 50 +title: Step 51 challengeType: 0 -dashedName: step-50 +dashedName: step-51 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c218c028c56a411b2a379a.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c218c028c56a411b2a379a.md index 2c59928354c..10c1d269dc1 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c218c028c56a411b2a379a.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c218c028c56a411b2a379a.md @@ -1,8 +1,8 @@ --- id: 63c218c028c56a411b2a379a -title: Step 51 +title: Step 52 challengeType: 0 -dashedName: step-51 +dashedName: step-52 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2194dce265f429300c8b1.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2194dce265f429300c8b1.md index ee5c6167eb6..ac720392c3b 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2194dce265f429300c8b1.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c2194dce265f429300c8b1.md @@ -1,8 +1,8 @@ --- id: 63c2194dce265f429300c8b1 -title: Step 53 +title: Step 54 challengeType: 0 -dashedName: step-53 +dashedName: step-54 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21c17fa8fd6447ff0389d.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21c17fa8fd6447ff0389d.md index 96cd5f65337..3be42cda5ae 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21c17fa8fd6447ff0389d.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21c17fa8fd6447ff0389d.md @@ -1,8 +1,8 @@ --- id: 63c21c17fa8fd6447ff0389d -title: Step 54 +title: Step 55 challengeType: 0 -dashedName: step-54 +dashedName: step-55 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21cd2c34541469f5700a9.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21cd2c34541469f5700a9.md index 019a3499de2..3f4fbc08211 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21cd2c34541469f5700a9.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21cd2c34541469f5700a9.md @@ -1,8 +1,8 @@ --- id: 63c21cd2c34541469f5700a9 -title: Step 55 +title: Step 56 challengeType: 0 -dashedName: step-55 +dashedName: step-56 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21d4f48267a47c2946788.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21d4f48267a47c2946788.md index 8f3cf8ae443..87e96c662d4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21d4f48267a47c2946788.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21d4f48267a47c2946788.md @@ -1,8 +1,8 @@ --- id: 63c21d4f48267a47c2946788 -title: Step 56 +title: Step 57 challengeType: 0 -dashedName: step-56 +dashedName: step-57 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21dea919c8e4adb0df8e8.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21dea919c8e4adb0df8e8.md index a79224f637f..e29e4f0db88 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21dea919c8e4adb0df8e8.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c21dea919c8e4adb0df8e8.md @@ -1,8 +1,8 @@ --- id: 63c21dea919c8e4adb0df8e8 -title: Step 52 +title: Step 53 challengeType: 0 -dashedName: step-52 +dashedName: step-53 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ab51214c8c1f1b9a49f7.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ab51214c8c1f1b9a49f7.md index 33424fd17ae..2cdf17b0611 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ab51214c8c1f1b9a49f7.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ab51214c8c1f1b9a49f7.md @@ -1,8 +1,8 @@ --- id: 63c8ab51214c8c1f1b9a49f7 -title: Step 57 +title: Step 58 challengeType: 0 -dashedName: step-57 +dashedName: step-58 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ad0cd8f1e5201c4ef2e4.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ad0cd8f1e5201c4ef2e4.md index c845a69f301..dffdba8b134 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ad0cd8f1e5201c4ef2e4.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8ad0cd8f1e5201c4ef2e4.md @@ -1,8 +1,8 @@ --- id: 63c8ad0cd8f1e5201c4ef2e4 -title: Step 58 +title: Step 59 challengeType: 0 -dashedName: step-58 +dashedName: step-59 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8b0187cceff21c8389543.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8b0187cceff21c8389543.md index d8835e34687..80382f568c4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8b0187cceff21c8389543.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8b0187cceff21c8389543.md @@ -1,8 +1,8 @@ --- id: 63c8b0187cceff21c8389543 -title: Step 59 +title: Step 60 challengeType: 0 -dashedName: step-59 +dashedName: step-60 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8be904ffff922f3c6f8d0.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8be904ffff922f3c6f8d0.md index a233116560a..872511abcac 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8be904ffff922f3c6f8d0.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8be904ffff922f3c6f8d0.md @@ -1,8 +1,8 @@ --- id: 63c8be904ffff922f3c6f8d0 -title: Step 60 +title: Step 61 challengeType: 0 -dashedName: step-60 +dashedName: step-61 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c00bfb671b23f9de4159.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c00bfb671b23f9de4159.md index c98d05125d4..3251f84e5de 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c00bfb671b23f9de4159.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c00bfb671b23f9de4159.md @@ -1,8 +1,8 @@ --- id: 63c8c00bfb671b23f9de4159 -title: Step 61 +title: Step 62 challengeType: 0 -dashedName: step-61 +dashedName: step-62 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c15fd337ad24b9b68049.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c15fd337ad24b9b68049.md index 638187d30fc..bc53afadf80 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c15fd337ad24b9b68049.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c8c15fd337ad24b9b68049.md @@ -1,8 +1,8 @@ --- id: 63c8c15fd337ad24b9b68049 -title: Step 62 +title: Step 63 challengeType: 0 -dashedName: step-62 +dashedName: step-63 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bc53735149084390e5d0.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bc53735149084390e5d0.md index 01769d5c6f0..9d5c80211d4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bc53735149084390e5d0.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bc53735149084390e5d0.md @@ -1,8 +1,8 @@ --- id: 63c9bc53735149084390e5d0 -title: Step 63 +title: Step 64 challengeType: 0 -dashedName: step-63 +dashedName: step-64 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bcc26219e7090da0f549.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bcc26219e7090da0f549.md index ae4ac9163a9..3a1fd738862 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bcc26219e7090da0f549.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bcc26219e7090da0f549.md @@ -1,8 +1,8 @@ --- id: 63c9bcc26219e7090da0f549 -title: Step 64 +title: Step 65 challengeType: 0 -dashedName: step-64 +dashedName: step-65 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bce376ca4f09c15a3768.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bce376ca4f09c15a3768.md index 01ce935bea1..dc3894783f9 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bce376ca4f09c15a3768.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bce376ca4f09c15a3768.md @@ -1,8 +1,8 @@ --- id: 63c9bce376ca4f09c15a3768 -title: Step 65 +title: Step 66 challengeType: 0 -dashedName: step-65 +dashedName: step-66 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bdd916e0c10af01ed8d7.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bdd916e0c10af01ed8d7.md index 2a32188a788..03cffca1435 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bdd916e0c10af01ed8d7.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bdd916e0c10af01ed8d7.md @@ -1,8 +1,8 @@ --- id: 63c9bdd916e0c10af01ed8d7 -title: Step 66 +title: Step 67 challengeType: 0 -dashedName: step-66 +dashedName: step-67 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9be334f4a050c0b94bc93.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9be334f4a050c0b94bc93.md index 59e5d057a01..47ce7b1b28f 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9be334f4a050c0b94bc93.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9be334f4a050c0b94bc93.md @@ -1,8 +1,8 @@ --- id: 63c9be334f4a050c0b94bc93 -title: Step 67 +title: Step 68 challengeType: 0 -dashedName: step-67 +dashedName: step-68 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bef7fec05c0d38853828.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bef7fec05c0d38853828.md index 10c19d0d4f7..113a5d7028d 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bef7fec05c0d38853828.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bef7fec05c0d38853828.md @@ -1,8 +1,8 @@ --- id: 63c9bef7fec05c0d38853828 -title: Step 68 +title: Step 69 challengeType: 0 -dashedName: step-68 +dashedName: step-69 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bf80558d780e848b2987.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bf80558d780e848b2987.md index b35e89e4abb..1d8e6804984 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bf80558d780e848b2987.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9bf80558d780e848b2987.md @@ -1,8 +1,8 @@ --- id: 63c9bf80558d780e848b2987 -title: Step 69 +title: Step 70 challengeType: 0 -dashedName: step-69 +dashedName: step-70 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c09a7daa4f0ff92c4023.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c09a7daa4f0ff92c4023.md index 91733e1ca64..9d7d7ee6764 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c09a7daa4f0ff92c4023.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c09a7daa4f0ff92c4023.md @@ -1,8 +1,8 @@ --- id: 63c9c09a7daa4f0ff92c4023 -title: Step 70 +title: Step 71 challengeType: 0 -dashedName: step-70 +dashedName: step-71 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c0d0857f0a10a57af936.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c0d0857f0a10a57af936.md index a925ce5a2eb..d8dcd4fdc25 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c0d0857f0a10a57af936.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c0d0857f0a10a57af936.md @@ -1,8 +1,8 @@ --- id: 63c9c0d0857f0a10a57af936 -title: Step 71 +title: Step 72 challengeType: 0 -dashedName: step-71 +dashedName: step-72 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c11a0a090311dff55564.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c11a0a090311dff55564.md index ed4ffe7e45a..1cd4e67e3a1 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c11a0a090311dff55564.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c11a0a090311dff55564.md @@ -1,8 +1,8 @@ --- id: 63c9c11a0a090311dff55564 -title: Step 72 +title: Step 73 challengeType: 0 -dashedName: step-72 +dashedName: step-73 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c16dd75dd212dc12363c.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c16dd75dd212dc12363c.md index 723192882a6..78e0b9596d5 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c16dd75dd212dc12363c.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c16dd75dd212dc12363c.md @@ -1,8 +1,8 @@ --- id: 63c9c16dd75dd212dc12363c -title: Step 73 +title: Step 74 challengeType: 0 -dashedName: step-73 +dashedName: step-74 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c1ef134f3513e751c975.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c1ef134f3513e751c975.md index a5ba668c7e9..c0c72261a5a 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c1ef134f3513e751c975.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9c1ef134f3513e751c975.md @@ -1,8 +1,8 @@ --- id: 63c9c1ef134f3513e751c975 -title: Step 74 +title: Step 75 challengeType: 0 -dashedName: step-74 +dashedName: step-75 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e3a83bb3e61a80eea564.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e3a83bb3e61a80eea564.md index da919162bc8..f4dcaf25e05 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e3a83bb3e61a80eea564.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e3a83bb3e61a80eea564.md @@ -1,8 +1,8 @@ --- id: 63c9e3a83bb3e61a80eea564 -title: Step 75 +title: Step 76 challengeType: 0 -dashedName: step-75 +dashedName: step-76 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e45519caf31b987fbb5f.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e45519caf31b987fbb5f.md index 3753cced982..8b08882b10b 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e45519caf31b987fbb5f.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e45519caf31b987fbb5f.md @@ -1,8 +1,8 @@ --- id: 63c9e45519caf31b987fbb5f -title: Step 76 +title: Step 77 challengeType: 0 -dashedName: step-76 +dashedName: step-77 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e4d2ff41811dd640504f.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e4d2ff41811dd640504f.md index fa088c10a07..307301c34b6 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e4d2ff41811dd640504f.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e4d2ff41811dd640504f.md @@ -1,8 +1,8 @@ --- id: 63c9e4d2ff41811dd640504f -title: Step 77 +title: Step 78 challengeType: 0 -dashedName: step-77 +dashedName: step-78 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e51b3a007a1eba1cd0f6.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e51b3a007a1eba1cd0f6.md index 27e6b14a2b1..05175497356 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e51b3a007a1eba1cd0f6.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e51b3a007a1eba1cd0f6.md @@ -1,8 +1,8 @@ --- id: 63c9e51b3a007a1eba1cd0f6 -title: Step 78 +title: Step 79 challengeType: 0 -dashedName: step-78 +dashedName: step-79 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e55b4b06c11fff555c64.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e55b4b06c11fff555c64.md index f463c2eb0c4..fb6129cf14f 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e55b4b06c11fff555c64.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e55b4b06c11fff555c64.md @@ -1,8 +1,8 @@ --- id: 63c9e55b4b06c11fff555c64 -title: Step 79 +title: Step 80 challengeType: 0 -dashedName: step-79 +dashedName: step-80 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e5eea8261d22856ead1c.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e5eea8261d22856ead1c.md index bc8eff57c20..2f6b81a40eb 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e5eea8261d22856ead1c.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e5eea8261d22856ead1c.md @@ -1,8 +1,8 @@ --- id: 63c9e5eea8261d22856ead1c -title: Step 80 +title: Step 81 challengeType: 0 -dashedName: step-80 +dashedName: step-81 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e63bb1e32d23b6adbe44.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e63bb1e32d23b6adbe44.md index 8929c670551..921dee9fd77 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e63bb1e32d23b6adbe44.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e63bb1e32d23b6adbe44.md @@ -1,8 +1,8 @@ --- id: 63c9e63bb1e32d23b6adbe44 -title: Step 81 +title: Step 82 challengeType: 0 -dashedName: step-81 +dashedName: step-82 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e6b7c0303524af2d0bc2.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e6b7c0303524af2d0bc2.md index 5b32ac6fa6a..88ce9876a6f 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e6b7c0303524af2d0bc2.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e6b7c0303524af2d0bc2.md @@ -1,8 +1,8 @@ --- id: 63c9e6b7c0303524af2d0bc2 -title: Step 82 +title: Step 83 challengeType: 0 -dashedName: step-82 +dashedName: step-83 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e769df38c92635c158ba.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e769df38c92635c158ba.md index fbdd18fc47e..a6afb7b41e9 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e769df38c92635c158ba.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e769df38c92635c158ba.md @@ -1,8 +1,8 @@ --- id: 63c9e769df38c92635c158ba -title: Step 83 +title: Step 84 challengeType: 0 -dashedName: step-83 +dashedName: step-84 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e7d5b21eee2776ecc226.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e7d5b21eee2776ecc226.md index 29ca4c7cdbc..9b1440878b9 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e7d5b21eee2776ecc226.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e7d5b21eee2776ecc226.md @@ -1,8 +1,8 @@ --- id: 63c9e7d5b21eee2776ecc226 -title: Step 84 +title: Step 85 challengeType: 0 -dashedName: step-84 +dashedName: step-85 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e84c9fe8ca28c4101189.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e84c9fe8ca28c4101189.md index 351cd4f0d79..8870adf5026 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e84c9fe8ca28c4101189.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e84c9fe8ca28c4101189.md @@ -1,8 +1,8 @@ --- id: 63c9e84c9fe8ca28c4101189 -title: Step 85 +title: Step 86 challengeType: 0 -dashedName: step-85 +dashedName: step-86 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e8fe3a6f022a05a04675.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e8fe3a6f022a05a04675.md index 970ff23df9e..e0db1f93579 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e8fe3a6f022a05a04675.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e8fe3a6f022a05a04675.md @@ -1,8 +1,8 @@ --- id: 63c9e8fe3a6f022a05a04675 -title: Step 86 +title: Step 87 challengeType: 0 -dashedName: step-86 +dashedName: step-87 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e94e9df7d72aed1c24bd.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e94e9df7d72aed1c24bd.md index b4d337e5eb7..805b8351f55 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e94e9df7d72aed1c24bd.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9e94e9df7d72aed1c24bd.md @@ -1,8 +1,8 @@ --- id: 63c9e94e9df7d72aed1c24bd -title: Step 87 +title: Step 88 challengeType: 0 -dashedName: step-87 +dashedName: step-88 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea23dbadbf2c2764e3f5.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea23dbadbf2c2764e3f5.md index b27efc47408..819fd0a8706 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea23dbadbf2c2764e3f5.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea23dbadbf2c2764e3f5.md @@ -1,8 +1,8 @@ --- id: 63c9ea23dbadbf2c2764e3f5 -title: Step 88 +title: Step 89 challengeType: 0 -dashedName: step-88 +dashedName: step-89 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea9b16430f2d54522464.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea9b16430f2d54522464.md index 6fb5ab88eb6..ba6d670ce28 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea9b16430f2d54522464.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ea9b16430f2d54522464.md @@ -1,8 +1,8 @@ --- id: 63c9ea9b16430f2d54522464 -title: Step 89 +title: Step 90 challengeType: 0 -dashedName: step-89 +dashedName: step-90 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb09bcfaa72e3da820a1.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb09bcfaa72e3da820a1.md index 7637e397715..682f17521a4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb09bcfaa72e3da820a1.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb09bcfaa72e3da820a1.md @@ -1,8 +1,8 @@ --- id: 63c9eb09bcfaa72e3da820a1 -title: Step 90 +title: Step 91 challengeType: 0 -dashedName: step-90 +dashedName: step-91 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb4a5d68f12f32d9b440.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb4a5d68f12f32d9b440.md index b2e398dc250..7354fe9e5e3 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb4a5d68f12f32d9b440.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9eb4a5d68f12f32d9b440.md @@ -1,8 +1,8 @@ --- id: 63c9eb4a5d68f12f32d9b440 -title: Step 91 +title: Step 92 challengeType: 0 -dashedName: step-91 +dashedName: step-92 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ebb7b12bca3025b0a935.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ebb7b12bca3025b0a935.md index 2778a334baf..e68d84d83d9 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ebb7b12bca3025b0a935.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ebb7b12bca3025b0a935.md @@ -1,8 +1,8 @@ --- id: 63c9ebb7b12bca3025b0a935 -title: Step 92 +title: Step 93 challengeType: 0 -dashedName: step-92 +dashedName: step-93 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ec044acedf312c4974ff.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ec044acedf312c4974ff.md index 28a4388bce9..0c29e36e253 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ec044acedf312c4974ff.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9ec044acedf312c4974ff.md @@ -1,8 +1,8 @@ --- id: 63c9ec044acedf312c4974ff -title: Step 93 +title: Step 94 challengeType: 0 -dashedName: step-93 +dashedName: step-94 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f24afbc9cf324dcaa9a4.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f24afbc9cf324dcaa9a4.md index 78e521978b5..7ad18083327 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f24afbc9cf324dcaa9a4.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f24afbc9cf324dcaa9a4.md @@ -1,8 +1,8 @@ --- id: 63c9f24afbc9cf324dcaa9a4 -title: Step 94 +title: Step 95 challengeType: 0 -dashedName: step-94 +dashedName: step-95 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f28bda3e3f336e21b6b4.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f28bda3e3f336e21b6b4.md index e99b3b78d75..dd5ee50b825 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f28bda3e3f336e21b6b4.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f28bda3e3f336e21b6b4.md @@ -1,8 +1,8 @@ --- id: 63c9f28bda3e3f336e21b6b4 -title: Step 95 +title: Step 96 challengeType: 0 -dashedName: step-95 +dashedName: step-96 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f2bff625af342023512c.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f2bff625af342023512c.md index 2c5236b9354..0cb02761267 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f2bff625af342023512c.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c9f2bff625af342023512c.md @@ -1,8 +1,8 @@ --- id: 63c9f2bff625af342023512c -title: Step 96 +title: Step 97 challengeType: 0 -dashedName: step-96 +dashedName: step-97 --- # --description-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/670ea2c4f42def724c77e3c7.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/670ea2c4f42def724c77e3c7.md new file mode 100644 index 00000000000..e695af3708f --- /dev/null +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/670ea2c4f42def724c77e3c7.md @@ -0,0 +1,212 @@ +--- +id: 670ea2c4f42def724c77e3c7 +title: Step 38 +challengeType: 0 +dashedName: step-38 +--- + +# --description-- + +Now you need to retrieve the value of `entryDropdown.value` to get the currently selected option from the dropdown. + +Print `entryDropdown.value` to the console to see its value. + +Since `entryDropdown.value` is in a static context (outside of an event listener), it only shows the value at the moment the code runs. This means it won't automatically update as the user interacts with the dropdown. + +It will capture the initial value (in this case, `"breakfast"`) and won't reflect any changes the user makes afterward. + +# --hints-- + +You should use `console.log(entryDropdown.value)` to get the value of `entryDropdown` + +```js +assert.match(code, /console\.log\([^\)]*entryDropdown\.value[^\)]*\)/); +``` + +# --seed-- + +## --seed-contents-- + +```html + + + + + + + Calorie Counter + + +
+

Calorie Counter

+
+
+ + +
+ Breakfast +
+
+
+ Lunch +
+
+
+ Dinner +
+
+
+ Snacks +
+
+
+ Exercise +
+
+
+ + + + + +
+
+ + +
+
+
+
+
+ + + +``` + +```css +:root { + --light-grey: #f5f6f7; + --dark-blue: #0a0a23; + --fcc-blue: #1b1b32; + --light-yellow: #fecc4c; + --dark-yellow: #feac32; + --light-pink: #ffadad; + --dark-red: #850000; + --light-green: #acd157; +} + +body { + font-family: "Lato", Helvetica, Arial, sans-serif; + font-size: 18px; + background-color: var(--fcc-blue); + color: var(--light-grey); +} + +h1 { + text-align: center; +} + +.container { + width: 90%; + max-width: 680px; +} + +h1, +.container, +.output { + margin: 20px auto; +} + +label, +legend { + font-weight: bold; +} + +.input-container { + display: flex; + flex-direction: column; +} + +button { + cursor: pointer; + text-decoration: none; + background-color: var(--light-yellow); + border: 2px solid var(--dark-yellow); +} + +button, +input, +select { + min-height: 24px; + color: var(--dark-blue); +} + +fieldset, +label, +button, +input, +select { + margin-bottom: 10px; +} + +.output { + border: 2px solid var(--light-grey); + padding: 10px; + text-align: center; +} + +.hide { + display: none; +} + +.output span { + font-weight: bold; + font-size: 1.2em; +} + +.surplus { + color: var(--light-pink); +} + +.deficit { + color: var(--light-green); +} +``` + +```js +const calorieCounter = document.getElementById('calorie-counter'); +const budgetNumberInput = document.getElementById('budget'); +const entryDropdown = document.getElementById('entry-dropdown'); +const addEntryButton = document.getElementById('add-entry'); +const clearButton = document.getElementById('clear'); +const output = document.getElementById('output'); +let isError = false; + +function cleanInputString(str) { + const regex = /[+-\s]/g; + return str.replace(regex, ''); +} + +function isInvalidInput(str) { + const regex = /\d+e\d+/i; + return str.match(regex); +} + +--fcc-editable-region-- + +--fcc-editable-region-- +```