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
Frosty427
@Frosty427
wait
wrong chat
Gilbert
@GilTorch
Hi everyone i need some help for this challenge: https://beta.freecodecamp.org/en/challenges/sass/use-if-and-else-to-add-logic-to-your-styles
<style type='text/sass'>
@mixin border-stroke($val){
@if $val==light{border:"1px solid black"}
@else if $val==medium{border:"3px solid black"}
@else if $val==heavy
  {border:"6px solid black"}
@else
  {border:none}
}
  #box {
    width: 150px;
    height: 150px;
    background-color: red;
    @include border-stroke(medium);
  }  
</style>
<div id="box"></div>
Stephen James
@sjames1958gm
@GilTorch The sample code doesn't have "" around the styles
Gilbert
@GilTorch
@sjames1958gm removed them and it still doesn't work
Frosty427
@Frosty427
@Frosty427
image.png
can someone help me with these images?
image.png
i want to make them look like that
Stephen James
@sjames1958gm
@GilTorch I found that you needed the ; at the end of the styles as well
Gilbert
@GilTorch
I solved it. Thank You @sjames1958gm
CamperBot
@camperbot
giltorch sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 9096 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Markus Kiili
@Masd925
@sjames1958gm Interesting, because in CSS, semicolons only belong between several style declarations, and not at the end of every declaration.
Stephen James
@sjames1958gm
@Masd925 I am thinking it is only the FCC verification that requires them, because the styling looks correct, only the test doesn't pass
Markus Kiili
@Masd925
@sjames1958gm Yeah. FCC also uses semicolons after every css declaration, which is not what the css docs say.
Stephen James
@sjames1958gm
@Masd925 Doesn't SASS also remove the need for semicolons?
Markus Kiili
@Masd925
@sjames1958gm I don't know any SASS.
Clark Weckmann
@clarkhacks
I need some recommendations! What's a good payment api? I want to be able to let users pay for a token for access to a chatroom. It'd be a bonus if they had a mock api for development!
Frosty427
@Frosty427
@sjames1958gm do you think you have time to help me?
Stephen James
@sjames1958gm
@Frosty427 What's up?
Frosty427
@Frosty427
wait
lol
how do i point up
to a previous ppint?
@sjames1958gm if you go up just a bit my issue is there
Ghost
@ghost~5a4a80acd73408ce4f859755
@Frosty427 alt + click on the time of the message
@MuhammedKarim alt click?
what click
on the mouse
oh
ok
Stephen James
@sjames1958gm
@Frosty427 Look like the images are already fixed?
Frosty427
@Frosty427
no
go to codepen
on mobile it looks bad
hold up
image.png
there
Clark Weckmann
@clarkhacks
@Frosty427 add <meta name="viewport" content="width=device-width, initial-scale=1"> to the head?
@Frosty427 Nevermind I see it in the code now not the codepen head.
Stephen James
@sjames1958gm
@Frosty427 How does it look bad?
Frosty427
@Frosty427
uploading screenshot
or not
wait
image.png
image.png
there
the bottom is the one im trying to recreate
Stephen James
@sjames1958gm
@Frosty427 so too much spacing between the pictures?
Frosty427
@Frosty427
@sjames1958gm basically