Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
Harshil Agrawal
@sophiabrandt no problem
@sophiabrandt I have disabled access control and I'm getting "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]", "not well-formed" and "TypeError: aWindow is undefined" now
Ray Liu
Hey guys, do you want to play tic tac toe? :) I just finished it and would like to hear from you , let me know your opinions, here it is: http://codepen.io/mania7539/full/QEpjMB
i was making the tribute page, but i am facing problems with overriding bootstrp styles with my own css
i am a newbie to web development
can anyone help me here?
Jack Lyons
hey guys i have a question about string replace
why does this not add a dash with every space?
str = "hello m name is jack";
str.replace(" ", "-");
 returns ----->  "hello-my name is Jack"
why only the first word?
Norvin Burrus
@JackEdwardLyons this may be helpful:
Hi guys, I am building my first Front End project. I see that all of my things are gonna be in one div (box), how to make it centered relative to the page?
Thanks so much
Thanks so much Aaron Taylor.
Hi, I am trying to get weather info from openweathermap.org by ZIP code. But I got an error message:{"cod":"404","message":"Error: Not found city"}
Here is my code
This message was deleted
$(document).ready(function() {
  var zip="";
  var country="";
  $.getJSON("http://ipinfo.io", function(response) {
    $(".location").html(response.city + ", " + response.region + ", " + response.country);
  $.getJSON("http://api.openweathermap.org/data/2.5/weather?zip="+zip+","+country+"&APPID=4ca247b54b4eb71e942ca40585468d7d", function(json) {
I wonder what was wrong
Bruce Young
@designBuildShipSoftware put the second getjson inside the first getjson at the end. the processes are asynchronous.
Aaron Brown
I am working on the first challenge and I a trying to insert an image located on my computer using CodePen. Please help!!! Thank you.
Aaron Taylor
@bohumil1919 you will have to host it somewhere unless you have a Pro codepen account
Some people have just put it on Dropbox free account and linked in or on their github account you created here and linked in the img src to it
Also I hear this one is decent and works, but I haven't tested it https://postimage.org/
I do know imgur does not work so don't put there and link in.
I hope that helps some
Aaron Brown
I really appreciate it. Thank you.
Aaron Taylor
You are welcome @bohumil1919 . I know in my case for my pens I often just link to where they are online as long as it is OK to do so. Like stock photography and what not.
@mutantspore I got it! Thank you elf for the tip and tutorial. I've learned a lot:)
designbuildshipsoftware sends brownie points to @mutantspore :sparkles: :thumbsup: :sparkles:
:star2: 1735 | @mutantspore |http://www.freecodecamp.com/mutantspore
Quoc Anh Nguyen
Hey guys, why are there white spaces around my background-picture?
Ken Haduch
@quocanh261997 - if you change your CSS to this, it doesn't have the margin around it:
body {
    background-image: url("http://www.ozwallpaper.com/wp-content/uploads/2015/10/starry_night_hd_desktop_background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
Quoc Anh Nguyen
@khaduch actually, I haven't added bootstrap in the feature, so that's why it has the white spaces =))
Ken Haduch
@quocanh261997 - oh, I see. With bootstrap normalize.css is loaded, and sets the margin for the body to 0, so that takes care of it... good!

so this:

body {
  margin: 0;

would do the same thing. in case you were trying not to use bootstrap.

Adetunji Iyaniwura
can anyone help with creating a button that changes quote,background color and button color simultaneously ?
<input type="radio" name="indoor-outdoor">
<input type="radio" name="indoor-outdoor">
What at I am doing wrong?
guys.can somebody tell me how to vertically center the font awesome icons in the button.i'm using vertical-align:middle.but it doesn't work.
Ken Haduch
@zenflint - one thing that I see - you have spelled "label" incorrectly?
@vichus1995 - it looks like the height of those elements is such that there is a lot of white space below the up-arrow, and a lot of white space above the down arrow, so the overall element is vertically centered, but it is not drawn so that the triangular part of the image is in the center of the item... maybe you need a different icon?
Ken Haduch
@vichus1995 - like you might try fa-arrow-up and fa-arrow-down or fa-caret-up and fa-caret-down - I was looking in the "Directional Icons" section on the http://fontawesome.io/icons/ page
@vichus1995 and vertical-align might only work with table elements?
@Iadetunji - what are you trying to do - do you have a project link or something? Sounds like you just need to add some jquery (or javascript) code to change CSS styles for your colors?
Adetunji Iyaniwura
@vichus1995 ,i am working on the random quote machine challenge,