These are chat archives for FreeCodeCamp/Help

6th
Nov 2017
Moisés Man
@moigithub
Nov 06 2017 00:10
for(int i=0
no int on javascript
Jansan Selvasingam
@JansanSelva
Nov 06 2017 00:55
oh i was doing java, i figured it out, i had to use .equals instead of ==
Darren
@DarrenfJ
Nov 06 2017 00:57
evening fCC
my usual kudos and thanks to the crew
who help out and hang out and make this place great
thanks @Manish-Giri @heroiczero @GitHub-Henry @longnt80 @daddycardona
CamperBot
@camperbot
Nov 06 2017 01:00
darrenfj sends brownie points to @manish-giri and @heroiczero and @github-henry and @longnt80 and @daddycardona :sparkles: :thumbsup: :sparkles:
:star2: 2021 | @heroiczero |http://www.freecodecamp.com/heroiczero
:cookie: 471 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 6774 | @manish-giri |http://www.freecodecamp.com/manish-giri
:cookie: 657 | @longnt80 |http://www.freecodecamp.com/longnt80
:cookie: 471 | @github-henry |http://www.freecodecamp.com/github-henry
Darren
@DarrenfJ
Nov 06 2017 01:02
thanks @korzo @sjames1958gm @Marmiz @thekholm80 @alexanderkopke
CamperBot
@camperbot
Nov 06 2017 01:02
darrenfj sends brownie points to @korzo and @sjames1958gm and @marmiz and @thekholm80 and @alexanderkopke :sparkles: :thumbsup: :sparkles:
:star2: 1088 | @marmiz |http://www.freecodecamp.com/marmiz
:star2: 1580 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:cookie: 744 | @korzo |http://www.freecodecamp.com/korzo
:star2: 8669 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:star2: 1718 | @alexanderkopke |http://www.freecodecamp.com/alexanderkopke
Darren
@DarrenfJ
Nov 06 2017 01:04
thanks @khaduch @diomed
CamperBot
@camperbot
Nov 06 2017 01:04
darrenfj sends brownie points to @khaduch and @diomed :sparkles: :thumbsup: :sparkles:
:star2: 3467 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 5253 | @diomed |http://www.freecodecamp.com/diomed
Ken Haduch
@khaduch
Nov 06 2017 02:36
@DarrenfJ - hey Darren - thanks for the note & I hope that things are going well with you...
CamperBot
@camperbot
Nov 06 2017 02:36
khaduch sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2252 | @darrenfj |http://www.freecodecamp.com/darrenfj
Manish Giri
@Manish-Giri
Nov 06 2017 03:15
@khaduch @DarrenfJ @korzo @thekholm80 @alexanderkopke @heroiczero @daddycardona @GitHub-Henry ty
CamperBot
@camperbot
Nov 06 2017 03:15
manish-giri sends brownie points to @khaduch and @darrenfj and @korzo and @thekholm80 and @alexanderkopke and @heroiczero and @daddycardona and @github-henry :sparkles: :thumbsup: :sparkles:
:cookie: 745 | @korzo |http://www.freecodecamp.com/korzo
:cookie: 472 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 1581 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:star2: 2253 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 1719 | @alexanderkopke |http://www.freecodecamp.com/alexanderkopke
:star2: 2022 | @heroiczero |http://www.freecodecamp.com/heroiczero
:cookie: 472 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 3468 | @khaduch |http://www.freecodecamp.com/khaduch
CamperBot
@camperbot
Nov 06 2017 03:36
khaduch sends brownie points to @manish-giri and @heroiczero and @github-henry and @korzo :sparkles: :thumbsup: :sparkles:
:cookie: 746 | @korzo |http://www.freecodecamp.com/korzo
:star2: 2023 | @heroiczero |http://www.freecodecamp.com/heroiczero
:cookie: 473 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 6775 | @manish-giri |http://www.freecodecamp.com/manish-giri
Kyle Holm
@thekholm80
Nov 06 2017 04:15
@Manish-Giri @heroiczero @DarrenfJ @daddycardona @GitHub-Henry ty
CamperBot
@camperbot
Nov 06 2017 04:15
thekholm80 sends brownie points to @manish-giri and @heroiczero and @darrenfj and @daddycardona and @github-henry :sparkles: :thumbsup: :sparkles:
:cookie: 473 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 2254 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 2024 | @heroiczero |http://www.freecodecamp.com/heroiczero
:cookie: 474 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 6776 | @manish-giri |http://www.freecodecamp.com/manish-giri
mstellaluna
@mstellaluna
Nov 06 2017 04:31
guys, the cookie spam is a tad bit on the too much
jevons-lydia
@jevons-lydia
Nov 06 2017 08:53
任务求助:创建一个名为smaller-image的类选择器,然后用它来改变图片尺寸,使图片仅有100像素宽。
Jake
@JakeDVirus
Nov 06 2017 09:05

In the following code below, the media query condition is mentioned in two instances inside the source element.

1- in the media attribute
2- in the sizes attribute

The following code is from this article https://www.sitepoint.com/how-to-build-responsive-images-with-srcset/

<picture>
<source media="(max-width: 700px)" sizes="(max-width: 500px) 50vw, 10vw"
srcset="stick-figure-narrow.png 138w, stick-figure-hd-narrow.png 138w">

<source media="(max-width: 1400px)" sizes="(max-width: 1000px) 100vw, 50vw"
srcset="stick-figure.png 416w, stick-figure-hd.png 416w">

<img src="stick-original.png" alt="Human">
</picture>

I am curious what is the logical reason behind using the media query condition in the mentioned two instances when it could be done in one instance (in media attribute). Isn't it redundant?

heroiczero
@heroiczero
Nov 06 2017 10:18
@thekholm80 @DarrenfJ @daddycardona @longnt80 @khaduch @GitHub-Henry @sjames1958gm @Marmiz @Manish-Giri @longnt80 @sjames1958gm @Marmiz @korzo @alexanderkopke TY :)
CamperBot
@camperbot
Nov 06 2017 10:18
heroiczero sends brownie points to @thekholm80 and @darrenfj and @daddycardona and @longnt80 and @khaduch and @github-henry and @sjames1958gm and @marmiz and @manish-giri and @korzo and @alexanderkopke :sparkles: :thumbsup: :sparkles:
:star2: 1582 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:cookie: 474 | @daddycardona |http://www.freecodecamp.com/daddycardona
:cookie: 658 | @longnt80 |http://www.freecodecamp.com/longnt80
:star2: 2255 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 1089 | @marmiz |http://www.freecodecamp.com/marmiz
:cookie: 747 | @korzo |http://www.freecodecamp.com/korzo
:star2: 1720 | @alexanderkopke |http://www.freecodecamp.com/alexanderkopke
:cookie: 475 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 3469 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 6777 | @manish-giri |http://www.freecodecamp.com/manish-giri
:star2: 8670 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
korzo
@korzo
Nov 06 2017 11:33
@heroiczero @khaduch @Manish-Giri @DarrenfJ Thank you guys
CamperBot
@camperbot
Nov 06 2017 11:33
korzo sends brownie points to @heroiczero and @khaduch and @manish-giri and @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2025 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 3470 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 2256 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 6778 | @manish-giri |http://www.freecodecamp.com/manish-giri
Long Nguyen
@longnt80
Nov 06 2017 11:34
@thekholm80 @DarrenfJ @daddycardona @longnt80 @khaduch @GitHub-Henry @sjames1958gm @Marmiz @Manish-Giri @longnt80 @sjames1958gm @Marmiz @korzo @alexanderkopke @heroiczero
TY and everyone in this community, I got the job offer finally. Without you all, it would take much longer
CamperBot
@camperbot
Nov 06 2017 11:34
longnt80 sends brownie points to @thekholm80 and @darrenfj and @daddycardona and @khaduch and @github-henry and @sjames1958gm and @marmiz and @manish-giri and @korzo and @alexanderkopke and @heroiczero :sparkles: :thumbsup: :sparkles:
:cookie: 475 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 1090 | @marmiz |http://www.freecodecamp.com/marmiz
:star2: 1583 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:star2: 3471 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 2026 | @heroiczero |http://www.freecodecamp.com/heroiczero
:cookie: 476 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 1721 | @alexanderkopke |http://www.freecodecamp.com/alexanderkopke
:star2: 8671 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:star2: 2257 | @darrenfj |http://www.freecodecamp.com/darrenfj
:cookie: 748 | @korzo |http://www.freecodecamp.com/korzo
:star2: 6779 | @manish-giri |http://www.freecodecamp.com/manish-giri
mstellaluna
@mstellaluna
Nov 06 2017 12:53
@longnt80 @korzo @heroiczero Hey guys, I had stated prior to your group of cookie spam it was enough of the cookie spamming. Please read our code-of-coduct about off-topic spamming https://code-of-conduct.freecodecamp.org/
Long Nguyen
@longnt80
Nov 06 2017 13:06
@mstellaluna sorry
Stephen James
@sjames1958gm
Nov 06 2017 14:58
@longnt80 Congrats!!!
Marc
@MWBauer
Nov 06 2017 15:11
so is the <= not an arrow function?
:wave:
Hi Stephen James
@longnt80 COngrats, buddy!
:cocktail:
korzo
@korzo
Nov 06 2017 15:23
@MWBauer =>
@longnt80 congrats and good luck
alpox
@alpox
Nov 06 2017 15:34
@MWBauer <= is no arrow function, its a "smaller or equal than" comparison operator
Marc
@MWBauer
Nov 06 2017 15:46
Ok. Was just curious. I remember the => was an arrow and it screwed with me a moment. Wasn't sure if <= was as well
Thanks for your help @alpox
CamperBot
@camperbot
Nov 06 2017 15:46
mwbauer sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star2: 1439 | @alpox |http://www.freecodecamp.com/alpox
Marc
@MWBauer
Nov 06 2017 15:46
Off to work. Ya'll have fun.
Ken Haduch
@khaduch
Nov 06 2017 18:50
@longnt80 - re: :point_up: November 6, 2017 6:34 AM that's great news! Thanks for your note of appreciation & best of luck with your new job!
CamperBot
@camperbot
Nov 06 2017 18:50
khaduch sends brownie points to @longnt80 :sparkles: :thumbsup: :sparkles:
:cookie: 659 | @longnt80 |http://www.freecodecamp.com/longnt80
Albert Cardona II
@daddycardona
Nov 06 2017 21:45
wha up y'all who was the one to tell me to do mongDB?
@khaduch :wave: I think it was you
Ken Haduch
@khaduch
Nov 06 2017 21:58
@daddycardona - Hi ALBERT - I didn't tell you that. I don't know too much about mongo db....
Albert Cardona II
@daddycardona
Nov 06 2017 21:59
oh man sorry brother
trying to figure out how to install it won't let me or soemthing
Ken Haduch
@khaduch
Nov 06 2017 22:20
@daddycardona - what kind of error are you getting?
Aita Kane
@aita-kane
Nov 06 2017 23:48
hello everybody can someone help me please ?