These are chat archives for FreeCodeCamp/Help

31st
Dec 2014
Dominic Jones
@towwiow
Dec 31 2014 00:21
anyone here?
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:22
@towwiow Yes, need help with something?
Dominic Jones
@towwiow
Dec 31 2014 00:22
yeah.
Did you get through the try.JQuery already ?
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:24
Yep.
Maxim Orlov
@Maximization
Dec 31 2014 00:25
@towwiow 'sup
I can't seem to figure this one out.
It's been 10 minutes on this slide and all the combinations I've used won't take ;(
Maxim Orlov
@Maximization
Dec 31 2014 00:26
@towwiow you've watched the explanatory video right?
Dominic Jones
@towwiow
Dec 31 2014 00:27
yeah. and I'm using the slides in the .pdf version
it's not taking anything.. I've refreshed and tried the combinations I felt were correct also but no go
Maxim Orlov
@Maximization
Dec 31 2014 00:27
@towwiow ok, let me see
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:28
What's the code that you used?
Dominic Jones
@towwiow
Dec 31 2014 00:29
I can't copy and paste all the combinations here lol
$("#tour > li", "li:even");
$("#tour > li") ("li:even");
$("#tour > li") ("li:even");
oops - the second and third are duplicatess
("#tours:"even");
Maxim Orlov
@Maximization
Dec 31 2014 00:30
you're very close
look at your first combination
Dominic Jones
@towwiow
Dec 31 2014 00:31
.<
argh that's even more frustrating hahaha
Maxim Orlov
@Maximization
Dec 31 2014 00:31
how about combining both arguments into one
Dominic Jones
@towwiow
Dec 31 2014 00:31
Okay- like this...
$("#tour >li, li:even");
Maxim Orlov
@Maximization
Dec 31 2014 00:32
so instead of $("#tour > li", "li:even"); try something like this $"#tours > ...."
btw it's the plural, tours
I forgot the parens, it should be $("#tours > ....")
Dominic Jones
@towwiow
Dec 31 2014 00:33
$("#tours > li, li:even")
that didn't work ^
Maxim Orlov
@Maximization
Dec 31 2014 00:33
even shorter
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:33
almost
Dominic Jones
@towwiow
Dec 31 2014 00:34
$("#tours > li, li:even"); <-- didn't work either lol
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:34
condense one of those
Dominic Jones
@towwiow
Dec 31 2014 00:34
I don't see what's wrong..
$("#tours > li, :even")
?
Maxim Orlov
@Maximization
Dec 31 2014 00:34
so once you've selected the principal div by saying #tours
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:34
almost!
that's exactly it
except for one little detail
Maxim Orlov
@Maximization
Dec 31 2014 00:35
you want all children right?
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:35
you’re nearly there
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:35
all immediate children
Maxim Orlov
@Maximization
Dec 31 2014 00:36
think of how you would select all the children of tours, then do a small edition
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:36
Connect the "door"(:e) to a "frame"
Maxim Orlov
@Maximization
Dec 31 2014 00:39
if yo click on the link in the problem statement which sends you to the jQuery api, in there you'll find your answer
*you
or even better, look at the second to last slide
Dominic Jones
@towwiow
Dec 31 2014 00:41
.<
gosh dangit..
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:41
lovely period
Dominic Jones
@towwiow
Dec 31 2014 00:43
the challenge says we need to select every other tours.
use the :even pseudo selector to select every other tour
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:44
yes
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:44
you have it here, but you have some unnecessary characters is all
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:44
you are nearly there, the index starts at 0
Dominic Jones
@towwiow
Dec 31 2014 00:44
$("#tours > li :even")
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:44
:+1:
Dominic Jones
@towwiow
Dec 31 2014 00:44
got it
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:44
:)
Dominic Jones
@towwiow
Dec 31 2014 00:45
xDDDDDDDD wowwww
talk about syntax
all in the same ""
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:45
yes
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:45
LOL, it's very common to run into syntax errors like that, don't worry
Dominic Jones
@towwiow
Dec 31 2014 00:45
that was screwing me up
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:46
experienced programmers hit syntax issues all the time :)
Dominic Jones
@towwiow
Dec 31 2014 00:46
appreciate it @Maximization , @piecedigital and @odrisck
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:46
you are very welcome
Dominic Jones
@towwiow
Dec 31 2014 00:46
now I need a break lol
Maxim Orlov
@Maximization
Dec 31 2014 00:46
sure thing
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:46
right its like your head just blows up three sizes lol
I’m there now
its that or I need another sinus tablet :)
Maxim Orlov
@Maximization
Dec 31 2014 00:48
what I like to do after intense sessions of problem solving, is do something that triggers the other part of my brain so the other half can rest, like watching an episode or a movie
Darryl Dixon - Piece Digital
@piecedigital
Dec 31 2014 00:49
I play usually play a game like Call of Duty or something.
Something easy.
Maxim Orlov
@Maximization
Dec 31 2014 00:56
exactly
Kathy O'Driscoll
@odrisck
Dec 31 2014 00:56
I curl up with a 6 year old and watch bubble guppies :)
Dominic Jones
@towwiow
Dec 31 2014 00:58
lol I'm playing ace combat right now
Nick
@nahoskins
Dec 31 2014 01:06
is there an irc channel for freecode
Kathy O'Driscoll
@odrisck
Dec 31 2014 01:06
no we chat here and we have a forum
Quincy Larson
@QuincyLarson
Dec 31 2014 01:19
imho Gitter’s user experience is far superior to IRC. That said, I use IRC all the time when I need immediate answers.
Nick
@nahoskins
Dec 31 2014 01:49
I generally prefer weechat to using the browser. Everything I use on my computer is configured with vim keybindings so being slowed down by having to use a browser can be irritating at times.
But I appreciate not everyone is as anal as I am.
Charles Watson
@sircharleswatson
Dec 31 2014 02:13
@QuincyLarson I recently learned that you can use Adium for IRC. makes it a bit easier/prettier
Suzanne Atkinson
@AdventureBear
Dec 31 2014 06:26
this won't pass for arrays & objects: array of 2 arrays, jagged, with 1 item an object. It says my rows are the same length.
Am I missing something?
var myObject = {
    name: "Crash Test",
    age: 45,
    color: "blue"
}

