These are chat archives for FreeCodeCamp/HelpJavaScript

15th
Jan 2016
Youakeem
@Youakeem
Jan 15 2016 13:46

Hello guys, I am having a problem with the "Testing Objects for Properties" lesson

here is my code, can you guys spot anything that cause it not to work?

// Setup
var myObj = {
gift: "pony",
pet: "kitten",
bed: "sleigh"
};

function checkObj(checkProp) {
// Your Code Here
var result;

if(myObj.hasOwnProperty(checkProp)){
result = myObj.checkprop;
} else {
result = "not Found";
}

return result;
}

// Test your code by modifying these values
checkObj("gift");

I noticed the camelCase typo in "result = myObj.checkprop;" but still not working
rphares
@rphares
Jan 15 2016 13:48
Hi, @Youakeem ! Welcome to the new room!
It appears not enough people have moved over yet, one sec-- let me find someone who is good at JS to help with that :)
Youakeem
@Youakeem
Jan 15 2016 13:49
Thank you @rphares , Thanks
Ettiene Grobler
@egrobler
Jan 15 2016 13:54
@Youakeem try changing myObj.checkProp to myObj[checkProp]
Brendan Kinahan
@BKinahan
Jan 15 2016 13:55
HELLO
Ettiene Grobler
@egrobler
Jan 15 2016 13:55
i.e. use bracket notation instead of dot notation
Youakeem
@Youakeem
Jan 15 2016 13:56
Thanks @egrobler it works like a charm, but I have no idea why. Could you elaborate a bit more ?
wushupork
@wushupork
Jan 15 2016 13:57
You're passing a string into the function, and bracket notation uses a string
if checkProp was an object instead of a string you could use dot notation
Youakeem
@Youakeem
Jan 15 2016 13:58
I see, thanks a lot @wushupork
wushupork
@wushupork
Jan 15 2016 13:58
:)
Ettiene Grobler
@egrobler
Jan 15 2016 13:58
use [] when the name of the property is contained in a variable
Youakeem
@Youakeem
Jan 15 2016 13:59
(y)
rphares
@rphares
Jan 15 2016 14:02
This message was deleted
PossibilityZero
@PossibilityZero
Jan 15 2016 14:02
I just lost all my progress in a challenge when the webpage updated
Arsen Melikyan
@bugron
Jan 15 2016 14:06
@PossibilityZero is that happening for other challenges too?
smsuraj100
@smsuraj100
Jan 15 2016 14:07
can anyone tell me solution for word Blanks(new) of javaScript..!
PossibilityZero
@PossibilityZero
Jan 15 2016 14:07
@bugron I think it's reset all the challenges back to the default. I suggest saving your current work if you close a tab or change your page
Arsen Melikyan
@bugron
Jan 15 2016 14:09
@PossibilityZero Please, check your Map to ensure that you haven't lost you progress.
Perry
@ktola11
Jan 15 2016 14:10
Help 'Initialize the three variables a, b, and c with 5, 10, and "I am a" respectively so that they will not be undefined.'
PossibilityZero
@PossibilityZero
Jan 15 2016 14:10
@bugron I haven't lost progress, but I've lost all the code on the incompleted challenges
baldwinbejarasco
@baldwinbejarasco
Jan 15 2016 14:26
Hi campers can you help me ?
Brendan Kinahan
@BKinahan
Jan 15 2016 14:26
hi
baldwinbejarasco
@baldwinbejarasco
Jan 15 2016 14:27
can someone help me with this one
blob
Brendan Kinahan
@BKinahan
Jan 15 2016 14:28
@baldwinbejarasco why are you pushing 6 to testArr?
baldwinbejarasco
@baldwinbejarasco
Jan 15 2016 14:29
It's a default @BKinahan hehe
oh sorry @BKinahan
theres no specific number to ADD so thats why i assume to push 6 @BKinahan
Brendan Kinahan
@BKinahan
Jan 15 2016 14:30
@baldwinbejarasco see where item is taken as the second argument to the queue function, on the first line? You can use that.
@baldwinbejarasco you should similarly use arr instead of testArr
baldwinbejarasco
@baldwinbejarasco
Jan 15 2016 14:32
ooooh i see. thank you @BKinahan im going to try the idea
Thank you @BKinahan I finish the challenge (y) thank you
Brendan Kinahan
@BKinahan
Jan 15 2016 14:33
@rphares are brownies not a thing here? :P
rphares
@rphares
Jan 15 2016 14:34
Not yet-- I'm a little confused about how people got directed here,
this and the other new rooms were opened a few days ago, @BKinahan
@abhisekp posted once,
Brendan Kinahan
@BKinahan
Jan 15 2016 14:34
hm
rphares
@rphares
Jan 15 2016 14:34
but then we decided to hold off directing people to them until cbot was live
but, when the new site went up (utterly correlation, i think, not causation) people showed up
Brendan Kinahan
@BKinahan
Jan 15 2016 14:35
huh
rphares
@rphares
Jan 15 2016 14:35
I posted into one of thudded ones asking powers that be whether i should kick them back to the old rooms or not,
dunno-- if the rooms here don't have people, they'll just die off,
but if people can't field things/dont get brownies... they'll also die off shrug
Brendan Kinahan
@BKinahan
Jan 15 2016 14:36
thudded?
rphares
@rphares
Jan 15 2016 14:36
(not that people should be motivated by points... but some are : / )
oops-- the other dead new rooms
Brendan Kinahan
@BKinahan
Jan 15 2016 14:36
ah
rphares
@rphares
Jan 15 2016 14:36
like the backend room
those are the four new rooms...
dunno where the link may be, been searching for it shrug
Nadia
@DiDzHey
Jan 15 2016 14:48
did codecamp change their design or..?
rphares
@rphares
Jan 15 2016 14:48
sure did :)
Nadia
@DiDzHey
Jan 15 2016 14:49
thought it was abug....i loved the brown..everything's changed
rphares
@rphares
Jan 15 2016 14:49
Heh, they've taken a lot of feedback on that, i believe they re going for a more accessible theme
May I ask a question, @DiDzHey ?
Nadia
@DiDzHey
Jan 15 2016 14:50
yes
rphares
@rphares
Jan 15 2016 14:50
Was this link (to this room) on the main site somewhere?
(i saw it when someone posted it... just trying to figure out what brought people here as it was new to me :blush: )
Nadia
@DiDzHey
Jan 15 2016 14:51
There was no link...i just clicked Help in one of the exercises
Youakeem
@Youakeem
Jan 15 2016 14:52
I got here by clicking on the "help" button.
rphares
@rphares
Jan 15 2016 14:52
Ahhh, that explains it- thank you both! (ill go thank you in a room where bot is live :) )
Nadia
@DiDzHey
Jan 15 2016 14:52
bot?
rphares
@rphares
Jan 15 2016 14:53
camperbot
Nadia
@DiDzHey
Jan 15 2016 14:53
ohok
i think he just shows up
like
thanks @rphares
thank you @rphares
rphares
@rphares
Jan 15 2016 14:54
heh... he isn't live in the new rooms yet :blush:
Nadia
@DiDzHey
Jan 15 2016 14:55
hmmm
rphares
@rphares
Jan 15 2016 14:55
but, i thanked ya in main, you are one brownie fatter :)
Nadia
@DiDzHey
Jan 15 2016 14:55
lmbo
rphares
@rphares
Jan 15 2016 14:55
there's already a request in for bringing him over, i believe :) (don't quote me, just a camper :blush:)
LComplex
@LComplex
Jan 15 2016 14:56
hi. I see that fcc had a bit of a make over, however I'm noticing some of my finished solutions now have no data in them. i was trying to go back to refresh my memory to finish the record counting checkpoint.
is this happening for anyone else?
rphares
@rphares
Jan 15 2016 14:56
yes--
you can find them by accessing them through your profile, @LComplex
The solutions don't appear to show from the map,
but they are still there under your profile :)
nikfenech
@nikfenech
Jan 15 2016 14:57
function multiplyAll(arr) {
  var product = 1;
  // Only change code below this line
  for (var i=0; i < arr.length; i++) {
    for (var j=0; j < arr[i].length; j++) {
      product = product + i * j;
    }
  }
  // Only change code above this line
  return product;
}

