Profile Lookup- New update can't test code?

Profile Lookup- New update can't test code?


Tell us what’s happening:
How do I test my own code with the new curriculum/website update? Previously I could return any value I wanted so that I could test each line of code as I went. Now all I get is a box telling me what each value should return.

Is this feature no longer available?

Your code so far

var contacts = [
        "firstName": "Akira",
        "lastName": "Laine",
        "number": "0543236543",
        "likes": ["Pizza", "Coding", "Brownie Points"]
        "firstName": "Harry",
        "lastName": "Potter",
        "number": "0994372684",
        "likes": ["Hogwarts", "Magic", "Hagrid"]
        "firstName": "Sherlock",
        "lastName": "Holmes",
        "number": "0487345643",
        "likes": ["Intriguing Cases", "Violin"]
        "firstName": "Kristian",
        "lastName": "Vos",
        "number": "unknown",
        "likes": ["JavaScript", "Gaming", "Foxes"]

function lookUpProfile(name, prop){
// Only change code below this line
name= contacts["firstName"];
  return name;
// Only change code above this line

// Change these values to test your function
lookUpProfile("Akira", "likes");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:


The freeCodeCamp console is bugged right now. You’ll have to use console logs for now and view them in the console (open with f12 on chrome).

10 major freeCodeCamp improvements that are live now

Thanks Wedge! I was hoping this change was unintentional :smiley: