From 69c85396799b239bf72ed65b3d23367f6698b2c9 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Sun, 3 Apr 2016 05:11:40 -0700 Subject: [PATCH] Simplify temp convert challenge - Make grammar changes - Add code tags to numbers - Add note to calm students about foreign function and return statements - Add spaces in seed code to align code with indents - Remove unnecessary code from seed code --- .../basic-javascript.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 55ead0dcc1..daf398ec1a 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -853,22 +853,19 @@ "id": "56533eb9ac21ba0edf2244b3", "title": "Convert Celsius to Fahrenheit", "description": [ - "To test your learning you will create a solution \"from scratch\". Place your code between the indicated lines and it will be tested against multiple test cases.", - "The algorithm to convert from Celsius to Fahrenheit is the temperature in Celsius times 9/5, plus 32.", - "You are given a variable celsius representing a temperature in Celsius. Create a variable fahrenheit and apply the algorithm to assign it the corresponding temperature in Fahrenheit." + "To test your learning, you will create a solution \"from scratch\". Place your code between the indicated lines and it will be tested against multiple test cases.", + "The algorithm to convert from Celsius to Fahrenheit is the temperature in Celsius times 9/5, plus 32.", + "You are given a variable celsius representing a temperature in Celsius. Create a variable fahrenheit and apply the algorithm to assign it the corresponding temperature in Fahrenheit.", + "Note
Don't worry too much about the function and return statements as they will be covered in future challenges. For now, only use operators that you have already learned." ], "releasedOn": "January 1, 2016", "challengeSeed": [ "function convert(celsius) {", " // Only change code below this line", " ", - "", + " ", " // Only change code above this line", - " if ( typeof fahrenheit !== 'undefined' ) {", - " return fahrenheit;", - " } else {", - " return 'fahrenheit not defined';", - " }", + " return fahrenheit;", "}", "", "// Change the inputs below to test your code",