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
Simon Jacobs
@SimonJacobsTLD
Never mind, got it!
42void
@42void
first, have you used class="img-thumbnail" from bootstrap?
Ashleigh Irwin
@airwin1391
Hi would anyone be able to help? I created a modal window and it works on my local device but it doesn’t work on codepen for some reason, would anyone know why? The code for my modal window is below and I’m using bootstrap.
<div class="modal fade" id="coffitivityModal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4>Want to boost your productivity?</h4>
            </div>
            <div class="modal-body">
                <p>Get the coffee shop vibe without having to leave your house or office.</p>
                <p>According to a scientific research from the University of Chicago, "A moderate level of
                    ambient noise is conducive to creative cognition."</p>
                <p>This means being a tiny bit distracted helps you be more creative and productive.</p>
                <br>
                <p><strong>Check it out!</strong></p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default coffitivity-button center-block"><a href="https://coffitivity.com/" target="blank"><img class="img-responsive" src="img/coffitivity-logo.png"></a></button>

            </div>
        </div>
    </div>
</div>
Stuart Taylor
@Bouncey

Why can't I get the stringified JSON in $('.message') or in the console.log()?

$.getJSON("api.openweathermap.org/data/2.5/weather?lat....long...APPID=...", function(json) { 
$(".message").html(JSON.stringify(json)); 
});

Am i doing the .getJSON wrong?
any help much appreciated

everything else in my js code is either working or commented out
Coira Ellison
@Coira
@Bouncey do you have any errors in the console? do you have // in front of api.etc ?
Stuart Taylor
@Bouncey
@Coira lots of too much recursion and its pointing at .proxy/i() but I dont haave anything like that in my code

i have the

if (navigator.geolocation)

from the json and api tutorial

and i have a load of variables set but commented out
Coira Ellison
@Coira
i'm gonna have to see the whole thing, i don't know what that error's going to be about
Stuart Taylor
@Bouncey
Coira Ellison
@Coira
@Bouncey i don't get any recursion errors
Stuart Taylor
@Bouncey
I got it, I didn't have http:// in the url, so it was sending the request to codepen
thanks for having a look though
Coira Ellison
@Coira
ah, great, is it working for you now? i'm getting a failed to start loading error
Yahya Gilany
@Ygilany
Hey guys I'm having an issue with codepen .. my code works perfectly fine locally on my machine but doesn't work on codepen.. does anyone have an idea why is that happening ?
This is my codepen page
Stuart Taylor
@Bouncey
@Coira I got the stringified JSON to the browser and in the console, but I still cant populate my var's with the data.
Im going to be now though, Ill have another go tomorrow
Gilbert Smith
@GJSmith3rd
@Ygilany You still in chat?
Yahya Gilany
@Ygilany
@GJSmith3rd yes I'm here
I also tried to console print the data that comes from the Api it looks totally different. In fact, it doesn't get what I'm expecting at all
Rex Smith Jr.
@rsmith731
anyone familiar with the command line?
Kevin
@KevinBruland
I have a div that is exactly 446 pixels wide, including 3px padding on the right and the left... inside I have rows of 11 boxes with 40 width... there is an extremely small white space on the right side of this grid that I can't figure out
sadlyj
@sadlyj
I have a question. For the front end project that's asking you to make a codepen.io app, is it expecting you to buy a membership on code pen? I have been using brackets and I don't see why I would need to pay for that.
Don Price
@KingHippo
@sadlyj you can use the free version.
I think that's what most people are doing
sadlyj
@sadlyj
@KingHippo Okay, I appreciate the response. Thnanks!
Thanks*
Don Price
@KingHippo
no problem!
Jason
@JasonDeving
@sadlyj you can do the free version. the paid hides your code
AnnasLab
@AnnasLab
Hello everyone please How can I remove this margin
http://i.imgbox.com/cIjuQ1xV.png
Gwendolyn Faraday
@gwenf
@AnnasLab can you link your file instead of the pic
AnnasLab
@AnnasLab
@gwenf thank you, I found the problem ^^ and here the link https://codepen.io/AnnasLab/pen/adevPv
CamperBot
@camperbot
annaslab sends brownie points to @gwenf :sparkles: :thumbsup: :sparkles:
:star: 710 | @gwenf | http://www.freecodecamp.com/gwenf
Gwendolyn Faraday
@gwenf
@AnnasLab :+1:
MIke
@chipotle298
could someone tell me why the background of mine jumbotron is in purple? http://codepen.io/manczyk2/pen/aNvBvo
Greg Duncan
@GregatGit
@AnnasLab Your page looks good but it is full of some one else's code - you have rightfully given them credit but I think you're better of to build your own.
This message was deleted
MIke
@chipotle298
sorry, is not in purple
(the jumbotron)
Greg Duncan
@GregatGit
@chipotle298 I changed it to #test instead of .jumbotron and gave that div an id="test" and it worked
AnnasLab
@AnnasLab
@GregatGit thanks, Yes I'm using a jQuery plugin for the auto typer because I created one myself (check projects) but it need some improvements, I'll change it once I I got mine done.
CamperBot
@camperbot
annaslab sends brownie points to @gregatgit :sparkles: :thumbsup: :sparkles:
:star: 426 | @gregatgit | http://www.freecodecamp.com/gregatgit
Greg Duncan
@GregatGit
@AnnasLab Good idea - it made me read it.
AnnasLab
@AnnasLab
@GregatGit contributions are welcome ^^
MIke
@chipotle298
@GregatGit yeah did the same thing but then i lose the jumbotron and the beloved rounded corners. i dont get this. when the code was made within sublime, it worked. but then when i copy and paste it within the code pen, it doesnt