These are chat archives for FreeCodeCamp/Help

19th
Oct 2017
Henry
@GitHub-Henry
Oct 19 2017 00:35
@DarrenfJ hello, ty for the brownies
CamperBot
@camperbot
Oct 19 2017 00:35
github-henry sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2150 | @darrenfj |http://www.freecodecamp.com/darrenfj
Jaquavieon
@Jaquavieon
Oct 19 2017 00:49
@khaduch Learning is my happy place. Thanks
CamperBot
@camperbot
Oct 19 2017 00:49
jaquavieon sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3378 | @khaduch |http://www.freecodecamp.com/khaduch
MattUnderwood
@MattUnderwood
Oct 19 2017 01:01
I'm implementing some jQuery into my random quote machine and can't figure out why the #button won't change colors when I click it. Can anyone provide some insight? https://codepen.io/MattUnderwood/pen/ZJjjOb
Stephen James
@sjames1958gm
Oct 19 2017 01:11
@MattUnderwood I believe that styles assigned ids (#button) take precedence over class properties
MattUnderwood
@MattUnderwood
Oct 19 2017 01:13
Ahh, so simple! I don't know why I didn't catch that. Thank you very much!
I changed it to a class and it's working perfect now!
@sjames1958gm thanks
CamperBot
@camperbot
Oct 19 2017 01:13
mattunderwood sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8578 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Stephen James
@sjames1958gm
Oct 19 2017 01:13
@MattUnderwood :+1:
can anyone tell me why my nav bar shadow effect isnt working?
Ai rui 艾瑞
@aisolae
Oct 19 2017 01:21
I change the src, apparently that’s not the problem. Will find a work around for the Toggle. Any one with suggestions should please help
Manish Giri
@Manish-Giri
Oct 19 2017 03:33
@DarrenfJ @heroiczero @khaduch ty fellow code warriors
CamperBot
@camperbot
Oct 19 2017 03:33
manish-giri sends brownie points to @darrenfj and @heroiczero and @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3379 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 2151 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 1902 | @heroiczero |http://www.freecodecamp.com/heroiczero
heroiczero
@heroiczero
Oct 19 2017 03:58
@Manish-Giri @GitHub-Henry @khaduch @DarrenfJ @daddycardona @thekholm80 @korzo @moigithub TY for helping people in help :)
CamperBot
@camperbot
Oct 19 2017 03:58
heroiczero sends brownie points to @manish-giri and @github-henry and @khaduch and @darrenfj and @daddycardona and @thekholm80 and @korzo and @moigithub :sparkles: :thumbsup: :sparkles:
:star2: 6663 | @manish-giri |http://www.freecodecamp.com/manish-giri
:star2: 1518 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:cookie: 640 | @korzo |http://www.freecodecamp.com/korzo
:cookie: 399 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 3678 | @moigithub |http://www.freecodecamp.com/moigithub
:star2: 3380 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 2152 | @darrenfj |http://www.freecodecamp.com/darrenfj
:cookie: 399 | @daddycardona |http://www.freecodecamp.com/daddycardona
Waterkid123012
@Waterkid123012
Oct 19 2017 04:29
hey can anyone help me with java of moving shapes?
Waterkid123012
@Waterkid123012
Oct 19 2017 04:34
@Manish-Giri hey manish giri i need help with a code.
Waterkid123012
@Waterkid123012
Oct 19 2017 04:41
i need help with moving shape in java

it has public void moveAndDraw(Graphics window)
{
//not needed yet

}

what do we put in it?
```public Shape(int x, int y, int wid, int ht, Color col, int xSpd, int ySpd)

{

```
        xPos = x;
        xPos = x;
        yPos = y;
        width = wid;
        height = ht;
        color = col;
        xSpeed = 0;
        ySpeed = 0;
   }
