01 – Meet Bonfire.js

Bonfire: Meet Bonfire

Bonfires are algorithm challenges that teach you how to think like a programmer…

Challenge: http://www.freecodecamp.com/challenges/bonfire-meet-bonfire

Your goal is to fix the failing test.

First, run all the tests by clicking “Run tests” or by pressing Control + Enter. The failing test is in red. Fix the code so that all tests pass. Then you can move on to the next Bonfire.

Make this function return true no matter what.

Solution:

function meetBonfire(argument) {
 console.log("you can read this function's argument in the developer tools", argument);
 return true; // changed this Boolean from false to true
}

 meetBonfire("You can do this!");

Leave a comment