var myArray =[[5,10,20,25],[myObject, "sixpack"]];
Quincy Larson
@QuincyLarson
Dec 31 2014 06:27
I’m taking a look
Mark Howard
@iheartkode
Dec 31 2014 06:27
A multideminsional array.
Quincy Larson
@QuincyLarson
Dec 31 2014 06:28
var myObject = {
    name: "Crash Test",
    age: 45,
    color: "blue"
}

var myArray =[[5,10,20,25],[myObject, "sixpack"]];
undefined
myArray
[Array[4], Array[2]]
myArray[0].length
4
myArray[1].length
2
Suzanne Atkinson
@AdventureBear
Dec 31 2014 06:28

this is the error:
Oops, try again. It looks like your first two rows are the same length. Make them different!
Arrays & Objects in JS, step 15 of 17

AH I got it...
it was supposed to be "newArray" not "myArray"
they tricked me. ;)
thanks help room!!

Mark Howard
@iheartkode
Dec 31 2014 06:28
lol
Quincy Larson
@QuincyLarson
Dec 31 2014 06:28
:)
Mark Howard
@iheartkode
Dec 31 2014 06:28
Was going to say there seems to be no issue there.
Suzanne Atkinson
@AdventureBear
Dec 31 2014 06:28
thanks @QuincyLarson & @iheartkode
if nothing else I"m gaining confidence!!
Mark Howard
@iheartkode
Dec 31 2014 06:29
Woot!
Suzanne Atkinson
@AdventureBear
Dec 31 2014 06:31
it fees like this codecademy JS course is taking me forever!
Mark Howard
@iheartkode
Dec 31 2014 06:32
I feel your pain.
Suzanne Atkinson
@AdventureBear
Dec 31 2014 06:32
the review/new learning is good though
Mark Howard
@iheartkode
Dec 31 2014 06:33
Indeed
Suzanne Atkinson
@AdventureBear
Dec 31 2014 06:33
I've never studied JS, but have coded in fortran, basic, c, c++, VBA, did I mention fortran?, assembly...I feel like I'm learning the same stuff over and over, but I don't know it well enough to recall it. like taking spanish 2 over and over and over again...
Mark Howard
@iheartkode
Dec 31 2014 06:34
lol
Mark Howard
@iheartkode
Dec 31 2014 18:07
How do i tell git stop asking for my user and pass every time.. I did the ssh part.
Charles Watson
@sircharleswatson
Dec 31 2014 18:08
@iheartkode You have to configure it
:P
Mark Howard
@iheartkode
Dec 31 2014 18:08
I did
git config --global credential.helper osxkeychain
opps
git config --global user.name "YOUR NAME"
Still asks.
git config --global credential.helper cache never mind
Mark Howard
@iheartkode
Dec 31 2014 18:11
I did that lol
Charles Watson
@sircharleswatson
Dec 31 2014 18:11
is it working?
Mark Howard
@iheartkode
Dec 31 2014 18:11
still asks
brb
Christopher Hutchinson
@cshutchinson
Dec 31 2014 18:22
I :heart: stackoverflow for a quick answer with a great explanation
Mark Howard
@iheartkode
Dec 31 2014 18:22
Yea I searched it out and nothing works, oh well.
Christopher Hutchinson
@cshutchinson
Dec 31 2014 18:24
oh I am sorry Mark...I was simply making a comment about my particular confusion on single or double quotes with jquery.....
Charles Watson
@sircharleswatson
Dec 31 2014 18:25
@iheartkode I was having the same issue when i first set up git. but I don't remember all of the steps I took to fix it
Mark Howard
@iheartkode
Dec 31 2014 18:26
It's all good :)
Dominic Jones
@towwiow
Dec 31 2014 18:52
github blocked in india and russia?
I wonder what's the reason in russia
Kathy O'Driscoll
@odrisck
Dec 31 2014 18:53
I think russia has laws that may conflict with FOSS
Mark Howard
@iheartkode
Dec 31 2014 18:53
It wasn't before, my friend uses it.
friend from india.
Kathy O'Driscoll
@odrisck
Dec 31 2014 18:53
yeah but like china, russia often encroaches after the fact
Scott Mac Donald
@Corinos
Dec 31 2014 18:56
Ahoy! Anyone want to give me a hand on https://dash.generalassemb.ly/projects/cotbots-3 slide 68? Don't know why I'm not passing....
It's the random generation of the 3 color variables.
I think (who doesn't?) that my code is good...
BWAHAHAHA. Sorry. Just found it. -=chuckles=- what a tool.
Charles Watson
@sircharleswatson
Dec 31 2014 18:58
@Corinos try posting your code in here by putting 3 backticks before and after it like this:
var code = "This is code";
Ammar Ali Shah
@AmmarAliShah
Dec 31 2014 18:58
So there's an official help chat...that's cool
Kathy O'Driscoll
@odrisck
Dec 31 2014 18:58
yes :), @Corinos what was the problem?
Steven Walters
@StevenKW
Dec 31 2014 19:01
I thought you said bat-ticks... Isn't there a flea collar for that?
Kathy O'Driscoll
@odrisck
Dec 31 2014 19:01
LOL
Mark Howard
@iheartkode
Dec 31 2014 19:02
lol
Charles Watson
@sircharleswatson
Dec 31 2014 19:02
hahaha
Scott Mac Donald
@Corinos
Dec 31 2014 19:17
-=chuckles=- Oh I found my problem. It was an errant space. One that actually wasn't needed, but they expected it.
Is there a place to set your av that is separate from my github av?
Charles Watson
@sircharleswatson
Dec 31 2014 19:23
@Corinos there is not. sometimes gitter just takes a long time to update
Mark Howard
@iheartkode
Dec 31 2014 19:24
You can use gravatar.
If I am not mistaken lol
Ammar Ali Shah
@AmmarAliShah
Dec 31 2014 19:24
Yup gravatar
Mark Howard
@iheartkode
Dec 31 2014 19:24
Github uses your emails gravatar.
Ammar Ali Shah
@AmmarAliShah
Dec 31 2014 19:24
i use it for wordpress
Mark Howard
@iheartkode
Dec 31 2014 19:24
Unless you upload it.
Charles Watson
@sircharleswatson
Dec 31 2014 19:24
^