From 2e6d5a1d2f80a2684356fd59ac358460b7387107 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Mon, 5 Sep 2016 04:00:59 -0700 Subject: [PATCH] Clarify Everything Be True on truthy and falsy --- seed/bonfireMDNlinks.js | 4 +++- .../intermediate-bonfires.json | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/seed/bonfireMDNlinks.js b/seed/bonfireMDNlinks.js index 4e60fe1e6f..80855ef62e 100644 --- a/seed/bonfireMDNlinks.js +++ b/seed/bonfireMDNlinks.js @@ -93,7 +93,9 @@ var links = { "Arithmetic Operators": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators", "Comparison Operators": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators", "Details of the Object Model": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", - "For Loops": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for" + "For Loops": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for", + "Truthy": "https://developer.mozilla.org/en-US/docs/Glossary/Truthy", + "Falsy": "https://developer.mozilla.org/en-US/docs/Glossary/Falsy" }; module.exports = links; diff --git a/seed/challenges/01-front-end-development-certification/intermediate-bonfires.json b/seed/challenges/01-front-end-development-certification/intermediate-bonfires.json index b5fcc069df..e7d408fc85 100644 --- a/seed/challenges/01-front-end-development-certification/intermediate-bonfires.json +++ b/seed/challenges/01-front-end-development-certification/intermediate-bonfires.json @@ -1049,8 +1049,10 @@ "id": "a10d2431ad0c6a099a4b8b52", "title": "Everything Be True", "description": [ - "Check if the predicate (second argument) is truthy on all elements of a collection (first argument).", - "Remember, you can access object properties through either dot notation or [] notation.", + "Check if the predicate (second argument) is truthy on all elements of a collection (first argument).", + "In other words, you are given an array collection of objects. The predicate pre will be an object property and you need to return true if its value is truthy. Otherwise, return false.", + "In JavaScript, truthy values are values that translate to true when evaluated in a Boolean context.", + "Remember, you can access object properties through either dot notation or [] notation.", "Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code." ], "challengeSeed": [ @@ -1077,6 +1079,10 @@ ], "isRequired": true, "type": "bonfire", + "MDNlinks": [ + "Truthy", + "Falsy" + ], "challengeType": 5, "translations": { "es": {