``` public void draw(Graphics window)

{

  window.setColor(color);
  window.fillRect(xPos, yPos, width, height);    
    window.setColor(Color.CYAN);

    window.fillRect(200,100,480,410);

    window.setColor(Color.RED);
    window.fillRect(230,115,425,350);

    window.setColor(Color.WHITE);
    window.fillRect(250,125,375,325);

    window.setColor(Color.BLUE);
    window.drawRect(260,135,350,300);    

}

    ``` public void draw(Graphics window, Color col)
   {
      window.setColor(col);
      window.fillRect(xPos, yPos, width, height);
   }
``` public void moveAndDraw(Graphics window)

{
}
```

Waterkid123012
@Waterkid123012
Oct 19 2017 04:50
@Manish-Giri this is my code i need some help on moveandDraw, do you know what should i put?
alpox
@alpox
Oct 19 2017 04:54
@Waterkid123012 change the position of one or multiple shapes depending on your needs, then invalidate the graphics
Waterkid123012
@Waterkid123012
Oct 19 2017 04:54
sthanks
ok i got it. thank you for the help
alpox
@alpox
Oct 19 2017 05:03
@Waterkid123012 np
Henry
@GitHub-Henry
Oct 19 2017 06:51
@heroiczero hello, ty for the brownies
CamperBot
@camperbot
Oct 19 2017 06:51
github-henry sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1903 | @heroiczero |http://www.freecodecamp.com/heroiczero
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:39
hey @alpox
alpox
@alpox
Oct 19 2017 07:41
@tiagocorreiaalmeida :wave:
Good moeninf
Morning* (damn phone :D)
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:46
https://voting-app-tiagocorreia.glitch.me/ find all the bugs you can :D
alpox
@alpox
Oct 19 2017 07:46
:smile: ill see what i can find on phone first. Maybe i can look on my laptop a bit later
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:48
hope you can't find nothing :D
alpox
@alpox
Oct 19 2017 07:50
@tiagocorreiaalmeida the poll site is confusing. There are 3 buttons - some arrow, facebook and twitter, all below each other but when i click facebook and twitter i get somehow to their page and when i click on the arrowplane it gives an error :D whats the use of those buttons?
Ah the paper plane should be for voting? And the others to share. Its a bit unfortunate that they are all above each other making me think that they are all for similar purpose
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:51
gotta give some space between the plane and the others
error?
alpox
@alpox
Oct 19 2017 07:51
What i wonder is why there is an unnamed entry which shows up as a small line
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:51
can you sendm e a print?
alpox
@alpox
Oct 19 2017 07:52
@tiagocorreiaalmeida maybe put the share buttons totally somewhere else
Hmm i cannot send pictures on mobile
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:53
oh I see what the rror tells you by the way?
and about the white entrys im still trying to figure out where the problem comes from I trim everything but gonna check if value is === "" if so dont do nothing I had allready ar egex that would not pick white spaces on start and stuff lets see
alpox
@alpox
Oct 19 2017 07:54
It said that i already voted for the option :D the error was alright
@tiagocorreiaalmeida input.trim() === "" did not help?
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:56
        for(let i=0; i <optionsSplit.length; i++){
          let trim = optionsSplit[i].trim();
            if(trim !== "")
            options.push({
                title:trim
            });
        }