// Modify values below to test your code
multiplyAll([[1,2],[3,4],[5,6,7]]);
Having a bit of trouble with the Waypoint "Nesting For Loops". Anyone know where I'm going wrong in the code above? I'm supposed to be modifying the function so it multiplies the product variable by each number in the sub-arrays of arr.
LComplex
@LComplex
Jan 15 2016 14:57
oh ok thank you very much for that @rphares ! phew
rphares
@rphares
Jan 15 2016 14:57
Anytime :)
Nadia
@DiDzHey
Jan 15 2016 14:57
ok i think we needed a heads up...there's also no way to see how many campers
or challenges...etc
wushupork
@wushupork
Jan 15 2016 14:58
should be product += arr[i][j]; @nikfenech
rphares
@rphares
Jan 15 2016 14:58
hmm0 how many campers for? :blush: I'll try and find something, what are you looking for? @DiDzHey
wushupork
@wushupork
Jan 15 2016 15:00
er
sorry
product *= arr[i][j];
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:00
Yay!!!!!!
rphares
@rphares
Jan 15 2016 15:01
Welcome, @brainyfarm !!
wushupork
@wushupork
Jan 15 2016 15:01
since it's a product and not an addition :)
nikfenech
@nikfenech
Jan 15 2016 15:01
Thanks @wushupork. Apparently I can't send brownie points via this chatroom? Can someone direct me to a room where it's at
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:01
thanks @rphares :)
sorry no brownies ;)
jneilw
@jneilw
Jan 15 2016 15:02
"Assign the value 7 to variable a. Assign the contents of a to variable b." Would someone help me out here?
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:03
@jneilw
Could you share your code ?
Nadia
@DiDzHey
Jan 15 2016 15:03
@rphares a little summary of fcc's stats was on the map...
jneilw
@jneilw
Jan 15 2016 15:04
@brainyfarm Is there an easy way to do that? *rookie camper here
rphares
@rphares
Jan 15 2016 15:04
@jneilw -- sure!
you can start by typing ```
then press shift and enter at the same time,
it should make a new line of ``` at the bottom
paste your code in-between the two lines of ```
tsteele2013
@tsteele2013
Jan 15 2016 15:05
Having some issues with JSON :/
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:05
Carry on @tsteele2013 :)
tsteele2013
@tsteele2013
Jan 15 2016 15:05
'''
'''
'''
'''
function update(id, prop, value) {
if(value !== "" && prop !== "tracks"){
prop = value;
}
if(value !== "" && prop ==="tracks"){
prop.push(value);
}
if(value === ""){
prop.delete();
}
'''
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:06
``` @tsteele2013 and not '''
rphares
@rphares
Jan 15 2016 15:06
backticks are near the one key, usually :)
jneilw
@jneilw
Jan 15 2016 15:07
// Setup
var a;
var b = 2;

// Only change code below this line

var a = 7; 
var b;
var b = var a;
tsteele2013
@tsteele2013
Jan 15 2016 15:07
function update(id, prop, value) {
  if(value !== "" && prop !== "tracks"){
    prop = value;
  }
  if(value !== "" && prop ==="tracks"){
    prop.push(value);
  }
  if(value === ""){
    prop.delete();
  }
rphares
@rphares
Jan 15 2016 15:08
Oooh, well done both of you on formatting :)
tsteele2013
@tsteele2013
Jan 15 2016 15:08
Haha whoops! I'm not sure where the id variable enters into play here.
wushupork
@wushupork
Jan 15 2016 15:09
@jneilw the variables are declared above the "only change..." line, so you don't have to type "var a" and "var b", just "a" and "b"
tsteele2013
@tsteele2013
Jan 15 2016 15:09
would i do a for(id in collection) maybe??
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:10
@tsteele2013
Is that your whole code?
johnny-midgets
@johnny-midgets
Jan 15 2016 15:10
yo guys , can anyone help me ? i dont understand wtf they mean by "encode the following sequence, separated by spaces:
backslash tab tab carriage-return new-line and assign it to myStr "
jneilw
@jneilw
Jan 15 2016 15:10
@wushupork Thanks! It was a situation of it being too simple...
tsteele2013
@tsteele2013
Jan 15 2016 15:11
@brainyfarm yes, would you like to see the instructions?
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:11
Character escaping @johnny-midgets
/n is a new line for example :)
wushupork
@wushupork
Jan 15 2016 15:11
No problem, @jneilw :)
rphares
@rphares
Jan 15 2016 15:11
you just need to use backslash to escape those special characters, @johnny-midgets
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:11
Oh yes @tsteele2013 :)
tsteele2013
@tsteele2013
Jan 15 2016 15:11

For the given id in collection:

If value is non-blank (value !== "") and prop is not "tracks" then update or set the value for the prop.

If the prop is "tracks" and value is non-blank, push the value onto the end of the tracks array.

If value is blank, delete that prop.

Always return the entire collection object.

johnny-midgets
@johnny-midgets
Jan 15 2016 15:11
brainyfarm, i know :p but I dont understand the objective (not native english speaker)
thnx
rphares
@rphares
Jan 15 2016 15:12
Umm.... those special things, we want ignored sometimes, @johnny-midgets
so, the way to do that with code is to put a \ in front of it. When you do that, it will "escape" it,
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:13
Me too @johnny-midgets
Read again and again then see the example.
@tsteele2013
Can you give a test case as weel :)
rphares
@rphares
Jan 15 2016 15:14
so, you can write those special things just like in the table on the left hand side in the instructions
wushupork
@wushupork
Jan 15 2016 15:14
@johnny-midgets if you need to change the property of an item in the collection, you need to reference that item: say by using something like collection[id][prop]
johnny-midgets
@johnny-midgets
Jan 15 2016 15:14
but backslash doesnt do anything right
Joshwatx
@Joshwatx
Jan 15 2016 15:14
Question. Using java and trying to input the remainder of 11 divided by 3. Would the actual piece of code be var remainder = 2;
tsteele2013
@tsteele2013
Jan 15 2016 15:14
@brainyfarm
update(5439, "artist", "ABBA");
Joshwatx
@Joshwatx
Jan 15 2016 15:15
@tsteele2013 How do I take quick snapshots like that?>
rphares
@rphares
Jan 15 2016 15:15
right-- it just signals it to skip what comes next, @johnny-midgets :)
@Joshwatx -- start by typing ```
then press shift and enter at the same time,
a second row of ``` should appear at the bottom
you can paste your code in between he two rows of ``` :)
Vos
@KrisVos130
Jan 15 2016 15:16
@rphares Did the new Help rooms go public?
rphares
@rphares
Jan 15 2016 15:17
@KrisVos130 -- apparently--
wushupork
@wushupork
Jan 15 2016 15:17
@Joshwatx If you want a remainder, use the modulo operator (%)
rphares
@rphares
Jan 15 2016 15:17
if you click 'help' on the new site
its sends you here @KrisVos130 :blush:
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:17
I am going through the challenge @tsteele2013
Vos
@KrisVos130
Jan 15 2016 15:18
@rphares Oh well rip. I didn't turn on lurk mode.
wushupork
@wushupork
Jan 15 2016 15:18
so, 11 % 3 would indeed give you a remainder of two
rphares
@rphares
Jan 15 2016 15:18
Very very grateful for the awesome people helping each other out, as I'm dead useless in the JS room , and most of the people here are people who clicked help, or kindly responded to my request for back up! :pensive: @KrisVos130
Ettiene Grobler
@egrobler
Jan 15 2016 15:18
@tsteele2013 you’ll have to have code that looks like collection[id][prop] or something
johnny-midgets
@johnny-midgets
Jan 15 2016 15:18
why wont this work var myStr=" \backslash \t tab tab \r carriage-return \n new-line"; ?
Ettiene Grobler
@egrobler
Jan 15 2016 15:19
@tsteele2013 you need to reference the collection json object which you’re not doing if I remember that exercise correctly
tsteele2013
@tsteele2013
Jan 15 2016 15:19
I'm really close! @brainyfarm only having probs when the value === "" now!
rphares
@rphares
Jan 15 2016 15:19
Ah-- thats kinda the idea, @johnny-midgets ,
but you want to use the code side of the table,
not the output @johnny-midgets
tsteele2013
@tsteele2013
Jan 15 2016 15:20
@egrobler @brainyfarm theres something wrong with this code.
if(value === ""){
    collection[prop].delete();
  }
Ettiene Grobler
@egrobler
Jan 15 2016 15:20
to delete a property it is
delete collection[prop];
rphares
@rphares
Jan 15 2016 15:20
for example:
\\ , not \backslash
@johnny-midgets
wushupork
@wushupork
Jan 15 2016 15:20
collection[id][prop] @tsteele2013
Olawale Akinseye
@brainyfarm
Jan 15 2016 15:21
Sorry, I am slow on mobile guys ;)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:21
is there anywhere i can find the sulotion?
Ettiene Grobler
@egrobler
Jan 15 2016 15:21
@tsteele2013 guess you’re confusing jquery and javascript here. so delete is the keyword here
johnny-midgets
@johnny-midgets
Jan 15 2016 15:21
btw i apreciate the help @rphares
Andrew Grabarnick
@leprekon91
Jan 15 2016 15:21
This message was deleted
rphares
@rphares
Jan 15 2016 15:21
@johnny-midgets-- can you try re-writing that, using the other half of the table? the code side, not the output side,
tsteele2013
@tsteele2013
Jan 15 2016 15:22
YESSS!! GOT IT! thanks @egrobler
rphares
@rphares
Jan 15 2016 15:22
then, repost your solution here if it doesn't work, and we'll figure out the next step :) @johnny-midgets
Ettiene Grobler
@egrobler
Jan 15 2016 15:22
@tsteele2013 nice one
rphares
@rphares
Jan 15 2016 15:22
(of course! anytime)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:23
var myStr=" \ \t tab tab \r \n "; ????
really dont understand shit of it i didnt need help before i ran into this
rphares
@rphares
Jan 15 2016 15:23
okay-- closer!
johnny-midgets
@johnny-midgets
Jan 15 2016 15:23
myStr should have the escape sequences for backslash tab tab carriage-return new-line separated by spaces
wushupork
@wushupork
Jan 15 2016 15:23
tab should be \t
rphares
@rphares
Jan 15 2016 15:23
so, we want all of them written in code,
yep-- exactly, what @wushupork said :)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:24
var myStr=" \ \t \t \r \n "; ????
Andrew Grabarnick
@leprekon91
Jan 15 2016 15:24
This message was deleted
wushupork
@wushupork
Jan 15 2016 15:24
backslash is \
er
\\
forgot i had to escape the backslash here :)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:24
var myStr=" \ \t \t \r \n ";
var myStr=" \\ \t \t \r \n ";
wushupork
@wushupork
Jan 15 2016 15:25
give it a shot
rphares
@rphares
Jan 15 2016 15:25
Did you try running tests, @johnny-midgets ? :)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:25
yes lol
Andrew Grabarnick
@leprekon91
Jan 15 2016 15:25
function rot13(str) { // LBH QVQ VG! var arr=[]; var num; for(var i=0;i<str.length;i++){ num=str.charCadeAt(i); arr.push(num); } alert(arr); return str; } the output is : str.charCodeAt() is not a function. Can someone Help me?
rphares
@rphares
Jan 15 2016 15:26
ahh, perhaps the spaces, then-- spaces were important in the instructions, if i recall @johnny-midgets
johnny-midgets
@johnny-midgets
Jan 15 2016 15:26
yes true but i got spaces everywhere right?
var myStr=" \ \t \t \r \n ";
Youakeem
@Youakeem
Jan 15 2016 15:27
```
rphares
@rphares
Jan 15 2016 15:27
you are missing one of the \ again in that last one, @johnny-midgets :)
Youakeem
@Youakeem
Jan 15 2016 15:27
//Setup
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 lookUp(firstName, prop){
// Only change code below this line

  for(var i = 0; i < contacts.length; i++) {

    if(contacts[i].firstName == firstName && contacts[i].hasOwnProperty(prop)) {
       return contacts[i][prop];
    }

    if(contacts[i].firstName !== firstName) {
      return "No such contact";
    }

    if(contacts[i].hasOwnProperty(prop) === false ) {
      return "No such property";
    }
  }

// Only change code above this line
}

// Change these values to test your function
lookUp("Akira", "likes");
Andrew Grabarnick
@leprekon91
Jan 15 2016 15:27
nevermind got it
Ettiene Grobler
@egrobler
Jan 15 2016 15:27
@leprekon91 not sure if this is the problem, but you’ve got charCodeAt misspelled in your code.
rphares
@rphares
Jan 15 2016 15:27
the very first one-- you escape things with \... and you are excaping a \.... so you need \\ @johnny-midgets :)
Youakeem
@Youakeem
Jan 15 2016 15:27
I having problem returning the property value
Am I not calling it the right way ?
johnny-midgets
@johnny-midgets
Jan 15 2016 15:28
lol rphares
can u post the exact solution this is driving me mad
var myStr=" \\ \t \t \r \n ";
wushupork
@wushupork
Jan 15 2016 15:29
remove the space after \n
johnny-midgets
@johnny-midgets
Jan 15 2016 15:29
ah finally got it
rphares
@rphares
Jan 15 2016 15:29
Yay!
wushupork
@wushupork
Jan 15 2016 15:29
:)
rphares
@rphares
Jan 15 2016 15:29
well done, @johnny-midgets ! :)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:29
thanks man @rphares & @wushopork
still dont understand it really but ok it doesnt matter
rphares
@rphares
Jan 15 2016 15:30
anytime~ Happy coding~
wushupork
@wushupork
Jan 15 2016 15:30
You're welcome
rphares
@rphares
Jan 15 2016 15:30
wait wait-- it does
@johnny-midgets , imagine you want to write a code with a quote, or a tab in it...
Youakeem
@Youakeem
Jan 15 2016 15:30
@rphares @wushupork any ideas, please ?
rphares
@rphares
Jan 15 2016 15:30
quote or tab means something in the code, @johnny-midgets
so when you put the \ in front of that special character, @johnny-midgets
then it will skip it, treat it not like the normal meaning, but like part of the string @johnny-midgets
(er-- room can always correct me when i misspeak. I deliberately dont help on JS as I'm miserable at it... :pensive:)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:32
yes but when i write "lol this is a tab" nothing will happen right? its just a normal string?
does "tab" do something then?
rphares
@rphares
Jan 15 2016 15:32
yes-- "this is a tab does nothing"
johnny-midgets
@johnny-midgets
Jan 15 2016 15:32
aha
what will it do?
rphares
@rphares
Jan 15 2016 15:33
but, imaginary tab like asrffasdf afasdfafdasf in the middle of some code,
(err-- the grey part is pretended to be a tab-- you know, a bunch of space)
Ettiene Grobler
@egrobler
Jan 15 2016 15:33
@Youakeem hang on for a sec. busy with that exact exercise.
rphares
@rphares
Jan 15 2016 15:33
that has meaning. So we want to use \ to let the computer know its like text, not like code @johnny-midgets
johnny-midgets
@johnny-midgets
Jan 15 2016 15:34
aha now i get it
Youakeem
@Youakeem
Jan 15 2016 15:34
@egrobler sure.
rphares
@rphares
Jan 15 2016 15:34
Yay!! Thank you for saying that, it made my day
johnny-midgets
@johnny-midgets
Jan 15 2016 15:34
they shouldve first introduced you to the things like tab and the others things
now it is confusing
rphares
@rphares
Jan 15 2016 15:35
@Youakeem , which waypoint? (I'll look,but I'm not good, so unless it's easy i probably can't weigh in)
Yes... i think some of the meanings of some of the special characters are quite difficult, though,... but i agree it can be unclear :blush: @johnny-midgets
Anyhow-- on to the next one! Happy coding~
Youakeem
@Youakeem
Jan 15 2016 15:36
@rphares It doesn't read the property value if it exists
The "Profile Lookup" challenge
johnny-midgets
@johnny-midgets
Jan 15 2016 15:37
thnx bro @rphares
rphares
@rphares
Jan 15 2016 15:37
k-- one sec, let me see if i can find my solution on the new one...if i recall that one took me a long time and I'm not sure i am confident helping on it... @Youakeem
Mohit Nehru
@MohitNehru
Jan 15 2016 15:38
Adding a default option in Switch statements
rphares
@rphares
Jan 15 2016 15:38
anytime, @johnny-midgets :)
Mohit Nehru
@MohitNehru
Jan 15 2016 15:38

function myTest(val) {
var answer = "";
// Only change code below this line
switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;
}

default:
answer = "stuff";

// Only change code above this line

}

what's wrong here
Write a switch statement to set answer for the following conditions:
"a" - "apple"
"b" - "bird"
"c" - "cat"
default - "stuff"
Gregory Bilecki
@gbilecki
Jan 15 2016 15:39
// Setup
var myPlants = [
  { 
    type: "flowers",
    list: [
      "rose",
      "tulip",
      "dandelion"
    ]
  },
  {
    type: "trees",
    list: [
      "fir",
      "pine",
      "birch"
    ]
  }  
];

// Only change code below this line

var secondTree = myPlants.trees[1]; // Change this line
does anyone know why my console log is saying myPlants.trees is undefined?
Mohit Nehru
@MohitNehru
Jan 15 2016 15:39
i dont understand how it want me to put default statement
johnny-midgets
@johnny-midgets
Jan 15 2016 15:39
mohit
move your }
rphares
@rphares
Jan 15 2016 15:39
All-- if you can include the names of your waypoints, ill be about two seconds faster :)
johnny-midgets
@johnny-midgets
Jan 15 2016 15:39
to after the default case
rphares
@rphares
Jan 15 2016 15:40
@gbilecki --
Mohit Nehru
@MohitNehru
Jan 15 2016 15:40

@johnny-midgets function myTest(val) {
var answer = "";
// Only change code below this line
switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;

default:
answer = "stuff";

// Only change code above this line

}}

u mean like this
Gregory Bilecki
@gbilecki
Jan 15 2016 15:41
@rphares ??
rphares
@rphares
Jan 15 2016 15:41
@gbilecki , the bottom line,
johnny-midgets
@johnny-midgets
Jan 15 2016 15:41
switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;
default:
answer = "stuff";

switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;

default:
answer = "stuff";

Abhisek Pattnaik
@abhisekp
Jan 15 2016 15:41
What's cooking?
Jon Johnson
@jonjohnson34
Jan 15 2016 15:41
@gbilecki it is saying undefined because trees isn't a key in your object.
rphares
@rphares
Jan 15 2016 15:41
Which part of myPlants are you trying to access, @gbilecki ?
johnny-midgets
@johnny-midgets
Jan 15 2016 15:42

switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;

default:
answer = "stuff";
}

Gregory Bilecki
@gbilecki
Jan 15 2016 15:42
@rphares pine
rphares
@rphares
Jan 15 2016 15:42
right-- is that in [0] or [1] ?
Gregory Bilecki
@gbilecki
Jan 15 2016 15:42
@rphares 1
johnny-midgets
@johnny-midgets
Jan 15 2016 15:42
try this mohit (sorry i was having troubles with a new line and posted it accidently a few times )
Mohit Nehru
@MohitNehru
Jan 15 2016 15:42
but what happens to last curly braces which close function call
rphares
@rphares
Jan 15 2016 15:42
okay, so you need to include that using the bracket notation... that's the first part
( @abhisekp THANK YOU FOR COMING!!!)
Gregory Bilecki
@gbilecki
Jan 15 2016 15:43
@rphares i already did though...
johnny-midgets
@johnny-midgets
Jan 15 2016 15:43
mohit u ended the switch statement after cat, but u forgot the default case
rphares
@rphares
Jan 15 2016 15:43
ah-- no, not quite, @gbilecki ,
you have a nested array going on, i believe...
so you need two parts,
Gregory Bilecki
@gbilecki
Jan 15 2016 15:44
ohhhh
wait let me try something
rphares
@rphares
Jan 15 2016 15:44
yep :)
Gregory Bilecki
@gbilecki
Jan 15 2016 15:44
brb lol
Mohit Nehru
@MohitNehru
Jan 15 2016 15:44

@johnny-midgets function myTest(val) {
var answer = "";
// Only change code below this line
switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;
default:
answer = "stuff";

// Only change code above this line

}

// Change this value to test
myTest(1);

i guess this is what u r trying to say
@johnny-midgets
but i need to close } at end , thats what is creating an error
rphares
@rphares
Jan 15 2016 15:47
Erm--- do you have a return? :)@MohitNehru
rafaelvianna
@rafaelvianna
Jan 15 2016 15:47
hey, good afternoon!
i'm on the javascript course, and i stop on this part "Using Objects for Lookups". I cant understand why my code is not working. Someone can help-me?
rphares
@rphares
Jan 15 2016 15:48
we can try :)
Do you know how to paste your code with code formatting, @rafaelvianna ?
rafaelvianna
@rafaelvianna
Jan 15 2016 15:48
no
how can i do this?
Mohit Nehru
@MohitNehru
Jan 15 2016 15:48
@rphares no i dont have i too think there should b return
rphares
@rphares
Jan 15 2016 15:48
okay-- first type ```
then, shift and enter t the same time
you should see a second row of ```
johnny-midgets
@johnny-midgets
Jan 15 2016 15:49
yes but mohit , did you pass the exervice
rphares
@rphares
Jan 15 2016 15:49
paste your code in-between the rows of ``` @rafaelvianna :)
@MohitNehru -- you need one, yes,
rafaelvianna
@rafaelvianna
Jan 15 2016 15:49
// Setup
function phoneticLookup(val) {
  var result = "";

  // Only change code below this line
  val = {
    alpha: "Adams",
    bravo:"Boston",
    charlie: "Chicago",
    delta: "Denver",
    echo: "Easy",
    foxtrot: "Frank"
  };

  // Only change code above this line
  return result;
}

// Change this value to test
phoneticLookup("alpha");
rphares
@rphares
Jan 15 2016 15:49
so, can you think of what you are trying to return? @MohitNehru
Well done, @rafaelvianna !
rafaelvianna
@rafaelvianna
Jan 15 2016 15:49
thanks :D
rphares
@rphares
Jan 15 2016 15:50
K-- give me a second, @rafaelvianna , i need to find my solution, I'm bad at JS and i have to look and remember :blush:
rafaelvianna
@rafaelvianna
Jan 15 2016 15:50
i'll pass the instructions:
Instructions
Convert the switch statement into a lookup table called lookup. Use it to lookup val and return the associated string.
Mohit Nehru
@MohitNehru
Jan 15 2016 15:50

```function myTest(val) {
var answer = "";
// Only change code below this line
switch(val){
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
break;
case "c":
answer = "cat";
break;
default:
return answer = "stuff";

// Only change code above this line

}

// Change this value to test
myTest(1);

Mallikarjun
@mallikarjun92
Jan 15 2016 15:50
help me i'm stuck here:

// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5

// Only change code below this line.
function myFunction(x, y) {
console.log(x + y);
}
myFunction();

rphares
@rphares
Jan 15 2016 15:50
don't need = "stuff" @MohitNehru ~
Mohit Nehru
@MohitNehru
Jan 15 2016 15:51
@rphares what about function block closing
braces
dwilliams64
@dwilliams64
Jan 15 2016 15:52
having problems with "Stan in Line"

here is my code

function queue(arr, item) {
// Your code here
arr.shift(item);
arr.push(item);
return item; // Change this line
}

// Test Setup
var testArr = [1,2,3,4,5];

// Display Code
console.log("Before: " + JSON.stringify(testArr));
console.log(queue(testArr, 1)); // Modify this line to test
console.log("After: " + JSON.stringify(testArr));

rphares
@rphares
Jan 15 2016 15:52
Hmmm.... what did you do with result, @rafaelvianna ?
rafaelvianna
@rafaelvianna
Jan 15 2016 15:53
Nothing @rphares. Why?
rphares
@rphares
Jan 15 2016 15:53
looks like you are still returning that empty string you declared earlier on... gonna assign him anything?
rafaelvianna
@rafaelvianna
Jan 15 2016 15:54
i think dont
rphares
@rphares
Jan 15 2016 15:54
@abhisekp , i see you
please chime in!!!
Okay-- look at the example on the left again...
I'm really bad at explain JS, I'm sorry, I...
Abhisek Pattnaik
@abhisekp
Jan 15 2016 15:57
@rphares i've added some people. Here lemme add some in other rooms too
rphares
@rphares
Jan 15 2016 15:57
Thank you, @abhisekp !!
front end just started doing off, too...
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:57
hello there
Gregory Bilecki
@gbilecki
Jan 15 2016 15:57
@rphares still no luck..ugh
Wessd8
@wessd8
Jan 15 2016 15:57
what are we working on? I just got added by someone
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:57
stuck once more in a bonfire...
rphares
@rphares
Jan 15 2016 15:57
Phew!
okay, @gbilecki -- just pastiche last new line from before-- the rest could stay the same :)
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:58
is becoming harder and harder...
Wessd8
@wessd8
Jan 15 2016 15:58
which bonfire?
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:58
Title Case a Sentence
Mallikarjun
@mallikarjun92
Jan 15 2016 15:58
what does it mean? : RangeError: Maximum call stack size exceeded
rphares
@rphares
Jan 15 2016 15:58
@wessd8 , you want to explain to @rafaelvianna what he needs to do with reslt in objects for loop?
@mallikarjun92 , try refreshing
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:58
I'm not able to LowerCase just the 1st letters..
Wessd8
@wessd8
Jan 15 2016 15:58
@mallikarjun92 that should resolve if you refresh the page
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:59
gonna put the code here
Gregory Bilecki
@gbilecki
Jan 15 2016 15:59
@rphares which last new line?
mmacedo
@mmacedoeu
Jan 15 2016 15:59
cool
Miguel Oliveira
@MiguelOliv
Jan 15 2016 15:59
Title Case a Sentence
function titleCase(str) {
  str.toLowerCase();
  var wordstr = str.split(' ');
  for(var i=0; i<wordstr.length; i++){
    wordstr[i][0] = wordstr[i][0].toUpperCase();
    str = wordstr.join(' ');
  }
  return str;
}

titleCase("I'm a little tea pot");
the error is TypeError: 0 is read-only
rphares
@rphares
Jan 15 2016 16:00
you were accessing nested arrays, right ? just need the var SecondTree part @gbilecki
Gregory Bilecki
@gbilecki
Jan 15 2016 16:00
var secondTree = myPlants1;// Change this line
err
var secondTree = myPlants[1][1];// Change this line
rphares
@rphares
Jan 15 2016 16:01
okay! closer~!
the second [1], @gbilecki ....
Mallikarjun
@mallikarjun92
Jan 15 2016 16:01
@wessd8 now its showing this : NaN
i did refresh the page
Wessd8
@wessd8
Jan 15 2016 16:02
@mallikarjun92 what are you working on?
Mallikarjun
@mallikarjun92
Jan 15 2016 16:02
waypoint: Passing Values to Functions with Arguments
@wessd8
Wessd8
@wessd8
Jan 15 2016 16:02
ok can i see your code?
rphares
@rphares
Jan 15 2016 16:02
it needs its.... reference... i don't know what you call that... but the first one has myPlants, the second one needs its home array, too @gbilecki
Abhisek Pattnaik
@abhisekp
Jan 15 2016 16:03
Please join in @michael-krebs @wessd8 @alanbuchanan @HermanFassett @ArielLeslie @HermanFassett
Campers need you
* Please ignore if joined
Mallikarjun
@mallikarjun92
Jan 15 2016 16:03

@wessd8 here is the code : // Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5

// Only change code below this line.
function myFunction(x, y) {
console.log(x + y);
}
myFunction();

rphares
@rphares
Jan 15 2016 16:03
what is it in, @gbilecki ?:)
Gregory Bilecki
@gbilecki
Jan 15 2016 16:03
its in "trees"
Wessd8
@wessd8
Jan 15 2016 16:04
thats close but it needs to be a+b not x+y @mallikarjun92
rphares
@rphares
Jan 15 2016 16:04
no, not quite, @gbilecki
Markus Török
@MarkusToe
Jan 15 2016 16:04
is it possible to use es2015 in freeCodeCamp challenges?
Wessd8
@wessd8
Jan 15 2016 16:04
function myFunction(a, b) {
  console.log(a + b);
}
rphares
@rphares
Jan 15 2016 16:04
theres that comma separating type: "trees", and the next item, where it lives, @gbilecki
@MarkusToe , i believe when not specified you can use what you like. Could be wrong, but think as long as react is used for react challenges, etc, whatever fun extras you want are okay... but also remember somethings have special requirements (you would know more than i on that). dunno what is supported shrug
@MohitNehru , i am so sorry, just saw your q-- did you figure it out?
Mallikarjun
@mallikarjun92
Jan 15 2016 16:06
@wessd8 i've changed x+y to a+b it didn't work for me :worried:
Mohit Nehru
@MohitNehru
Jan 15 2016 16:06
not yet
Michael Krebs
@michael-krebs
Jan 15 2016 16:06
@MarkusToe I think it just executes the code in your browser's engine. So there's probably not much es6 support depending on the browser
rphares
@rphares
Jan 15 2016 16:06
Ah, okay-- @MohitNehru
let;s just get the formatting first, then--
please try typing ```
then press shift and enter at the same time,
Michael Krebs
@michael-krebs
Jan 15 2016 16:07
I don't know how hard it would be to babelify everyone's code though
rphares
@rphares
Jan 15 2016 16:07
and then a second row of ``` should appear
Markus Török
@MarkusToe
Jan 15 2016 16:07
@rphares @michael-krebs I am working in chrome, and when I am using "let" my code doesn't pass
rphares
@rphares
Jan 15 2016 16:07
paste your code in between the two rows of ``` @MohitNehru :)
Michael Krebs
@michael-krebs
Jan 15 2016 16:07
@MarkusToe Yeah, chrome doesn't support that spec yet. :(
Mallikarjun
@mallikarjun92
Jan 15 2016 16:07
anyway thank you @wessd8 for ur time
rphares
@rphares
Jan 15 2016 16:08
:point_up: January 16, 2016 12:06 AM @MohitNehru ~
Wessd8
@wessd8
Jan 15 2016 16:08
@mallikarjun92 wait can i see your code now?
Miguel Oliveira
@MiguelOliv
Jan 15 2016 16:08
any help for the bonfire Title Case a Sentence?
Mallikarjun
@mallikarjun92
Jan 15 2016 16:08

@wessd8 code is:
// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5

// Only change code below this line.
function myFunction(a, b) {
console.log(a + b);
}
myFunction();

wushupork
@wushupork
Jan 15 2016 16:08
@mallikarjun92 What two numbers are you supposed to be adding in the challenge?
Markus Török
@MarkusToe
Jan 15 2016 16:09
@michael-krebs ah alright, thanks
Wessd8
@wessd8
Jan 15 2016 16:09
@MigueOliv the smart bonfire wise people ar ussually in the bonfire room :)
Michael Krebs
@michael-krebs
Jan 15 2016 16:09
@MarkusToe One thing you could do is write your code in https://babeljs.io/repl/ and paste the transpiled code back if you really want to use es6 stuff.
@MarkusToe But that's kinda annoying so IDK
Mallikarjun
@mallikarjun92
Jan 15 2016 16:09
@wushupork its (1,2) and (7,9)
Nathan
@terakilobyte
Jan 15 2016 16:09
nobody has time for all that, just enable those features in your browser
Miguel Oliveira
@MiguelOliv
Jan 15 2016 16:09
hmm ok..the help in the bonfire page brought me here. But I'm gonna check the bonfire room then :)
Michael Krebs
@michael-krebs
Jan 15 2016 16:10
@terakilobyte how how hwo
rphares
@rphares
Jan 15 2016 16:10
OH holy moly, i have never been so excited to see you, @terakilobyte !
Nathan
@terakilobyte
Jan 15 2016 16:10
well if you use chrome...
chrome://flags
Wessd8
@wessd8
Jan 15 2016 16:10
@mallikarjun92 try this
// Only change code below this line.
function myFunction(a, b) {
  console.log(a + b);
}
myFunction(10, 5);
rphares
@rphares
Jan 15 2016 16:10
(er, not that i don't normally like seeing you... you know what i mean :blush: )
Nathan
@terakilobyte
Jan 15 2016 16:10
search for javascript
enable experimental features
Olawale Akinseye
@brainyfarm
Jan 15 2016 16:10
Back again :)
Wessd8
@wessd8
Jan 15 2016 16:10
is this a new room?
Nathan
@terakilobyte
Jan 15 2016 16:10
just make sure to add 'use strict'; inside your top level function
Olawale Akinseye
@brainyfarm
Jan 15 2016 16:11
A new room @wessd8
rphares
@rphares
Jan 15 2016 16:11
@wessd8 , yes-- it is where you are automatically sent if you click help in a JS challenge, @wessd8
Michael Krebs
@michael-krebs
Jan 15 2016 16:11
@MarkusToe ok listen to @terakilobyte he is way smarter than me
Mallikarjun
@mallikarjun92
Jan 15 2016 16:11
@wessd8 thanx a lot due it worked :clap:
Wessd8
@wessd8
Jan 15 2016 16:11
@rphares ahh
Nathan
@terakilobyte
Jan 15 2016 16:11
oh I dunno about that
Wessd8
@wessd8
Jan 15 2016 16:11
@mallikarjun92 you didnt call the function earlier :)
Nathan
@terakilobyte
Jan 15 2016 16:11
I've just had more time to explore and break things
Gristel Periwinkle
@gristel
Jan 15 2016 16:12
Hi :)
Michael Krebs
@michael-krebs
Jan 15 2016 16:12
well you know at least one thing that i don't
rphares
@rphares
Jan 15 2016 16:12
HI, @gristel :)
Gristel Periwinkle
@gristel
Jan 15 2016 16:12
I’ll help out wherever I can
Michael Krebs
@michael-krebs
Jan 15 2016 16:12
which means smarter obvs
Gristel Periwinkle
@gristel
Jan 15 2016 16:12
hey @rphares
:)
Gregory Bilecki
@gbilecki
Jan 15 2016 16:12
@rphares nothings working.
rphares
@rphares
Jan 15 2016 16:12
@gbilecki , you good now?
Ettiene Grobler
@egrobler
Jan 15 2016 16:12
@Youakeem you still there? Also struggling my … behind .. off with that one.
Ariel
@ArielLeslie
Jan 15 2016 16:12
@MigueOliv I think maybe because things aren't called "bonfires" anymore there won't be a helpBonfires room :question:
Nathan
@terakilobyte
Jan 15 2016 16:12
@michael-krebs oh, is it you that likes react?
rphares
@rphares
Jan 15 2016 16:12
ah, okay-- so that last line, what have you tried now? @gbilecki
Mallikarjun
@mallikarjun92
Jan 15 2016 16:12
i did call function, but didnt pass 10,5
@wessd8
Michael Krebs
@michael-krebs
Jan 15 2016 16:13
ya
Uriel Arana
@UdanPrg
Jan 15 2016 16:13
hello everybody. I need help with this... "typeof" how fuction?
Nathan
@terakilobyte
Jan 15 2016 16:13
@michael-krebs the server might be lost on you, but check out https://github.com/terakilobyte/votio
some reactification in those reacts, with a lot of redux to keep the ducks in a row
Michael Krebs
@michael-krebs
Jan 15 2016 16:13
@UdanPrg typeof "whatever" === "string"
Gregory Bilecki
@gbilecki
Jan 15 2016 16:13
var secondTree = myPlants["trees"][1];// Change this line
but its missing dot notation
Michael Krebs
@michael-krebs
Jan 15 2016 16:13
@UdanPrg typeof 123 === "number"
Gregory Bilecki
@gbilecki
Jan 15 2016 16:13
so im still getting dinged for that
rphares
@rphares
Jan 15 2016 16:13
oops-- nope, it was better before,
Nathan
@terakilobyte
Jan 15 2016 16:13
@UdanPrg typeof is not a function
Gregory Bilecki
@gbilecki
Jan 15 2016 16:13
ok
Nathan
@terakilobyte
Jan 15 2016 16:13
it's a unary operator
Michael Krebs
@michael-krebs
Jan 15 2016 16:13
@terakilobyte ok will check it out
rphares
@rphares
Jan 15 2016 16:14
you need the [1} for myPlants, still @gbilecki
Mallikarjun
@mallikarjun92
Jan 15 2016 16:14
now it worked after passing (10,5) @wessd8 thanx agin!
Wessd8
@wessd8
Jan 15 2016 16:14
no problem
rphares
@rphares
Jan 15 2016 16:14
but the thing is, the part isnt trees.... forget trees, @gbilecki :)
Michael Krebs
@michael-krebs
Jan 15 2016 16:15
@terakilobyte what is all this elixir business
Gristel Periwinkle
@gristel
Jan 15 2016 16:15
brb, my pup needs to pee :)
Nathan
@terakilobyte
Jan 15 2016 16:16
we can take it to a private chat for more discussion, but the short of it is Elixir is amazing
Uriel Arana
@UdanPrg
Jan 15 2016 16:16
@michael-krebs thank you so much... bless
rphares
@rphares
Jan 15 2016 16:16
Look at that nest array again... what is the green word it is in, @gbilecki ?
Nathan
@terakilobyte
Jan 15 2016 16:16
definitely not for the novice programmer though
Gregory Bilecki
@gbilecki
Jan 15 2016 16:17
type
rphares
@rphares
Jan 15 2016 16:17
no...
Gregory Bilecki
@gbilecki
Jan 15 2016 16:18
ugh
worked
list
got it
rphares
@rphares
Jan 15 2016 16:18
Yay!
do you gt why?
How're you doing, @MohitNehru ?
wushupork
@wushupork
Jan 15 2016 16:19
I had a rough time with that one too @rphares , mostly because I was overthinking it.
Gregory Bilecki
@gbilecki
Jan 15 2016 16:19
i GET why, however the example is bad and didn't say i needed to use a 0 base to access the "tree" array
rphares
@rphares
Jan 15 2016 16:19
heh... i really, really wish i could explain things...
ah, good-- if you get it, that's good enough for me... I'm sorry, I'm terrible at JS and don't belong here...
Gregory Bilecki
@gbilecki
Jan 15 2016 16:20
the example essentially said "have another arrat? just add the myList.array[#] and you're all set!
rphares
@rphares
Jan 15 2016 16:21
just saw the Qs flooding in and no one responding... looking forward to going back to my old job, greeting people and fielding HTML waypoints
Gregory Bilecki
@gbilecki
Jan 15 2016 16:21
arrat/array
lol
rphares
@rphares
Jan 15 2016 16:21
Well-- if it makes sense now-- pat yourself on the back a lot (JS is hard), take a quick breather, and then...
onto the next one :grinning:
wushupork
@wushupork
Jan 15 2016 16:22
the tree array is inside the bigger "myPlants" array, which is why trees is 1 and flowers is [0]
Gregory Bilecki
@gbilecki
Jan 15 2016 16:22
lol some javascript now, then some jiu jitsu later...im quite the masochist.
k-spr
@k-spr
Jan 15 2016 16:22
hey guys
Abhisek Pattnaik
@abhisekp
Jan 15 2016 16:22
hey
k-spr
@k-spr
Jan 15 2016 16:23
i feel really stupid but i'm stuck on this one exercise
Gregory Bilecki
@gbilecki
Jan 15 2016 16:23
thanks so much again @rphares
k-spr
@k-spr
Jan 15 2016 16:23
storing values with the equal operator
how do i assign var a to var b???
rphares
@rphares
Jan 15 2016 16:23
Anytime :) Thank you for being patient with my jumbled attempts, @gbilecki ! :)
Abhisek Pattnaik
@abhisekp
Jan 15 2016 16:23
var x = 2; // value stored
Gregory Bilecki
@gbilecki
Jan 15 2016 16:23
```var b = a;
Abhisek Pattnaik
@abhisekp
Jan 15 2016 16:24
@k-spr like the constanct 2 is assigned to a, assign, var b the variable a
k-spr
@k-spr
Jan 15 2016 16:24
ok so if a needs to be assigned to b, i just put var b = a?
dbaldwin17
@dbaldwin17
Jan 15 2016 16:24

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "the " + "big " + "dog " + "ran " + "quickly ";
// Your code below this line

// Your code above this line

return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
wordBlanks("cat", "litle", "hit", "slowly");

Gregory Bilecki
@gbilecki
Jan 15 2016 16:24
yes @k-spr
dbaldwin17
@dbaldwin17
Jan 15 2016 16:24
What am i missing here?
wushupork
@wushupork
Jan 15 2016 16:24
@k-spr in that exercise, var a and var b are already defined
@k-spr so all you need is b = a
k-spr
@k-spr
Jan 15 2016 16:24
perfect thanks guys, it wasn't really making sense
Wessd8
@wessd8
Jan 15 2016 16:24
@dbaldwin17 one minute
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 16:25
@k-spr make sure you're assigning a to b, like b = a
k-spr
@k-spr
Jan 15 2016 16:25
thank you!
rphares
@rphares
Jan 15 2016 16:25
spaces and the pieces like myNoun you are supposed to use, @dbaldwin17 :blush:
We want to make it changeable,
not use those words directly
August Yang
@mouseboyny
Jan 15 2016 16:25
@gbilecki Sorry are you still here? I have no idea what I'm doing with the flower trees JSON thing.
rphares
@rphares
Jan 15 2016 16:26
Is that the same one, @mouseboyny ?
August Yang
@mouseboyny
Jan 15 2016 16:26
@rphares Yeah. Nested JSON Arrays. The example doesn't seem to help.
I've tried var secondTree = myPlants.trees1;
Wessd8
@wessd8
Jan 15 2016 16:27
@dbaldwin17 you should have something like result += "The " + myNoun + " is " + myAdjective + " and will" + myVerb + " very " + myAdverb +" if you chase him"; // Your code above
rphares
@rphares
Jan 15 2016 16:27
oh, you are close, @mouseboyny
dbaldwin17
@dbaldwin17
Jan 15 2016 16:27
I'm not sure what to do with the second set of wordBlanks since the variable is already defined
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 16:27
In that waypoint you have an array, the second element is about trees. So first you need to access the second element of myPlants
dbaldwin17
@dbaldwin17
Jan 15 2016 16:27
Oh okay.
Devyn Hedin
@djhedin
Jan 15 2016 16:27
Can anyone help me with Counting Cards?
Wessd8
@wessd8
Jan 15 2016 16:27
@djhedin whats up?
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 16:27
Then within that second element there is a property that inside it has an array of trees
tsteele2013
@tsteele2013
Jan 15 2016 16:28
Struggling with Profile Lookup :(
August Yang
@mouseboyny
Jan 15 2016 16:28
So, it should be myPlants1? I tried that. It didn't work.
Devyn Hedin
@djhedin
Jan 15 2016 16:28
@wessd8 I'm not sure where I'm going wrong with this:
switch(card) {
case 2:
case 3:
case 4:
case 5:
case 6:
count++;
break;
case 7:
case 8:
case 9:
break;
case 10:
case 'J':
case 'Q':
case 'K':
case 'A':
count--;
break;
}
if(count > 0) {
return count + "Best";
}
else {
return count + "Hold";
}
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 16:28
@mouseboyny that's the start of it, yes
August Yang
@mouseboyny
Jan 15 2016 16:29
Ugh... Stupid escape characters. I mean myPlants/[1/]/[1/]
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 16:29
@mouseboyny then after you access the property that has the list of trees
wushupork
@wushupork
Jan 15 2016 16:29
" Bet" not "Best"
Devyn Hedin
@djhedin
Jan 15 2016 16:29
@wessd8 It's supposed to return the card number and Bet or Hold depending on count's value
R. E. Daniels
@RDaniels34
Jan 15 2016 16:29

Can anyone help with the "Accessing Nested Objects in JSON"? This is the code and my attempt... ```js
// Setup
var myStorage = {
"car": {
"inside": {
"glove box": "maps",
"passenger seat": "crumbs"
},
"outside": {
"trunk": "jack"
}
}
};

// Only change code below this line

var gloveBoxContents = "myStorage.car['inside'].glove box"; // Change this line

Devyn Hedin
@djhedin
Jan 15 2016 16:29
It's only returing 0Hold
August Yang
@mouseboyny
Jan 15 2016 16:30
@CaroleAnneHannon Thanks. Got it now, but the example was not helpful at all.
Wessd8
@wessd8
Jan 15 2016 16:30
ok @djhedin this one was hard for me to. i think its easier without a switch statement
Ettiene Grobler
@egrobler
Jan 15 2016 16:30
@RDaniels34 for string properties, you need to use bracket notation
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 16:30
@mouseboyny yeah that one is a bit tough
Devyn Hedin
@djhedin
Jan 15 2016 16:30
@wessd8 nvm, I got it. I was an idiot and forgot the dang space in the string
Wessd8
@wessd8
Jan 15 2016 16:31
oh @djhedin that works too!
R. E. Daniels
@RDaniels34
Jan 15 2016 16:31
@egrobler Isn't that what I'm doing with the square brackets?
Wessd8
@wessd8
Jan 15 2016 16:31
good job! you did better than me there
rphares
@rphares
Jan 15 2016 16:31
Yes.... but glove box has a space, @RDaniels34
Ettiene Grobler
@egrobler
Jan 15 2016 16:31
@RDaniels34 yes but for “glove box” you need to do it too..
Devyn Hedin
@djhedin
Jan 15 2016 16:31
@wessd8 Haha these challenges and my stupid mistakes are gonna drive me crazy
Wessd8
@wessd8
Jan 15 2016 16:31
it happens to all of us
R. E. Daniels
@RDaniels34
Jan 15 2016 16:32
@egrobler Thanks, I'll give that a try! I've tried a zillion other things.... ugh...
Ettiene Grobler
@egrobler
Jan 15 2016 16:32
@RDaniels34 well, there’s always time for a zillion and one! :)
R. E. Daniels
@RDaniels34
Jan 15 2016 16:35
@egrobler sorry to say, but that didn't work either...
Gristel Periwinkle
@gristel
Jan 15 2016 16:35
sorry, had a long phonecall
rphares
@rphares
Jan 15 2016 16:35
okay-- @RDaniels34 , paste what you have now :)
Ettiene Grobler
@egrobler
Jan 15 2016 16:35
@RDaniels34 show your code please
Gristel Periwinkle
@gristel
Jan 15 2016 16:35
I’m going to continue on the PDF with the Javascript Basics notes
Mention me or PM me when you need me :)
R. E. Daniels
@RDaniels34
Jan 15 2016 16:35
k... just a sec...
rphares
@rphares
Jan 15 2016 16:36
Thanks, @gristel :) Ill try and only ping when it gets super busy again ! :blush:
Gristel Periwinkle
@gristel
Jan 15 2016 16:36
Cool, thanks @rphares :)
kanwerjeet singh virk
@rockye22
Jan 15 2016 16:37
Instructions
Read from myArray using bracket notation so that myData is equal to 8 - var myData = myArray[2][3]; (what is wrong)?
Gristel Periwinkle
@gristel
Jan 15 2016 16:37
Hmmm, let me first check how I can enable sound notifications ;)
R. E. Daniels
@RDaniels34
Jan 15 2016 16:38

Here's the redo...
// Setup
var myStorage = {
"car": {
"inside": {
"glove box": "maps",
"passenger seat": "crumbs"
},
"outside": {
"trunk": "jack"
}
}
};

// Only change code below this line

var gloveBoxContents = "myStorage.car['inside']['glove box']"; // Change this line

rphares
@rphares
Jan 15 2016 16:38
@rockye22 -- could you tell us the waypoint name, please? :)
R. E. Daniels
@RDaniels34
Jan 15 2016 16:39
@egrobler putting a dot between the brackets doesn't do it either...
rphares
@rphares
Jan 15 2016 16:39
okay, @RDaniels34 , i can see the difference between your solution and mine... but i don't know what one works and the other doesn't... is @egrobler around?
Ettiene Grobler
@egrobler
Jan 15 2016 16:39
@RDaniels34 You’re setting the gloveBoxContents to a string literl instead of a value. Remove the “ before and after
rphares
@rphares
Jan 15 2016 16:39
oooh, didn't even notice that, heh
(*goes to experiment to see if the other different thing works both ways, like it should)
Ettiene Grobler
@egrobler
Jan 15 2016 16:40

@RDaniels34 so you’ve got

var gloveBoxContents = "myStorage.car['inside']['glove box']”;

change this to

var gloveBoxContents = myStorage.car['inside']['glove box’];
@RDaniels34 do you see the difference?
rphares
@rphares
Jan 15 2016 16:42
oh-- @egrobler , theres a critical line in the instructions we are ignoring,
wushupork
@wushupork
Jan 15 2016 16:42
the instructions say to use bracket notation only if the item has a space, so it should be
var gloveBoxContents = myStorage.car.inside["glove box"];
rphares
@rphares
Jan 15 2016 16:42
Only use object notation for properties with a space in their name.
yep
Ettiene Grobler
@egrobler
Jan 15 2016 16:43
yeah sorry guys, just thinking off the top of my head here. but those “” around the whole right side of the declaration was also incorrect. :)
R. E. Daniels
@RDaniels34
Jan 15 2016 16:43
This is what I got to pass the challenge...
var gloveBoxContents = myStorage.car.inside['glove box']; // Change this line
without the brackets around "inside"...
wushupork
@wushupork
Jan 15 2016 16:43
@rphares is correct
rphares
@rphares
Jan 15 2016 16:43
phew
Ettiene Grobler
@egrobler
Jan 15 2016 16:44
anyways good job @rphares ! :)
wushupork
@wushupork
Jan 15 2016 16:44
good job, @RDaniels34
rphares
@rphares
Jan 15 2016 16:44
on that-- since i have people who understand JS href-- if the instructions didn't explicitly say not to use it, then the other way is okay too, yes?
(er-- without the extra quotes, i just mean with the two [] )
Ettiene Grobler
@egrobler
Jan 15 2016 16:44
yes and @RDaniels34 good job to you too
@rphares what are you referring to exactly?
Kriss
@KrissBruni
Jan 15 2016 16:45

var fahrenheit = celsius;

var a = -30;
fahrenheit = a * 9/5 + 32; How can i add other values so i can pass the test?

R. E. Daniels
@RDaniels34
Jan 15 2016 16:45
@egrobler @wushupork , and anyone else who helped.... Thank you for your help! I see now what I needed to do!!!
rphares
@rphares
Jan 15 2016 16:45
Erm-- i know why my answer (the one it asked for ) works, but is it correct that
var gloveBoxContents = myStorage.car['inside']['glove box’]; also works (if we weren't told not to use [] when there is no space? ) @egrobler
kanwerjeet singh virk
@rockye22
Jan 15 2016 16:47
var myData = myArray[2][3]; (what is wrong)?
Ettiene Grobler
@egrobler
Jan 15 2016 16:47
@rphares well bracket and dot notation are valid. Just the cases where dot-notation is invalid that you should use bracket notation, i.e. for strings with spaces in or maybe reserved words
Ariel
@ArielLeslie
Jan 15 2016 16:48
@rockye22 We need more context than that.
Ettiene Grobler
@egrobler
Jan 15 2016 16:48
@rphares so if it isn’t specified to use a specific notation, you’re free to use whichever one is valid.
R. E. Daniels
@RDaniels34
Jan 15 2016 16:48
@rphares The first part of the challenged passed with the square brackets around 'inside', but the second part of the challenge didn't pass. It asks to "Use dot and bracket notation to access myStorage....
rphares
@rphares
Jan 15 2016 16:48
ah, okeydoke-- thank you thank you! :)
Congrats on getting the solution, @RDaniels34 :)
Ettiene Grobler
@egrobler
Jan 15 2016 16:49
ok guys, don’t start crying, but I got to run quick. Happy learning and chat later!
rphares
@rphares
Jan 15 2016 16:49
Thank you again-- have a great one, @egrobler ~
R. E. Daniels
@RDaniels34
Jan 15 2016 16:49
Code On!!
kanwerjeet singh virk
@rockye22
Jan 15 2016 16:49
@ArielLeslie the instructions are -(Read from myArray using bracket notation so that myData is equal to 8)
rphares
@rphares
Jan 15 2016 16:50
Can you tell us the challenge name, @rockye22 ?
Ariel
@ArielLeslie
Jan 15 2016 16:50
@rockye22 I don't have the given code memorized, but are you remembering to count starting at 0?
kanwerjeet singh virk
@rockye22
Jan 15 2016 16:50
@ArielLeslie its in basic java script -Access MultiDimensional Arrays With Indexes
Miguel Fontes
@Miguel-Fontes
Jan 15 2016 16:51
@rockye22 tell us how you defined 'myArray'
@rockye22 that should help us help you :P
rphares
@rphares
Jan 15 2016 16:52
his code:
Ariel
@ArielLeslie
Jan 15 2016 16:52
@rockye22 can you please paste the entire code (formatted please)
rphares
@rphares
Jan 15 2016 16:52
// Setup
var myArray = [[1,2,3], [4,5,6], [7,8,9], [[10,11,12], 13, 14]];
var myData = myArray[2][3];    (what is wrong)?
Mohamud Gedi
@Mogedi
Jan 15 2016 16:52
Remember that JS starts to index at 0
kanwerjeet singh virk
@rockye22
Jan 15 2016 16:53
@rphares yes thats it
@rphares it didn't return 8
rphares
@rphares
Jan 15 2016 16:53
yes-- so it is what they are saying, @rockye22 -- its about where your indexes start,
Ariel
@ArielLeslie
Jan 15 2016 16:53
@rockye22 myArray[2][3] doesn't exist
Miguel Fontes
@Miguel-Fontes
Jan 15 2016 16:54
exactly
Mohamud Gedi
@Mogedi
Jan 15 2016 16:54
yep
kanwerjeet singh virk
@rockye22
Jan 15 2016 16:54
ok
thanks
rphares
@rphares
Jan 15 2016 16:55
You got it, @rockye22 ? Or rather, know what to look at?
Ariel
@ArielLeslie
Jan 15 2016 16:55
@rockye22 remember: indexing starts at 0. myArray[0][0] is 1
Robert Richey
@0x0936
Jan 15 2016 16:57

I like to think of 2d arrays as rows and columns. The first index represents the row, then the second index is the column.

var multi = [
  [1, 2, 3], // row 1
  [4, 5, 6], // row 2
  [7, 8, 9] // row 3... and so on
];

multi[0] will give access to the elements from the first sub array - or first row, therefore, multi[0][2] will result in the value 3

rphares
@rphares
Jan 15 2016 16:59
Thanks, @0x0936 -- i could have used that when i was doing the waypoint.... not gonna lie, this one was one of the ones that took me the longest, lol :blush:
Robert Richey
@0x0936
Jan 15 2016 17:06
multi-dimensional arrays are non-trivial to think about, especially when still trying to get used to 0-based indexing
Herman Fassett
@HermanFassett
Jan 15 2016 17:07
I'm
rphares
@rphares
Jan 15 2016 17:07
i know, and it eventually sunk it... but it took me a while, it's been a month since id really looked at JS in the bonfires and not all that much had stuck, lol
Yay! Thanks for coming, @HermanFassett :)
Herman Fassett
@HermanFassett
Jan 15 2016 17:09
Didn't mean to send that ha-ha, I'm on mobile at school atm
rphares
@rphares
Jan 15 2016 17:09
This message was deleted
Abhisek Pattnaik
@abhisekp
Jan 15 2016 17:11
@HermanFassett I think you shud study then :P
Uriel Arana
@UdanPrg
Jan 15 2016 17:11
I'm BUG...!!! Help me please....

function convert(fahrenheit,celsius,t1,t2,t3,t4,t5) {
// Only change code below this line
t1=-30;
t2=-10;
t3=0;
t4 =20;
t5=30;
celsius= t1 && t2 && t3 && t4 && t5;
fahrenheit=(celsius*1.8)+32;
// Only change code above this line
if ( typeof fahrenheit !== 'undefined' ) {
return fahrenheit;
} else {
return 'fahrenheit not defined';
}
}

// Change the inputs below to test your code
convert();

Brendan Kinahan
@BKinahan
Jan 15 2016 17:11
help the bug
Abhisek Pattnaik
@abhisekp
Jan 15 2016 17:11
the bug :bug:
rphares
@rphares
Jan 15 2016 17:11
perfect-- tag! need to pop away for a few :pensive:
Herman Fassett
@HermanFassett
Jan 15 2016 17:11
@abhisekp where's the fun in that?
Abhisek Pattnaik
@abhisekp
Jan 15 2016 17:12
@HermanFassett learning isn't fun? o.O
Herman Fassett
@HermanFassett
Jan 15 2016 17:12
I have sets and logic and technical writing to study today...
Brendan Kinahan
@BKinahan
Jan 15 2016 17:12
@UdanPrg review how functions work. that is not how they work :P
wushupork
@wushupork
Jan 15 2016 17:13
@UdanPrg You might want to reset and try again. you modified stuff you weren't supposed to modify
Uriel Arana
@UdanPrg
Jan 15 2016 17:14
Ok...
John Cerpa
@johncerpa
Jan 15 2016 17:14
did the design change?
Angela Manuel
@Smangeee
Jan 15 2016 17:16
For the "Understanding Case Sensitivity in Variables" problem, I did it.. but it says I haven't done any of the checkpoints?
Brendan Kinahan
@BKinahan
Jan 15 2016 17:16
@Smangeee do you mean the tests aren’t passing?
Angela Manuel
@Smangeee
Jan 15 2016 17:16
yeah

// Declarations
var StudyCapVar;
var ProperCamelCase;
var TitleCaseOver;

// Assignments
StudyCapVar = 10;
ProperCamelCase = "A String";
TitleCaseOver = 9000;

Am I missing something? Thought it just said to change it to camelcase and that's it?

Brendan Kinahan
@BKinahan
Jan 15 2016 17:17
This message was deleted
@Smangeee camel case starts with a lowercase letter
wushupork
@wushupork
Jan 15 2016 17:18
camelCase
John Cerpa
@johncerpa
Jan 15 2016 17:18
properCamelCase
Brendan Kinahan
@BKinahan
Jan 15 2016 17:18
@Smangeee you’re using TitleCase
Angela Manuel
@Smangeee
Jan 15 2016 17:18
ohhh haha. I knew that. thanks @BKinahan haha
zyggymaroo
@zyggymaroo
Jan 15 2016 17:21
i feel like a bit of a silly but i'm stuck with the stand in line checkpoint i don't really know where to start
"Write a function queue which takes an array (arr) and a number (item) as arguments. Add the number to the end of the array, then remove the first element of array. The queue function should then return the element that was removed."
John Cerpa
@johncerpa
Jan 15 2016 17:22
use shift and push
to remove the first element of an array use shift
and to add one element at the end use push
like this
array.push(item);
zyggymaroo
@zyggymaroo
Jan 15 2016 17:24
thank you,
i think my problem is i overthink things, sorry for bothering you
rphares
@rphares
Jan 15 2016 17:25
No need to apologize, @zyggymaroo ~ Hapy coding!
Kriss
@KrissBruni
Jan 15 2016 17:26
function convert(celsius) {
// Only change code below this line
var fahrenheit = celsius;
var a = -30;
fahrenheit = a * 9/5 + 32; where can i put all the other temperatures to pass the test, there 4 more values to convert
zyggymaroo
@zyggymaroo
Jan 15 2016 17:26
thank you @rphares i hope i get the hang of it soon
Holly Williford
@hollyhascode
Jan 15 2016 17:27
Use parenthesis Kriss
Brendan Kinahan
@BKinahan
Jan 15 2016 17:27
@KrissBruni your function should be able to work for any input, by operating on the argument passed into it.
Holly Williford
@hollyhascode
Jan 15 2016 17:27
I'm stuck at a bonfire reverse a string
wushupork
@wushupork
Jan 15 2016 17:28
^
Brendan Kinahan
@BKinahan
Jan 15 2016 17:28
Hint: It’s much simpler to reverse an array than it is to reverse a string.
John Cerpa
@johncerpa
Jan 15 2016 17:30
how do I return the element that was removed
I tried using a variable but it doesn't work
Brendan Kinahan
@BKinahan
Jan 15 2016 17:31
@johncerpa what does your code look like now?
John Cerpa
@johncerpa
Jan 15 2016 17:32
function queue(arr, item) {
  // Your code here

  arr.push(item);
  var removedelem = arr.shift();

  return removedelem;  // Change this line
}
Brendan Kinahan
@BKinahan
Jan 15 2016 17:33
@johncerpa .shift() doesn’t take an argument. It just removes the first element of an array.
John Cerpa
@johncerpa
Jan 15 2016 17:33
Yes, I know.
How do I return the element after it was removed?
Brendan Kinahan
@BKinahan
Jan 15 2016 17:33
@johncerpa did you edit that in the message or am I just crazy?
John Cerpa
@johncerpa
Jan 15 2016 17:33
Yes, I did haha
But it's still not working
Brendan Kinahan
@BKinahan
Jan 15 2016 17:34
@johncerpa odd, the code as it is in your message above now works for me. Did you change something anywhere else in the code?
Gristel Periwinkle
@gristel
Jan 15 2016 17:34
It works for me as well
John Cerpa
@johncerpa
Jan 15 2016 17:35
now
I refreshed the website
It works now
Thanks
Holly Williford
@hollyhascode
Jan 15 2016 17:37
do I need a separator to split an array?
yeah it is helpful in that it hints at that on the lesson thanks @BKinahan
wushupork
@wushupork
Jan 15 2016 17:38
If you're splitting it into individual characters, you just need ('')
John Cerpa
@johncerpa
Jan 15 2016 17:39
did the design of the website change?
rphares
@rphares
Jan 15 2016 17:39
Yes, @johncerpa , it did :blush:
Holly Williford
@hollyhascode
Jan 15 2016 17:40
but if i'm splitting the word do I need the amount of character in the word in the paren
John Cerpa
@johncerpa
Jan 15 2016 17:40
@rphares ohh okay, looks nice
David Biedenbender
@CodeDavidB
Jan 15 2016 17:40
what the heck do i put the %?
rphares
@rphares
Jan 15 2016 17:40
thanks, @johncerpa , shall pass that along :)
one sec, @CodeDavidB , its s bit slow...
David Biedenbender
@CodeDavidB
Jan 15 2016 17:40
np
Holly Williford
@hollyhascode
Jan 15 2016 17:41
nevermind I got the answer to that question
rphares
@rphares
Jan 15 2016 17:41
ah, okay-- you need the whole equation :)
Uriel Arana
@UdanPrg
Jan 15 2016 17:41
Someone can show me just to give me an idea of her example of "convert Celsius to Fahrenheit" please. I'm stuck and can not find the solution .. Thanks in advance.
David Biedenbender
@CodeDavidB
Jan 15 2016 17:41
i was trying all kinds of versions of 11 % 3
wushupork
@wushupork
Jan 15 2016 17:41
split(delimiter) splits the string at the delimiters. if you specify ('') it makes an array of single characters. so "blah".split('') becomes ["b","l","a","h"]
rphares
@rphares
Jan 15 2016 17:41
really, @CodeDavidB ?
David Biedenbender
@CodeDavidB
Jan 15 2016 17:42
yeah im not getting it
rphares
@rphares
Jan 15 2016 17:42
cause... that's pretty much the answer, @CodeDavidB
can you paste the whole line here of what you think that looks like, please? :)
David Biedenbender
@CodeDavidB
Jan 15 2016 17:42
sure one sec

var remainder;

11 % 3 = 2;

rphares
@rphares
Jan 15 2016 17:43
Ahhh,
John Cerpa
@johncerpa
Jan 15 2016 17:44
let the computer do the operation
rphares
@rphares
Jan 15 2016 17:44
and assign it to var remainder
David Biedenbender
@CodeDavidB
Jan 15 2016 17:44
so 11 % 3; enter?
John Cerpa
@johncerpa
Jan 15 2016 17:44
var var1 = 5 + 4;
for example
David Biedenbender
@CodeDavidB
Jan 15 2016 17:45
so var remainder = 11 % 3
rphares
@rphares
Jan 15 2016 17:45
punctuate it and run tests :)
Brendan Kinahan
@BKinahan
Jan 15 2016 17:45
punctuation, is for. loser’s-
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:46
Hi people!
John Cerpa
@johncerpa
Jan 15 2016 17:46
is a nightmare
Hey!
David Biedenbender
@CodeDavidB
Jan 15 2016 17:46
sweet thanks
rphares
@rphares
Jan 15 2016 17:46
hi, @Varulvsnatt :)
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:46
I'm having a problem with this Bonfire: Return Largest Numbers in Array
rphares
@rphares
Jan 15 2016 17:46
hmm, im not likely to be able to help, but
can you paste your code and tell us what is tricky? :)
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:48
´´´
´´´
oops
John Cerpa
@johncerpa
Jan 15 2016 17:48
basic algorithm scripting
isn't this a javascript chat
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:48

´´´
function largestOfFour(arr) {
var d = [0, 0, 0, 0];
var i;
var j;

for (i = 0; i < arr.length; i++) {
for (j = 0; j < arr[i].length; j++)
if (d[j] < arr[i][j]) {
d[j] = arr[i][j];
}
}

return d;
}

´´´

Brendan Kinahan
@BKinahan
Jan 15 2016 17:48
@Varulvsnatt backticks look like this: `
John Cerpa
@johncerpa
Jan 15 2016 17:49
explain format
explain formatting
Brendan Kinahan
@BKinahan
Jan 15 2016 17:49
camperbot isn’t here yet
rphares
@rphares
Jan 15 2016 17:49
sighs in relief that bk came back
John Cerpa
@johncerpa
Jan 15 2016 17:49
hmmn
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:49
function largestOfFour(arr) {
var d = [0, 0, 0, 0];
var i;
var j;

for (i = 0; i < arr.length; i++) {
  for (j = 0; j < arr[i].length; j++)
    if (d[j] < arr[i][j]) {
      d[j] = arr[i][j];
    }
}


return d;
}
sorry
rphares
@rphares
Jan 15 2016 17:49
that's why i keep thanking you out there, @johncerpa :)
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:49
Somebody changed my keyboard language :D
Brendan Kinahan
@BKinahan
Jan 15 2016 17:49
@rphares Can confirm that camperbot will be here at some point.
rphares
@rphares
Jan 15 2016 17:50
they are testing him in the other rooms atm :blush:
Brendan Kinahan
@BKinahan
Jan 15 2016 17:50
@rphares ah, didn’t think you knew. but it’s good news :D
John Cerpa
@johncerpa
Jan 15 2016 17:51
I think he needs a variable
Uriel Arana
@UdanPrg
Jan 15 2016 17:51
Someone can show me just to give me an idea of her example of "convert Celsius to Fahrenheit" please. I'm stuck and can not find the solution .. Thanks in advance.
rphares
@rphares
Jan 15 2016 17:51
not an official confirmation, just a camper, but can confirm they are working on it :)
John Cerpa
@johncerpa
Jan 15 2016 17:51
working on what?
rphares
@rphares
Jan 15 2016 17:51
getting cbot in the new rooms
cannelflow
@cannelflow
Jan 15 2016 17:51
@UdanPrg what you tried?
Brendan Kinahan
@BKinahan
Jan 15 2016 17:51
@rphares I asked in the camperbot dev room, BerkeleyTrue said cbot’s on his way.
rphares
@rphares
Jan 15 2016 17:52
yay! thanks, @BKinahan ~
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:52
I'm getting a strange array.
With strange numbers.
Olawale Akinseye
@brainyfarm
Jan 15 2016 17:52
@UdanPrg
Can we see your code?
Uriel Arana
@UdanPrg
Jan 15 2016 17:52

function convert(celsius,fahrenheit) {
// Only change code below this line
celsius= 0;
fahrenheit= (celsius * 1.8)+32;

// Only change code above this line
if ( typeof fahrenheit !== 'undefined' ) {
return fahrenheit;
} else {
return 'fahrenheit not defined';
}
}

// Change the inputs below to test your code
convert();

John Cerpa
@johncerpa
Jan 15 2016 17:52
remember that javascript is case sensitive
Brendan Kinahan
@BKinahan
Jan 15 2016 17:53
@UdanPrg you’re changing celsius to 0 no matter what celsius value you’re given as an argument, which is a no-no. Also you have added an extra parameter for which there is no argument.
Uriel Arana
@UdanPrg
Jan 15 2016 17:53
celsius only it allows me to place a number
Brendan Kinahan
@BKinahan
Jan 15 2016 17:54
@Varulvsnatt you probably want to use d[i][j] rather than d[j]
Olawale Akinseye
@brainyfarm
Jan 15 2016 17:55
@UdanPrg
Explain what you are doing here
celsius= 0;
fahrenheit= (celsius * 1.8)+32;
Brendan Kinahan
@BKinahan
Jan 15 2016 17:55
@Varulvsnatt Sorry, I mean d[i] rather than d[j]
Uriel Arana
@UdanPrg
Jan 15 2016 17:55
exercise asks me to convert various amounts simultaneously
John Cerpa
@johncerpa
Jan 15 2016 17:56
that's why you need a function
Brendan Kinahan
@BKinahan
Jan 15 2016 17:56
@UdanPrg The exercise asks you to write a function that can return the fahrenheit value for a given celsius value input, but not simultaneously.
Uriel Arana
@UdanPrg
Jan 15 2016 17:57
celsius= -30, -10,20, 0;
Olawale Akinseye
@brainyfarm
Jan 15 2016 17:57
If you look at this line celsius= 0; @UdanPrg
No matter what is passed into the function, celsius will always be 0 before you convert.
Uriel Arana
@UdanPrg
Jan 15 2016 17:57
and probe with this, but I will not work, and you probe with various forms and failed to nothing
Brendan Kinahan
@BKinahan
Jan 15 2016 17:57
@UdanPrg convert(-30) should return -22 as the fahrenheit equivalent, etc.
Olawale Akinseye
@brainyfarm
Jan 15 2016 17:58
So in short, what you are doing is fahrenheit= ( 0 * 1.8)+32; @UdanPrg
Kriss
@KrissBruni
Jan 15 2016 17:58
var myStr; \ \t \t \r \n; unexpected '\' what i wrong?
John Cerpa
@johncerpa
Jan 15 2016 17:58
the value of the variable is given later when you're going to use the function
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:58
@BKinahan Even though I use d[i] i receive a strange array.
Brendan Kinahan
@BKinahan
Jan 15 2016 17:59
@KrissBruni if you’re trying to assign a value to myStr, use = instead of ;. Also you need quotes around the string.
John Cerpa
@johncerpa
Jan 15 2016 17:59
double backslash
Varulvsnatt
@Varulvsnatt
Jan 15 2016 17:59
console is giving me [3, 26, 39, 857]
Brendan Kinahan
@BKinahan
Jan 15 2016 17:59
@Varulvsnatt really? changing each instance of d[j] in your code to d[i] made it work for me.
Kriss
@KrissBruni
Jan 15 2016 17:59
thank you very much forgot about the = sign
Varulvsnatt
@Varulvsnatt
Jan 15 2016 18:00
I'm not getting why.
Brendan Kinahan
@BKinahan
Jan 15 2016 18:00
@Varulvsnatt maybe you missed one?
John Cerpa
@johncerpa
Jan 15 2016 18:00
var myStr = "\\ \t \t \r \n";
is that correct?
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:00
Do you get it @UdanPrg ?
Kriss
@KrissBruni
Jan 15 2016 18:00
yes it is! Thank you
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:00
Yes @johncerpa :)
Daniyar Salaidin uulu
@dsaladinov
Jan 15 2016 18:00
hi all
John Cerpa
@johncerpa
Jan 15 2016 18:00
oh good :)
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:01
hi @dsaladinov
Taur'e Anthony
@k0decraft
Jan 15 2016 18:01
Yea I can't get past the Celsius to Fahrenheit waypoint either.
Uriel Arana
@UdanPrg
Jan 15 2016 18:01
Thank you so much and I have met. Thanks again for your help ... blessings.
Daniyar Salaidin uulu
@dsaladinov
Jan 15 2016 18:01
I need help
Taur'e Anthony
@k0decraft
Jan 15 2016 18:01
This needs to be explain to me like I'm 5, no drive by quick post please lol
John Cerpa
@johncerpa
Jan 15 2016 18:02
@dsaladinov what's up?
Varulvsnatt
@Varulvsnatt
Jan 15 2016 18:02
@BKinahan Ohhh you right! I forgot to change the one on the if. Thanks! ♥
John Cerpa
@johncerpa
Jan 15 2016 18:02
@brainyfarm what is masterbrainy
Varulvsnatt
@Varulvsnatt
Jan 15 2016 18:02
@BKinahan I use the [i] because my array was index 3, right?
Daniyar Salaidin uulu
@dsaladinov
Jan 15 2016 18:03
I don't understand this : Word Blanks
wordBlanks("dog", "big", "ran", "quickly") should contain all of the passed words separated by non-word characters (and any additional words in your madlib). how do it do?
John Cerpa
@johncerpa
Jan 15 2016 18:03
paste your code @dsaladinov
Brendan Kinahan
@BKinahan
Jan 15 2016 18:03
@Varulvsnatt try thinking through the nested loops step by step to understand what went wrong :)
Daniyar Salaidin uulu
@dsaladinov
Jan 15 2016 18:03

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = wordBlanks();
// Your code below this line
result.wordBLanks();

// Your code above this line

return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");

John Cerpa
@johncerpa
Jan 15 2016 18:05
you should make a statement
store it in a variable
using the parameters given in the function
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:06
@dsaladinov
You only need to concatenate all arguments followed by a blank space and return .
Daniyar Salaidin uulu
@dsaladinov
Jan 15 2016 18:07
@johncerpa @brainyfarm
I'm going to try now
thanks
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:10
No problems @dsaladinov :)
ohbp
@ohbp
Jan 15 2016 18:13
Man, I've been struggling with that same lesson. I'm glad I wasn't the only one.
rphares
@rphares
Jan 15 2016 18:14
the celsius one or the word blacks, @ohbp ?
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:14
@ohbp
The secret is that it is as simple as it says :)
John Cerpa
@johncerpa
Jan 15 2016 18:14
word blanks?
ohbp
@ohbp
Jan 15 2016 18:14
Word Blanks
John Cerpa
@johncerpa
Jan 15 2016 18:14
it's easy
words and spaces
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:14
Just add a blank after each argument and return them @ohbp :)
Brendan Kinahan
@BKinahan
Jan 15 2016 18:14
@rphares lol 'word blacks'
@brainyfarm that’s not long enough, though
Taur'e Anthony
@k0decraft
Jan 15 2016 18:15
Well, I'm still struggling with the Celsius one.
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:15
cbot
CamperBot
@camperbot
Jan 15 2016 18:15
you called?
John Cerpa
@johncerpa
Jan 15 2016 18:15
explain formatting
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:15
Brownies here now :)
CamperBot
@camperbot
Jan 15 2016 18:15

:point_right: code formatting [wiki]

Inline code

This an inline `<paste code here>` code formatting with a single backtick(`) at start and end around the code.

Code Block

``` ⇦ Type 3 backticks, then press [shift + enter ⏎]

<paste your code here>,
then press [shift + enter ⏎]

``` ⇦ Type 3 backticks, then press [enter ⏎]

See also: ☛ How to type Backticks | ☯ Compose Mode | ❄ Gitter Formatting Basics

:pencil: read more about code formatting on the FCC Wiki

rphares
@rphares
Jan 15 2016 18:15
Oh, checking... thanks, @brainyfarm , @BKinahan , @johncerpa !
CamperBot
@camperbot
Jan 15 2016 18:15
rphares sends brownie points to @brainyfarm and @bkinahan and @johncerpa :sparkles: :thumbsup: :sparkles:
John Cerpa
@johncerpa
Jan 15 2016 18:15
he's here
CamperBot
@camperbot
Jan 15 2016 18:15
:warning: rphares already gave bkinahan points
:warning: rphares already gave johncerpa points
:star: 1069 | @brainyfarm | http://www.freecodecamp.com/brainyfarm
rphares
@rphares
Jan 15 2016 18:15
Yay!
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:16
Struggling helps too @BKinahan :)
John Cerpa
@johncerpa
Jan 15 2016 18:16
True
Brendan Kinahan
@BKinahan
Jan 15 2016 18:16
wiki format
CamperBot
@camperbot
Jan 15 2016 18:16

:point_right: code formatting [wiki]

Inline code

This an inline `<paste code here>` code formatting with a single backtick(`) at start and end around the code.

Code Block

``` ⇦ Type 3 backticks, then press [shift + enter ⏎]

<paste your code here>,
then press [shift + enter ⏎]

``` ⇦ Type 3 backticks, then press [enter ⏎]

See also: ☛ How to type Backticks | ☯ Compose Mode | ❄ Gitter Formatting Basics

:pencil: read more about code formatting on the FCC Wiki

Olawale Akinseye
@brainyfarm
Jan 15 2016 18:16
Thanks @rphares
CamperBot
@camperbot
Jan 15 2016 18:16
brainyfarm sends brownie points to @rphares :sparkles: :thumbsup: :sparkles:
Brendan Kinahan
@BKinahan
Jan 15 2016 18:16
oh thank jebus
CamperBot
@camperbot
Jan 15 2016 18:16
:star: 1501 | @rphares | http://www.freecodecamp.com/rphares
rphares
@rphares
Jan 15 2016 18:16
lol, fairly useless bot, @brainyfarm ...
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:17
oops!
John Cerpa
@johncerpa
Jan 15 2016 18:17
@BKinahan did you finish the entire course?
mmacedo
@mmacedoeu
Jan 15 2016 18:17
What I need to do for CodePen.io allow me to save ?
docsoul
@docsoul
Jan 15 2016 18:17
JavaScript help? Awesome
Brendan Kinahan
@BKinahan
Jan 15 2016 18:17
@johncerpa No, I’m up to the front end ziplines, about halfway through. I’ve finished all the basic exercises and the algorithm stuff though.
rphares
@rphares
Jan 15 2016 18:17
Welcome, @docsoul :)
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:17
You just click on save button @mmacedoeu
docsoul
@docsoul
Jan 15 2016 18:18
@rphares Thank you
CamperBot
@camperbot
Jan 15 2016 18:18
docsoul sends brownie points to @rphares :sparkles: :thumbsup: :sparkles:
:star: 1502 | @rphares | http://www.freecodecamp.com/rphares
mmacedo
@mmacedoeu
Jan 15 2016 18:18
@brainyfarm It does nothing when I do that
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:19
And you are sure your connection is all right @mmacedoeu ?
Kriss
@KrissBruni
Jan 15 2016 18:19
'<var myStr = "This is the start." + "This is the end.";>'
sorry little mistake
var myStr = "This is the start." + "This is the end.";
whats wrong with my code, i can't pass
Concatenating Strings with Plus Operator
mmacedo
@mmacedoeu
Jan 15 2016 18:20
just forgot I need to connect to a vpn so I don't get blocked outside Matrix
John Cerpa
@johncerpa
Jan 15 2016 18:21
Spaces
rphares
@rphares
Jan 15 2016 18:21
@KrissBruni , i think you need a space in there
John Cerpa
@johncerpa
Jan 15 2016 18:21
@KrissBruni This is the start. This is the end.
rphares
@rphares
Jan 15 2016 18:22
What you have would become
This is the start.This is the end.
:)
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:22
Exactly @rphares and @mmacedoeu
A white space after the first period (.) ;)
Kriss
@KrissBruni
Jan 15 2016 18:22
allright, thank you! Pikachu chooses me! :)
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:22
Pikachu chooses me too :)
rphares
@rphares
Jan 15 2016 18:22
COngrats! Happy coding~
Robert Means
@BoDonkey
Jan 15 2016 18:24
Can someone give me a little help with No repeats please?
John Cerpa
@johncerpa
Jan 15 2016 18:25
what's up?
Robert Means
@BoDonkey
Jan 15 2016 18:25
I feel like the permutations of 'aab' should only be 'aba'
why should there be 2?
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 18:28
@BoDonkey because it doesn't care about uniqueness
Kaan Erermis, PPE (Professional Pizza Eater)
@KaanMasters
Jan 15 2016 18:28
is possible to remove a single element from an array containing only one element with the splice method
Brendan Kinahan
@BKinahan
Jan 15 2016 18:28
@BoDonkey short answer, the as are different.
Robert Means
@BoDonkey
Jan 15 2016 18:28
@BKinahan then why wouldn't it be three
@BKinahan never mind - I got it
Carole Anne Hannon
@CaroleAnneHannon
Jan 15 2016 18:28
If you think about it from an index perspective. aab = 0-> a, 1->a , 2->b. So 012 and 102 are different, but they both produce aab
Robert Means
@BoDonkey
Jan 15 2016 18:28
@BKinahan Thanks!
CamperBot
@camperbot
Jan 15 2016 18:28
bodonkey sends brownie points to @bkinahan :sparkles: :thumbsup: :sparkles:
Brendan Kinahan
@BKinahan
Jan 15 2016 18:28
@BoDonkey abA and Aba
CamperBot
@camperbot
Jan 15 2016 18:28
:warning: bodonkey already gave bkinahan points
Robert Means
@BoDonkey
Jan 15 2016 18:29
@CaroleAnneHannon Thanks!
CamperBot
@camperbot
Jan 15 2016 18:29
bodonkey sends brownie points to @caroleannehannon :sparkles: :thumbsup: :sparkles:
:star: 692 | @caroleannehannon | http://www.freecodecamp.com/caroleannehannon
pyoo0225
@pyoo0225
Jan 15 2016 18:30
Is anyone else having issues with the new freeCodeCamp layout?
John Cerpa
@johncerpa
Jan 15 2016 18:30
This message was deleted
This message was deleted
pyoo0225
@pyoo0225
Jan 15 2016 18:30
im unable to close the map layout without taking it out from the source
LComplex
@LComplex
Jan 15 2016 18:32
hello can someone give me some information on the Record Collection checkpoint?
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:32
The x buttons doesn't close it @pyoo0225 ?
LComplex
@LComplex
Jan 15 2016 18:32
// Setup
var collection = {
    2548: {
      album: "Slippery When Wet",
      artist: "Bon Jovi",
      tracks: [ 
        "Let It Rock", 
        "You Give Love a Bad Name" 
      ]
    },
    2468: {
      album: "1999",
      artist: "Prince",
      tracks: [ 
        "1999", 
        "Little Red Corvette" 
      ]
    },
    1245: {
      artist: "Robert Palmer",
      tracks: [ ]
    },
    5439: {
      album: "ABBA Gold"
    }
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));

// Only change code below this line
function update(id, prop, value) {
  if (value !== "" && prop != "tracks") {
    return 
  }
  else if (prop == "tracks" && value !== "") {
    return tracks.push(value);
  }
  else if (value === "") {
    return tracks.pop(prop);
  }


  return collection;
}

// Alter values below to test your code
update(5439, "artist", "ABBA");
John Cerpa
@johncerpa
Jan 15 2016 18:33
first of all
LComplex
@LComplex
Jan 15 2016 18:33
this is what i have so far but im unsure what they mean by "If value is non-blank (value !== "") and prop is not "tracks" then update or set the value for the prop." would updating the value be done with the dot/bracket notation they talked about before?
John Cerpa
@johncerpa
Jan 15 2016 18:33
you should return something after the condition is true
you should
update like this
collections[id][prop] = value;
collection[id][prop].push(value);
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:34
@LComplex
You only have to return the collection alone after doing after everything and beside, you are not accessing properties and the objects the right way.
This message was deleted
pyoo0225
@pyoo0225
Jan 15 2016 18:34
@brainyfarm yeah only for the map sidebar
Taur'e Anthony
@k0decraft
Jan 15 2016 18:34
This message was deleted
Olawale Akinseye
@brainyfarm
Jan 15 2016 18:35
@pyoo0225
On what browser?
It works here on Chrome.
pyoo0225
@pyoo0225
Jan 15 2016 18:35
@brainyfarm im using safari, I think i'll download chrome and see if it works
@brainyfarm thanks for the idea
CamperBot
@camperbot
Jan 15 2016 18:36
pyoo0225 sends brownie points to @brainyfarm :sparkles: :thumbsup: :sparkles:
rphares
@rphares
Jan 15 2016 18:36
Im on safari and don't completely understand your issue--
CamperBot
@camperbot
Jan 15 2016 18:36
:star: 1070 | @brainyfarm | http://www.freecodecamp.com/brainyfarm
LComplex
@LComplex
Jan 15 2016 18:36
alright thanks
Taur'e Anthony
@k0decraft
Jan 15 2016 18:37
So is this kinda on the right track? Trying to convert the Celsius to Fahrenheit but I don't think I can really follow the instruction given clearly.
function convert(celsius) {
  // Only change code below this line


  var fahrenheit = celsius;

  var a = -30,
      b = -10,
      c = 20,
      d = 30;

  fahrenheit = (a * 9/5) + 32;
I was thinking of placing the other temperatures in an Array but that was wrong, but shouldnt that work? Doing an Array of the temps?
rphares
@rphares
Jan 15 2016 18:38
Well, the bottom part is on the right track
John Cerpa
@johncerpa
Jan 15 2016 18:38
remember is a function
Brendan Kinahan
@BKinahan
Jan 15 2016 18:38
@twenty1 you want to make a change to celsius so that it becomes the correct fahrenheit value, and assign that to fahrenheit and return it.
@twenty1 or just return it right away
@twenty1 It has to work for any input celsius value, not just the test cases.
John Cerpa
@johncerpa
Jan 15 2016 18:39
This message was deleted
Brendan Kinahan
@BKinahan
Jan 15 2016 18:39
@johncerpa nope