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
Josh Bailey
@joshbailey0
@Athabasco Ah great! night
Ajay Tanwar
@ajayt365
https://codepen.io/ajayt365/pen/RRYOdk . why crossorigin.me is not working
kirbyedy
@kirbyedy
stopped working I think
Why my content below img is not center ?
Is there problem with this div class? <div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
Marianissimus
@Marianissimus
@Prezess maybe, because sm-8 + sm-2 = 10 not 12, BUT where did you tell it to be centered? nowhere. that's the default alignment
Joris Labie
@labiej
Indeed, you should look into the text-* classes
For your goal text-center should do what you want
@Marianissimus The offset is correct, to center a div with a width md-8 you want 2 columns on both sides hence the offset of 2 columns
Marianissimus
@Marianissimus
@labiej doesn't offset just move columns to the right? Here's from bootstrap: Move columns to the right using .col-md-offset- classes. These classes increase the left margin of a column by columns. For example, .col-md-offset-4 moves .col-md-4 over four columns.
anyway, he should just tell add the text-center class, like he did before. Or do you want to center-align the text? @Prezess
Joris Labie
@labiej
It does, but it moves the left edge over that many columns. So if you move it by 4 columns the right edge of an 8 column wide div will touch the browsers edge.
Marianissimus
@Marianissimus
@labiej yes, but that's not centering it. OK, we actually agree but see different problems:)
Joris Labie
@labiej
I guess we do. I don't like bootstrap or any other frameworks though. Materialize is somewhat okay because the form-fields have a great default markup + it has a lot of colours built in.
Chris Cullen
@123xylem

QUick Question: I made a reset() function but when I use it it gives me this error message : Uncaught TypeError: reset is not a function
at HTMLButtonElement.<anonymous> (random.js:53)

This is the reset function

function reset(){
    player1Score=0;
    p1s.textContent=player1Score;
    p1s.classList.remove("winDisplay");
    player2Score=0;
    p2s.textContent=player2Score;
    p2s.classList.remove("winDisplay");
    gameOver=false;
}

reset.addEventListener("click",function(){
reset();
});


max.addEventListener("change",function(){
reset();
score.textContent=max.value;
winningScore=max.value;
})
Why wouldnt it think reset is a funcion
playingwithinfinity
@playingwithinfinity
Hey guys. Why isn't 1 getting outputted when I click on it? http://codepen.io/jimpix/pen/zNNBZr
Waqas Abbasi
@Waqas909

@playingwithinfinity Because

parseInt($("#display").html()) = Nan

 console.log(parseInt($("#display").html()));
I think that's why it's not outputting it
playingwithinfinity
@playingwithinfinity
@Waqas909 No, I was using .html instead of .val
Waqas Abbasi
@Waqas909

@playingwithinfinity Nvm, It's actually the input box.

~~~

<input type="text" id="display"> //Replacing this with

<p type="text" id="display"> </p>

playingwithinfinity
@playingwithinfinity
Yeah, I got it.
Waqas Abbasi
@Waqas909
:thumbsup:
playingwithinfinity
@playingwithinfinity
@Waqas909 Why don't my arithmetic buttons display anything? http://codepen.io/jimpix/pen/zNNBZr
What's wrong?
playingwithinfinity
@playingwithinfinity
It was just working?
Daniel
@Prezess
@Marianissimus @labiej I want to have this column on the center place on site.
johnnydemol
@johnnydemol
Quick question guys,
I'm trying to call an API for the weather app challenge but i can't seem to get the api call to work..
I just want it to display the object on screen so I know I'm get a response, then work from there
h1tag
@h1tag
@johnnydemol you forgot to add the API key to the URL
johnnydemol
@johnnydemol
Thanks @fortMaximus I'll see if I can figure out how to do that
CamperBot
@camperbot
johnnydemol sends brownie points to @fortmaximus :sparkles: :thumbsup: :sparkles:
:cookie: 301 | @fortmaximus |http://www.freecodecamp.com/fortmaximus
h1tag
@h1tag
Our weather API is simple, clear and free. We also offer higher levels of support, please see our paid plan options. To access the API you need to sign up for an API key if you are on a free or paid plan.
and if it still not working after adding the API key. Try HTTPS instead of HTTP in the URL
johnnydemol
@johnnydemol
I have to wait about ten minutes for the key to be activated but I'll let you know if it works. Thanks a lot for your help, the tut on apis wasn't all that clear to me
h1tag
@h1tag
YW. Yea, there are somethings you have to figure out by youself
Ian MacMillan
@IanMacMillan

[Basic question re CodePen] I'm new to CodePen and want to make sure I've set this up correctly so I can complete the "Build a Tribute Page".

  • Are there any setting I need to set?
  • Any Header code or libraries to load?

I ask this as I cheated a bit (I find it helps me learn faster) and loaded up Quincy Larson's HTML and CSS and ran the code....and I get a different looking result.

h1tag
@h1tag
@IanMacMillan Have you watched the project video?
Meli94
@meli94
add bootstrap in the css panel setting
Ian MacMillan
@IanMacMillan
@fortMaximus Yes....and have Bootstrap added to CSS, but not behaving as expected.
@meli94 Yes....have Bootstrap added to CSS, but not behaving as expected. Any other settings or libraries?
h1tag
@h1tag
@IanMacMillan can you paste your Codepen pen URL?
Ian MacMillan
@IanMacMillan
h1tag
@h1tag
@IanMacMillan that's why you shouldn't just copy-paste. You should WRITE YOUR OWN CODE!