this will do it
alpox
@alpox
Oct 19 2017 07:56
:+1:
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:57
$("#newoption").val().trim().length === 0
on frontend got this
should have done it aswell
alpox
@alpox
Oct 19 2017 07:57
@tiagocorreiaalmeida its interesting that the poll options change colors on each reload :D
That could be consistent for not confusing users
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:57
im generating them everytime but thinking about store it on the backend
alpox
@alpox
Oct 19 2017 07:58
Yea that would maybe be good
Typo in your error: "allready" voted
For what are the login options when i can vote and add options when im not logged in? :D
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 07:59
to create polls eheheh
alpox
@alpox
Oct 19 2017 08:00
@tiagocorreiaalmeida ah i see :facepalm:
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:00
:D
its the point that fcc has defined on the project haha
thyere's a little error when voting without login have to find way
alpox
@alpox
Oct 19 2017 08:02
@tiagocorreiaalmeida when i vote for a poll i can still create new options afterwards?
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:03
yeah I can block that easily but just left it that way maybe its wrong I think I saw the same on the project they show us not sure
alpox
@alpox
Oct 19 2017 08:06
Hmm okay, is just a bit weird to me :D
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:06
image.png
router.post("/:id",(req,res)=>{
    let _id = ObjectID(req.params.id);
    let ip;
    if (req.headers['x-forwarded-for']) {
    ip = req.headers['x-forwarded-for'].split(",")[0];
    } else if (req.connection && req.connection.remoteAddress) {
    ip = req.connection.remoteAddress;
    } else {
    ip = req.ip;
    }
    let query;
    let query2;
    if(req.isAuthenticated()){
        query = {
            _id,
            "$or":[{"votedBy.user":req.user._id},{"votedBy.ip":ip}]
        };
        query2 = {
            "votedBy.$.user":req.user._id,
            "votedBy.$.ip":ip
        };
    }else{
        query = {
            _id,
            "votedBy.ip":ip
        }; 
        query2 = {
            "votedBy.$.ip":ip
        };
    }
    Poll.findOne(query).then((result)=>{
        if(result){
            req.flash("error","You already voted for this poll");
            res.redirect(_id);
        }else{
            Poll.findOneAndUpdate({_id, "options.title":req.body.select},{$inc:{"options.$.votes":1},$push:query2}).then((data)=>{
                if(data){
                    res.redirect(data._id);
                }else{
                    res.redirect("/");
                }
            }).catch((e)=>{
                console.log(e);
            });
        }
    }).catch((e)=>{
        console.log(e);
    });
});
trying to figure out where the error comes from
alpox
@alpox
Oct 19 2017 08:06
But your app works well :D
Which error now?
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:07
the one about voting without login it gives this on the glitch console
{ MongoError: cannot use the part (1 of votedBy.1.ip) to traverse the element ({1: null})
9:02 AM
    at Function.MongoError.create (/app/node_modules/mongodb-core/lib/error.js:31:11)
9:02 AM
    at /app/node_modules/mongodb-core/lib/connection/pool.js:497:72
9:02 AM
    at authenticateStragglers (/app/node_modules/mongodb-core/lib/connection/pool.js:443:16)
9:02 AM
    at Connection.messageHandler (/app/node_modules/mongodb-core/lib/connection/pool.js:477:5)
9:02 AM
    at Socket.<anonymous> (/app/node_modules/mongodb-core/lib/connection/connection.js:331:22)
9:02 AM
    at emitOne (events.js:96:13)
9:02 AM
    at Socket.emit (events.js:188:7)
9:02 AM
    at readableAddChunk (_stream_readable.js:176:18)
9:02 AM
    at Socket.Readable.push (_stream_readable.js:134:10)
9:02 AM
    at TCP.onread (net.js:547:20)
9:02 AM
  name: 'MongoError',
9:02 AM
  message: 'cannot use the part (1 of votedBy.1.ip) to traverse the element ({1: null})',
9:02 AM
  ok: 0,
9:02 AM
  errmsg: 'cannot use the part (1 of votedBy.1.ip) to traverse the element ({1: null})',
9:02 AM
  code: 16837,
9:02 AM
  codeName: 'Location16837' }
