Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Eduar Tua
@eduartua
Hi guys
do you recommend to switch to the beta versiĆ³n?
Gulsvi
@gulsvi
If you switch to the beta, save your progress. It won't be saved when the beta is finished.
Eduar Tua
@eduartua
Then it is better to wait
Gulsvi
@gulsvi
I'm waiting, but I'm not in a hurry - this is just a hobby for now
Lots of good lessons in the beta
Keon Samuel
@keonsam
Im in hurry
speed
Gulsvi
@gulsvi
Yeah, I can tell :)
Keon Samuel
@keonsam
I want everything .
how old are you Sky?
Gulsvi
@gulsvi
21
Keon Samuel
@keonsam
lol
me and you the same age.
Gulsvi
@gulsvi
nice :)
Keon Samuel
@keonsam
I thought you were 15.
Gulsvi
@gulsvi
Saw you talking about jobs yesterday, was thinking there must be a lot of jobs for websites - so much tourism in your area
Nah, I'm in college
I study languages - that's why I wanted to know some colloquialisms from your area
Keon Samuel
@keonsam
bachelor or community?
Gulsvi
@gulsvi
bachelor, it's a university
Keon Samuel
@keonsam
cool
Keon Samuel
@keonsam
lol, I would like to make $5000 us per month that is prime minster salary in my country.
Eduar Tua
@eduartua
I too old
Keon Samuel
@keonsam
too old for what?
Gulsvi
@gulsvi
You could make $2000 for a website pretty easily in Canada. Make a few wordpress websites a month for small businesses - sign up as a freelancer.
6000/month. Invite the prime minister over for dinner
Eduar Tua
@eduartua
I am 30 and many people say is too late to start in programming field
Keon Samuel
@keonsam
I don't think so @eduartua
Gulsvi
@gulsvi
30 is young
Eduar Tua
@eduartua
I am still doing my best, I am electrical engineer but love web development
Keon Samuel
@keonsam
@SkyCoder01 maybe we can collaborate.
Gulsvi
@gulsvi
I'm just going to be a student for now and see where it takes me :)
Eduar Tua
@eduartua
Languages and coding is a good combination
c0d0er2
@c0d0er2

Can somebody please help me with Replacing If Else Chains with Switch in JavaScript? Here is my code:

function chainToSwitch(val) {
  var answer = "";
  // Only change code below this line

  switch (val === "bob") {
    case 1:
      answer = "Marley";
      break;
    case 2:
      answer = "The Answer";
      break;
    case 3:
      answer = "There is no #1";
      break;
    case 4:
      answer = "Missed me by this much!";
      break;
    default:
      answer = "Ate Nine";
      break;
  }

  // Only change code above this line  
  return answer;  
}

// Change this value to test
chainToSwitch(7);

Here is the link: https://www.freecodecamp.com/challenges/replacing-if-else-chains-with-switch

Keon Samuel
@keonsam
@SkyCoder01 but we can make millions.
Gulsvi
@gulsvi
I would gladly work for you some day @keonsam :) have a dream job in the Caribbean
Sit on the beach, code all day. Drink rum. Sounds perfect
Keon Samuel
@keonsam
haha
Eduar Tua
@eduartua
I tried rum while coding. It didn't work for me got drunk too quickly
Gulsvi
@gulsvi
Rum is for after coding lol
Eduar Tua
@eduartua
Lol
Keon Samuel
@keonsam
probably won't want to code drunk.
Gulsvi
@gulsvi
Keon would fire us for drinking on the job
Reeson55
@Reeson55
are there any issues with using images off google for my background images on codepen for projects?
Eduar Tua
@eduartua
Use postimage.io
Gulsvi
@gulsvi
It depends on the image, some are copyright, but I doubt anyone would notice
Reeson55
@Reeson55
i mean im just using the url link
to post a background on codepen its nothing live