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
DarkxPunk
@DarkxPunk
But if I have to create a new rule every time I add a new data div then it is a nightmare.
Oh I forgot to also add, I had to also make the targets spans stacked above the data so that I could cascade down and style the actual data xD
It was conveluded as ever XD
But it worked
Now that I think about it, I may have another idea… Hmmm...
Ravi Kishore Thella
@ravikishorethella
@DarkxPunk
var tags = $$('a')[0]; console.log(tags);
you can use this and display this (1st box target information ) whenever the page loads
DarkxPunk
@DarkxPunk
Not following...
DarkxPunk
@DarkxPunk
I updated the pen to get the first to display… now how to make it not display when not targeted XD
Oh la la
I made it work :O
I flipped the order of the data and did this:

content-container-2 > div:last-child:not(:target) {

display: block;

}

content-container-2 > div:target ~ div:last-child {

display: none;

}

DarkxPunk
@DarkxPunk
Next issue… How the hell do I now style the buttons when one is selected XD
CSS needs a way to target previous siblings or parants or previous parents children XD
Make stuff like this 100x easier
Anyway it is getting really late for me and one break through really tired me out yawn
@ravikishorethella If you keep looking this over and finding pure css solutions I will love you long time
But for now I am going to bed and will check in, in the morning.
Ravi Kishore Thella
@ravikishorethella

I am looking for some better solution :smile:

I made it work :O

OliverOsmoSamuel
@OliverOsmoSamuel
Hi all, I am doing the Build a Tribute Page challenge on FreeCodeCamp. I wrote my code as instructed on CodePen and as I had a few HTML and CSS classes before, I added my own design to my project. As I wanted to preview the website on other Browsers like Firefox or Edge (I built the website on Chrome on which I had no problems) I realized that some of the CSS was ignored. Margins and Paddings had disappeared and the picture on my top left corner wasn't there anymore. This also happens if I copy the code to Brackets or Atom and preview the website there. I would be really happy if someone could help me! I have included my CodePen link at the end of this message. I am rather new to coding so please don't judge my code.
CodePen: https://codepen.io/Oliver_J/pen/PRPYoz
GitHub: https://gist.github.com/anonymous/4df27823c6d406c9d031e2994cbdd8ce
abraham anak agung
@padunk
@OliverOsmoSamuel you can't put your code in imgur, i think they don't want to be source of content. put it somewhere else. and you have a typo on line 63 in your html, em> since i dont have firefox, can't help you much than that.
OliverOsmoSamuel
@OliverOsmoSamuel
oh okay thank you! I am new here so i didn't know it wasn't allowed.
abraham anak agung
@padunk
@OliverOsmoSamuel some friends recommend this site to store your photo http://postimages.org/
i saw it on edge, it has problem with <section> idk what is the problem, mayb BS4 and edge
OliverOsmoSamuel
@OliverOsmoSamuel
okay, thank you very much!
Joshua Frias
@Juke-Magic
guys help
can somebody tell me why my values are switching places?
Free code camp should be offline and ESL_SC2 should be online
but sometimes it switches places or switches status
what's wrong?
Frosty427
@Frosty427
image.png
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?