Jake
@JakeDVirus
Oct 19 2017 08:07
Out of Adobe CC photoshop and Adobe CC Muse, which Software is best for making mockups? The concern is "Excellence of mockup" not "ease of making it".
P.S. : Muse is known for making responsive prototype
alpox
@alpox
Oct 19 2017 08:08
@tiagocorreiaalmeida i thought it has to be possible anyway to vote when not logged in?
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:09
it has
but im getting tyhe error
that's why you couldnt vote
alpox
@alpox
Oct 19 2017 08:09
@NeelDVirus ever considered https://www.figma.com?
@tiagocorreiaalmeida i could vote :o:
Jake
@JakeDVirus
Oct 19 2017 08:10
@alpox no i haven't. i will check it out. does it provide live-responsiveness in mockup
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:10
that looks like a good one @alpox never heard of it, without login? I tought it wasgiving the msg you allready voted
alpox
@alpox
Oct 19 2017 08:12
@NeelDVirus I think so - i don't remember it much :D i don't make many mockups
@NeelDVirus But its the best tool i found when looking for mockup apps
@tiagocorreiaalmeida Hmm it doesn't work anymore now - the app keeps loading when i try to vote
Jake
@JakeDVirus
Oct 19 2017 08:15
@alpox Oh sounds good. i am going to check it out. So you can rate figma more than photoshop i presume
alpox
@alpox
Oct 19 2017 08:15
@NeelDVirus I would always do that because i don't use adobe tools at all - i'm not going to pay so much for those
So i cannot/couldnot handle photoshop anyway :D
Figma is much easier to use and made for this purpose
Jake
@JakeDVirus
Oct 19 2017 08:17
@alpox neither i am paying even a penny. i have the crack version of Adobe CC photoshop 2017 and Adobe CC Muse 2017. torrent came in rescue in this case
alpox
@alpox
Oct 19 2017 08:18
@NeelDVirus Ah yea that works ofc. :D i don't like to do that
Jake
@JakeDVirus
Oct 19 2017 08:18
@alpox No offense but as i mentioned "easier to make" is not my concern, my concern is with the "Excellence of the product(mockup)"
alpox
@alpox
Oct 19 2017 08:19
@NeelDVirus I believe the excellence of the mockup depends on your skills
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:19
strange will picjk te file fromgithub once again and try to see how it goes
Jake
@JakeDVirus
Oct 19 2017 08:20
@alpox well asking just out of the curiousity. why you dont like to use it if you are getting the same product for free?
alpox
@alpox
Oct 19 2017 08:20
@NeelDVirus I never crack things
Or use cracked things
I have my own policy about that
Jake
@JakeDVirus
Oct 19 2017 08:21
@alpox yeah yeah i know. i mean the flexibility.. like Muse has the flexibility feature "live-responsiveness"
@alpox Oh that's ok
alpox
@alpox
Oct 19 2017 08:21
@NeelDVirus What exactly are you asking? Why i don't use Muse?
Jake
@JakeDVirus
Oct 19 2017 08:25
@alpox sorry for my poor explanation. basically my question was which provide better features for the sake of better mockups.
Muse has one feature which i like the most. that is, when you will resize the window the mockup will behave like a responsive website. so this mockups is great to show to the clients, i was wondering that whether Muse has any limitation of features as compared to photoshop for building mockups?
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:27
only gives error on voting polls I never voted I think
and with no auth
Tiago Correia
@tiagocorreiaalmeida
Oct 19 2017 08:51
do you spot any issue on this @alpox
   if(req.isAuthenticated()){
        query = {
            _id,
            "$or":[{"votedBy.user":req.user._id},{"votedBy.ip":ip}]
        };
        query2 = {
            "votedBy.$.user":req.user._id,
            "votedBy.$.ip":ip
        };
    }else{
        query = {
            _id,
            "votedBy.ip":ip
        }; 
        query2 = {
            "votedBy.$.ip":ip
        };
    }
cause auth users can vote but not the others cause the request gives errors
query = find
query 2 = update
alpox
@alpox
Oct 19 2017 08:54
@tiagocorreiaalmeida I didn't do much with mongodb :D
@NeelDVirus I cannot help you with that, sry :-) As i said i don't use Adobe products so i don't know about them
Ahmad Abdolsaheb
@ahmadabdolsaheb
Oct 19 2017 10:50
hi everyone, this question might have been asked a lot. I have a couple of projects left to get the backend certificate, when will the new projects map roll out? and when it does, what will happen to the users who are progressing through a certificate with the old projects? THANKS
Griffin Novetsky
@griffinn
Oct 19 2017 10:53

Access MultiDimensional Arrays With Indexes
// Setup
var myArray = [[1,2,3], [4,5,6], [7,8,9], [[10,11,12], 13, 14]];

