Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Eric Phy
    @SimplyPhy
    :'(
    haha xD
    Lily Romano
    @Lilyheart
    (we have a 30 second delay between what you hear)
    Eric Phy
    @SimplyPhy
    Answers that include "I don't know" are infinitely better than those involving pretense of knowledge
    Lily Romano
    @Lilyheart
    heh. We try to be as honest as possible here. Tell you what we know and send you along if we don’t :)
    Eric Phy
    @SimplyPhy
    brevity coupled with lack of insight is infinitely preferable to timestaking bloat
    That looks cool, thanks David
    Thanks all <3
    Mike
    @dcpking
    Ditto! Thanks David!!
    Robert Maylie
    @rmaylie9560
    Thank Dave. You rock!
    Like those cool stalagtite rocks
    Lily Romano
    @Lilyheart
    heh
    Jonathan Herman
    @lantech19446
    hey everyone how goes it
    Lily Romano
    @Lilyheart
    sneezefest over here
    Jonathan Herman
    @lantech19446
    That sucks
    I'm completely indecisive right now, I feel like doing something different with that pen but I have no idea what
    Lily Romano
    @Lilyheart
    when i get like that I backburner it and learn something new. That usually triggers some idea.
    Jonathan Herman
    @lantech19446
    I'm thinking I'm going to try the JS lessons you posted yesterday and see if I like them better, I'm still stuck on that and it's getting annoying now. I always feel indecisive about this stuff, I don't know if it's just because I still feel really limited in my capabilities or what
    Lily Romano
    @Lilyheart
    If they are good, lemme know and I'll add them to the welcome slides
    Jonathan Herman
    @lantech19446
    ok will do
    Jonathan Herman
    @lantech19446
    @Lilyheart @davidjcastner @rmaylie9560 what are your opinions on plunker?
    Lily Romano
    @Lilyheart
    It’s kinda like codepen but it allows more than one person to edit the same code whereas with codepen you have to fork the code.
    This can be useful. However, I’ve heard of recruiters looking at codepen to find potential hires, not plunker. That’s why I tend to develop more on codepen.
    Jonathan Herman
    @lantech19446
    ok so it may be beneficial to know both though because it sounds like there's pros and cons to both. That watch and code uses plunker, chrome, and github pretty much exclusively.
    Jonathan Herman
    @lantech19446
    haven't gotten very far into it yet but so far the series seems pretty good.
    Lily Romano
    @Lilyheart
    I signed up to the course so I could see what you were talkin' about. That is a lot of video for free!
    Jonathan Herman
    @lantech19446
    it really is and the first thing he does is create an array and show how to use it for something which is fantastic he's going to get my biggest road block out of the way first
    Jonathan Herman
    @lantech19446
    so far this is really good
    Lily Romano
    @Lilyheart
    That's awesome! I'll add it to the list to add! fantastic :octocat:
    Jonathan Herman
    @lantech19446
    I'm trying to delve deeper into it now while I'm doing these classes but I can't see why this keeps telling me that firstName is undefined, do you see what I'm doing wrong?
    http://codepen.io/lantech19446/pen/YWNVVK
    Lily Romano
    @Lilyheart
    When something with a = is evaluated, the right side is calculated then assigned to the left. sum = 2 + 2;
    Try switching your document.getElementById("first").value = firstName; around
    I'm not sure why you have the push in there.
    Jonathan Herman
    @lantech19446
    I tried switching them before and still got that error that was why I flipped them the push was in there because it's the only way I could figure out to get it to pass the value into the array
    Lily Romano
    @Lilyheart
    firstName is actually a string at the moment, let me fork it and show you how you can test it.
    Jonathan Herman
    @lantech19446
    ok thanks
    Jonathan Herman
    @lantech19446
    switched that back around and defined firstName as an empty array still get reference error firstName undefined. Seeing the right way to do this should remove a big road block
    Lily Romano
    @Lilyheart
    almost done. just asec
    Jonathan Herman
    @lantech19446
    k
    Lily Romano
    @Lilyheart
    Maybe @davidjcastner can add onto this http://codepen.io/lilyheart/pen/GqrEmM/
    If you are wanting something that will keep adding to the array, here is a fork of the fork. (see my comments at the bottom of the js to explain a little more. http://codepen.io/lilyheart/pen/gMgRXv
    Jonathan Herman
    @lantech19446
    nice
    Jonathan Herman
    @lantech19446
    so am I understanding this correctly that part of the problem is that I need to have a scope that the array is contained within?
    Lily Romano
    @Lilyheart
    Scope is a problem is two ways.
    A variable declared in the function is only in scope when the function is running and the variable disappears as soon as the function is done.
    A variable declared outside the function is only in scope for as long as the page is loaded. A button (submit or <button>) refreshes your page thus resetting your scope.
    Jonathan Herman
    @lantech19446
    ok that makes sense not necessarily why it was designed that way but that it'll happen but I need to have a scope and the array must be a method within that scope it can't exist on it's own.
    Check that out at least up to where he talks about hoisting. Don't need to worry about that yet but feel free to read it if you wanna xD
    Jonathan Herman
    @lantech19446
    ok
    thanks Lily