Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:33
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • May 10 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 25 17:12
    @mstellaluna banned @cmal
  • Apr 01 18:11
    thecodingaviator labeled #31179
  • Apr 01 18:11
    thecodingaviator labeled #31179
  • Apr 01 18:09
    thecodingaviator commented #31179
  • Apr 01 18:09
    thecodingaviator labeled #31182
  • Apr 01 18:09
    thecodingaviator labeled #31182
  • Apr 01 18:07
    thecodingaviator commented #31182
  • Apr 01 18:07
    thecodingaviator labeled #31190
  • Apr 01 18:07
    thecodingaviator labeled #31190
  • Apr 01 18:07
    thecodingaviator commented #31190
  • Apr 01 18:05
    thecodingaviator commented #31157
  • Apr 01 18:04

    thecodingaviator on master

    remove A (#31157) (compare)

  • Apr 01 18:04
    thecodingaviator closed #31157
  • Apr 01 18:04
    thecodingaviator closed #33788
  • Apr 01 18:04
    thecodingaviator commented #33788
  • Apr 01 18:02
    thecodingaviator closed #31059
  • Apr 01 18:02
    thecodingaviator commented #31059
Aizaz Shahid
@aizazshahid
they should be written in new line !
Saif Ur Rahman
@saifsmailbox98
@ay2306 format it correctly, you are not using B
yash5657
@yash5657
@saifsmailbox98 @sjames1958gm almost got it thanks
CamperBot
@camperbot
yash5657 sends brownie points to @saifsmailbox98 and @sjames1958gm :sparkles: :thumbsup: :sparkles:
:cookie: 415 | @saifsmailbox98 |http://www.freecodecamp.com/saifsmailbox98
:star2: 7657 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Arontbt
@Arontbt
js14.PNG
Could somebody help me out with going about with this challenge please? I don't even understand how the game of blackjack is played.
yash5657
@yash5657
having issue to replace " , "
Eninam
@Eninam17
how do you go to a new line? sorry im new here
Saif Ur Rahman
@saifsmailbox98
@Arontbt read the instructions, and try something
yash5657
@yash5657
will go through docs
Moisés Man
@moigithub
shift + enter @Eninam17
Saif Ur Rahman
@saifsmailbox98
@Eninam17 shift + enter
yash5657
@yash5657
Hold shift and hit enter
@Eninam17
Eninam
@Eninam17
thanks
Nick Forlivio
@whackdev
Can someone take a look at my pen? I can't get the last row of buttons to line up and even though I'm using bootstrap responsive it doesn't line up the calculator over 991px
https://codepen.io/whackdev/pen/PjwPjB
Christopher McCormack
@cmccormack
@whackdev try putting your container in a col
Nick Forlivio
@whackdev
@cmccormack ok I had it like that before but let me try that
yash5657
@yash5657
@saifsmailbox98 if we say this str = str.replace(/[^a-z0-9]/gi,""); it was suppose to replace even " , " right?
Saif Ur Rahman
@saifsmailbox98
@yash5657 yes
Christopher McCormack
@cmccormack
@whackdev once you do that, you can get rid of #button-frame { margin-left: -110px; } and start adjusting from there
yash5657
@yash5657
not passing these tests
palindrome("My age is 0, 0 si ega ym."
palindrome("A man, a plan, a canal. Panama"
Chris
@bestintown23
how can i move my text to be all the way to the right of the page.? https://codepen.io/bestintown23/pen/LLVjOd
Ayush Mahajan
@ay2306
@saifsmailbox98 it worked. Using it for random change in background color
Nick Forlivio
@whackdev
thanks @cmccormack I'l tinker with it some more
CamperBot
@camperbot
whackdev sends brownie points to @cmccormack :sparkles: :thumbsup: :sparkles:
:cookie: 780 | @cmccormack |http://www.freecodecamp.com/cmccormack
Saif Ur Rahman
@saifsmailbox98
@yash5657 try return str; after the replacement to debug your code.
Arontbt
@Arontbt

@saifsmailbox98 I've already tried a lot of things. The closest thing that worked was writing if else statements e.g.

if (card === 2 || card === 3 || card === 4 || card === 5 || card === 6) {
return "5 Bet";
}
and so on

Christopher McCormack
@cmccormack
@whackdev np
Saif Ur Rahman
@saifsmailbox98
@ay2306 nice.
Eninam
@Eninam17

instruction :
Assign the value 7 to variable a.

Assign the contents of a to variable b.

var a = 7;
var b = 7;
 b = a;

what am i doing wrong? ( it says do not change the code above the line not checked)

Saif Ur Rahman
@saifsmailbox98
@Eninam17 isn't it working?
Eninam
@Eninam17
no
yash5657
@yash5657
@Eninam17 why do you need var b=7 ; ??
try talking it off
@Eninam17
Saif Ur Rahman
@saifsmailbox98
@Eninam17 post your link of the task page.
Arontbt
@Arontbt
@saifsmailbox98 I'm guessing that I have to write something that assigns a count to cards as shown in the table. Then I have to write something that adds up the counts of the cards and gives me something that says "1 Bet", "-5 Hold" etc
Eninam
@Eninam17
@yash5657 i took it off and still not working
Saif Ur Rahman
@saifsmailbox98
@Eninam17 HERE IS THE SOLUTION

// Setup
var a;
var b = 2;

// Only change code below this line

a=7;
b=a;
you changed the line that was not supposed to be changed.
yash5657
@yash5657

@Eninam17 var a;
var b = 2;

// Only change code below this line
a=7;
b=a;

Manuel
@manny45
Multiply Two Decimals with JavaScript var product = 2.0 * 0.0;
yash5657
@yash5657
this should be your code
Manuel
@manny45
help
yash5657
@yash5657
@Eninam17