// Only change code below this line.
var myData = myArray[0][0];
myArray[2];
myArray[2] [1];

help please^
nvm i got it
Henry
@GitHub-Henry
Oct 19 2017 11:03
any pug aficionados around
Ken Haduch
@khaduch
Oct 19 2017 11:32
@heroiczero @Manish-Giri @DarrenfJ - thanks for the brownies, have a great day. Traveling day for me so I might be offline for most of it... happy coding!
CamperBot
@camperbot
Oct 19 2017 11:32
khaduch sends brownie points to @heroiczero and @manish-giri and @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 1904 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 2153 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 6664 | @manish-giri |http://www.freecodecamp.com/manish-giri
Thanh Son Nguyen
@nguyen-thanhson
Oct 19 2017 11:54
hey guys, how do you make these two dropdown lists vertically aligned?
Screen Shot 2017-10-19 at 6.50.35 PM.png
Long Nguyen
@longnt80
Oct 19 2017 11:55
@nguyen-thanhson put them in column
Thanh Son Nguyen
@nguyen-thanhson
Oct 19 2017 11:57
@longnt80 nice! I'll look at that
@longnt80 thanks
CamperBot
@camperbot
Oct 19 2017 11:57
nguyen-thanhson sends brownie points to @longnt80 :sparkles: :thumbsup: :sparkles:
:cookie: 602 | @longnt80 |http://www.freecodecamp.com/longnt80
Long Nguyen
@longnt80
Oct 19 2017 11:57
@nguyen-thanhson np
George H
@laohe027
Oct 19 2017 13:52
form action="/submit-cat-photo">
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
<laber><input type="radio" name="indoor-outdoor"> indoor</laber>
<laber><input type="radio" name="indoor-outdoor"> outdoor</laber>
</form>大家帮忙看看哪里不对,新手小白
设置你的单选按钮的name属性为indoor-outdoor。
你的两个单选按钮中的每一个都应该嵌套进它自己的label元素中。
确保你的每一个label元素都有一个结束标记。
Ken Haduch
@khaduch
Oct 19 2017 13:58
@laohe027 - you have a typo that might be the problem. You have <laber> for your label elements, they should be <label> and </label>
George H
@laohe027
Oct 19 2017 14:12
@khaduch tks, but i can't figure out what was wrong with my code,would you please give a more specific explanation?
zootechdrum
@zootechdrum
Oct 19 2017 14:28
You misspelled a word. with laber you will not get the correct output with label you will
@laohe027 You can try it out here @zootechdrum
You misspelled a word. with laber you will not get the correct output with label you will
https://www.w3schools.com/tags/tag_label.asp
George H
@laohe027
Oct 19 2017 14:31
tks, typed a wrong word. "laber"would be "label"
zootechdrum
@zootechdrum
Oct 19 2017 14:33
@laohe027 Yes sir! happy coding.
Marc
@MWBauer
Oct 19 2017 15:14
Hey guys and gals.
I'm trying to figure out how to Tweet my random quote.
I get a quote, and I have a <br> that it dumps to, but how do I get that into a tweet?
I have the Tweet button setup, I just need to change/implement what it displays
Ahern Li
@Ahern542968
Oct 19 2017 15:53
Hey guys and gals.
Darren
@DarrenfJ
Oct 19 2017 15:55
morning fCC
Ahern Li
@Ahern542968
Oct 19 2017 15:57
I am a novice,and my English just a little ,so gold to be able to communicate with your.
Darren
@DarrenfJ
Oct 19 2017 15:58
good to be able to communicate back :D
this your first time in this gitter channel?
I want also to say a thank you to the people who help our here..
thanks @Manish-Giri @GitHub-Henry @khaduch @daddycardona @thekholm80 @korzo @moigithub @heroiczero @sjames1958gm
CamperBot
@camperbot
Oct 19 2017 16:00
darrenfj sends brownie points to @manish-giri and @github-henry and @khaduch and @daddycardona and @thekholm80 and @korzo and @moigithub and @heroiczero and @sjames1958gm :sparkles: :thumbsup: :sparkles:
:cookie: 400 | @github-henry |http://www.freecodecamp.com/github-henry
:cookie: 400 | @daddycardona |http://www.freecodecamp.com/daddycardona
:cookie: 643 | @korzo |http://www.freecodecamp.com/korzo
:star2: 6665 | @manish-giri |http://www.freecodecamp.com/manish-giri
:star2: 3381 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 3679 | @moigithub |http://www.freecodecamp.com/moigithub
:star2: 8580 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:star2: 1519 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:star2: 1905 | @heroiczero |http://www.freecodecamp.com/heroiczero
Darren
@DarrenfJ
Oct 19 2017 16:01
@Ahern542968 if you see any of the people in that list in here say hi.. they hang out and help out people regularly with their coding issues..
also thanks to @dhcodes
CamperBot
@camperbot
Oct 19 2017 16:02
darrenfj sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:star2: 1848 | @dhcodes |http://www.freecodecamp.com/dhcodes
Ahern Li
@Ahern542968
Oct 19 2017 16:17
@DarrenfJ Thank you.This is my first time talking at a English channel , I believe my English is too poor to communicate with foreign friends before.
CamperBot
@camperbot
Oct 19 2017 16:17
ahern542968 sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2154 | @darrenfj |http://www.freecodecamp.com/darrenfj
Darren
@DarrenfJ
Oct 19 2017 17:12
@Ahern542968 ah ok.. well you seem good with it.. :D
Kyle Holm
@thekholm80
Oct 19 2017 17:14
@DarrenfJ thanks
CamperBot
@camperbot
Oct 19 2017 17:14
thekholm80 sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2155 | @darrenfj |http://www.freecodecamp.com/darrenfj
Darren
@DarrenfJ
Oct 19 2017 17:16
@thekholm80 hey buddy! :wave:
Kyle Holm
@thekholm80
Oct 19 2017 17:16
@DarrenfJ how's the great, frozen north?
Darren
@DarrenfJ
Oct 19 2017 17:16
being sad
Kyle Holm
@thekholm80
Oct 19 2017 17:16
por que?
Darren
@DarrenfJ
Oct 19 2017 17:16
Gord Downie passed away and the great white north is in mourning
Kyle Holm
@thekholm80
Oct 19 2017 17:17
oh yeah i saw that yesterday
he was really funny
Darren
@DarrenfJ
Oct 19 2017 17:17
he was very weird and almost awkward
Kyle Holm
@thekholm80
Oct 19 2017 17:17
oh, i got the wrong guy
i was thinking John Dunsworth
Trailer Park Boys, you meant Tragically Hip
Darren
@DarrenfJ
Oct 19 2017 17:18
yah
my fav song courage
Kyle Holm
@thekholm80
Oct 19 2017 17:18
All you Canadians look the same to me
Darren
@DarrenfJ
Oct 19 2017 17:19
specially if you cover us all in maple syrup
also his sweater in the vid is too cool
Kyle Holm
@thekholm80
Oct 19 2017 17:20
I always imagined Nova Scotia had the best sweaters, i'm going to have to go there some day to see if I'm right
Darren
@DarrenfJ
Oct 19 2017 17:22
oh yah.. the sailors had to be good at knitting to survive the nor'easters
Kyle Holm
@thekholm80
Oct 19 2017 17:22
That song is pretty catchy
Darren
@DarrenfJ
Oct 19 2017 17:22
or so my knitting teacher one day told me many moons ago
yah the hip pretty much sound like that on all their songs
Kyle Holm
@thekholm80
Oct 19 2017 17:22
Darren
@DarrenfJ
Oct 19 2017 17:24
my second fav song fifty mission cap
die warm lol!
i wasa big knitter in my 20's
one of the original hipsters ;)
but seriously i wanted a hobby to keep my hands busy in a time when i was doing a lot of electronics...
i had to give it up cause i got obsessed and knit for hours (like 10 in row)
sounds like coding now ;)
Kyle Holm
@thekholm80
Oct 19 2017 17:27
I enjoyed learning to knit because it's mindless and repetitive
almost like meditation
Darren
@DarrenfJ
Oct 19 2017 17:27
yup
sameSame
who was that famous dood who did like knitting landscapes and impressionist stuff?
i loved his work
something like Karsch or something like that
Kyle Holm
@thekholm80
Oct 19 2017 17:29
oh crazy, i'd never heard of that
Darren
@DarrenfJ
Oct 19 2017 17:30
this song references my howm town SSM
oh yah it was big at the time i was knitting i think there's a textile museum here in TO that did a retrospective of his work around then
Kyle Holm
@thekholm80
Oct 19 2017 17:31
very cool
Darren
@DarrenfJ
Oct 19 2017 17:33
although i could be mixing it up with this one; http://www.catherinekirsch.com/portfolio/ who i recall being big too but not just in knitting
Kyle Holm
@thekholm80
Oct 19 2017 17:34
i like this one
Darren
@DarrenfJ
Oct 19 2017 17:41
wow that's noice
thank you sir for the refreshing chat.. i am off to test more (sadly)
thanks @thekholm80
CamperBot
@camperbot
Oct 19 2017 17:42
darrenfj sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1520 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Kyle Holm
@thekholm80
Oct 19 2017 17:42
have fun! @DarrenfJ ty too
CamperBot
@camperbot
Oct 19 2017 17:42
thekholm80 sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
api offline
Nicolas Ramirez
@kamatheuska
Oct 19 2017 17:56
hi everyone! Can anyone recomend alternatives for cloud9 for the backend challenges?
Kyle Holm
@thekholm80
Oct 19 2017 18:00
install node on your pc and do it locally?
justasam
@justasam
Oct 19 2017 18:37
Hello, is anyone really good with JavaScript here?
Stephen James
@sjames1958gm
Oct 19 2017 18:41
Here or over at helpjavascript gitter.
What's your question/issue?
justasam
@justasam
Oct 19 2017 18:41
I can't figure out how to get elements position from the top of the page. (I've already tried all the basic solutions -- offsetTop, getBoundingRect, etc..)
website: https://www.filippoloreti.com/shop/
element: const image = Array.prototype.filter.call(document.getElementsByTagName("img"), (img) => img.src === 'https://shop1-392b.kxcdn.com/assets/shop/images/6.jpg')[0];
I'll rewrite this question in helpJavaScript
Stephen James
@sjames1958gm
Oct 19 2017 18:45
@justasam You want from top of page, not top of window?
justasam
@justasam
Oct 19 2017 18:46
@sjames1958gm Yea, it should be like ~5000px
Henry
@GitHub-Henry
Oct 19 2017 19:37
@DarrenfJ hello, ty for the brownies
CamperBot
@camperbot
Oct 19 2017 19:37
github-henry sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2156 | @darrenfj |http://www.freecodecamp.com/darrenfj
Paul
@15medium
Oct 19 2017 20:40
General question... Can I use labels like loop1: in the fcc editor. I'm getting 'syntaxError: Label not found' but my code is working in jsfiddle.
Paul
@15medium
Oct 19 2017 20:46
OK, figured it out. Yes you can use labels in the fcc editor. You just have to know how. Basically don't add any labels that you don't then call.
knight2
@knight2
Oct 19 2017 23:46
what web hosting services do you guys use for your projects? (assume it isn't on github/glitch/) aws? or other websites
also recommended domain providers? Looks like namesilo beats evreyone out on pricing + free lifetime whois (Better than namecheap)
Keri
@LuxSeraphim
Oct 19 2017 23:59

Er, question. I was using an online site that renders HTML5 and has a tab for CSS as well... I tried to practice the font-awesome icons, but couldn't get it to work. I made sure to have the link up top and did the whole:
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i> Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>
</div>
</div>

And it didn't put the icons;;