These are chat archives for FreeCodeCamp/Help

26th
May 2018
DARK-KNIGHT-491
@rakesh491
May 26 2018 05:20
Hoy.
Knock knock.
Ene Catalin
@EneCatalin
May 26 2018 08:15
who's there ?
Dimitris Nik.
@dimitrissnk
May 26 2018 10:48
hey, can I do anything about the elements that are coming one on the top of the other when resizing the window? https://codepen.io/dimitris51/full/bMPjqd/
1LifeLess
@1LifeLess
May 26 2018 13:33
Hello, on JS ES6 if i want to add console.log(a,b) for sort(), where should i place it then?
arr.sort((a,b)=>a-b);
Norvin Burrus
@ndburrus
May 26 2018 13:43
@1LifeLess this may be helpful: :sparkles:
1LifeLess
@1LifeLess
May 26 2018 13:48
@ndburrus couldn't find what i need

I need the equivalent of

 arr.sort(function(a,b){
   console.log(a,b);
   return a - b
   });

in ES6

Kyle Holm
@thekholm80
May 26 2018 13:53
@1LifeLess
arr.sort((a, b) => {
  console.log(a, b);
  return a - b;
});
with arrow functions, if you don't put a code block { ... } after the arrow => then everything after the arrow is considered the 'return value'. if you use a code block then you use return just like a normal function
1LifeLess
@1LifeLess
May 26 2018 13:55
@thekholm80 Thanks man
CamperBot
@camperbot
May 26 2018 13:55
1lifeless sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1795 | @thekholm80 |http://www.freecodecamp.org/thekholm80
Kyle Holm
@thekholm80
May 26 2018 13:56
:+1:
Mohamed Ahmed
@techsau
May 26 2018 14:35
please how can I create top navbar with links on left and right of it?
Kyle Holm
@thekholm80
May 26 2018 14:36
@techsau here's how using bootstrap 4
Mohamed Ahmed
@techsau
May 26 2018 14:37
@thekholm80 thanks so much but is there other way by html css w3
CamperBot
@camperbot
May 26 2018 14:37
techsau sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1796 | @thekholm80 |http://www.freecodecamp.org/thekholm80
Kyle Holm
@thekholm80
May 26 2018 14:38
of course, but you'll have to search for a tutorial on how
Nicolas Ramirez
@kamatheuska
May 26 2018 16:14
Hey, I have a client who needs to send a batch of mails and is really concerned about avoiding this mails to get marked as spam. What tools do you recommend me to handle that?
Norvin Burrus
@ndburrus
May 26 2018 16:40
@kamatheuska like this? :sparkles:
Nicolas Ramirez
@kamatheuska
May 26 2018 17:25
That looks amazing! thanks for the links @ndburrus . My client mentioned a software that managed or programmed his emails, sending one at a time, for a period of time, and I don't know what he is talking about. Do you know something like that? thanks again!
CamperBot
@camperbot
May 26 2018 17:25
kamatheuska sends brownie points to @ndburrus :sparkles: :thumbsup: :sparkles:
:star2: 2239 | @ndburrus |http://www.freecodecamp.org/ndburrus
Norvin Burrus
@ndburrus
May 26 2018 17:29
@kamatheuska you could ask him/her (client) for the name of it?
...did you see Return Path in "28 Tips"?
...also, "5 Free Tools" could be useful - possibily automate?
Norvin Burrus
@ndburrus
May 26 2018 17:41
@kamatheuska ....Email on Acid is a multifunctional tool. notes updated...
ckcoska
@ckcoska
May 26 2018 19:37
Hi guys, I wanna do FCC exercises in atom editor, but after I installed atom app and found out it can't run on that at all.
Gulsvi
@gulsvi
May 26 2018 19:58
@ckcoska It takes some set up to do in Atom. If you want a quick way to test out your javascript and see console.log output, you could try repl.it, python tutor, jsfiddle or codepen. https://s.codepen.io/pen?editors=0012
ckcoska
@ckcoska
May 26 2018 20:09
@gulsvi thanks for your opinion, I watch some youtube videos and it seems coding more efficient.
CamperBot
@camperbot
May 26 2018 20:09
ckcoska sends brownie points to @gulsvi :sparkles: :thumbsup: :sparkles:
:star2: 2733 | @gulsvi |http://www.freecodecamp.org/gulsvi
ckcoska
@ckcoska
May 26 2018 20:14
@gulsvi OMG,thanks for your information, that site is what i want
Norvin Burrus
@ndburrus
May 26 2018 21:31
@ckcoska editor fyi stuff ... :sparkles: