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
CamperBot
@camperbot
captainshukla sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 724 | @mot01 |http://www.freecodecamp.com/mot01
Johnny
@jtan3
@MauriSg99 your class content open makes your menu open
try just content
Rajat
@rajataudichya
Hi people
Mauricio Salas
@MauriSg99
@jtan3 Thanks it worked
CamperBot
@camperbot
maurisg99 sends brownie points to @jtan3 :sparkles: :thumbsup: :sparkles:
:cookie: 412 | @jtan3 |http://www.freecodecamp.com/jtan3
Mauricio Salas
@MauriSg99
And what about the other things, I have literally no idea haha
Johnny
@jtan3
@MauriSg99 did you mean you wanted to fill in the white space? where the picture is?
Mauricio Salas
@MauriSg99
Exactly, it has like a padding but before I added the menu the picture covered the whole page
Johnny
@jtan3
if you click on the white space and check you dev tools
you'll see padding in the .content{ }
in your css
Johnny
@jtan3
@MauriSg99 background: url(images/bg.jpg) no-repeat center center fixed add this to your image
mhdns
@mhdns
is something wrong with mu javascript?
cannot get the timer to pause when i click the circle
Mauricio Salas
@MauriSg99
@jtan3 I got rid of the padding, but I didnt understand the no-repeat..
Like this:
'background-image:url(https://images.pexels.com/photos/7369/startup-photos.jpg?w=940&h=650&auto=compress&cs=tinysrgb) no-repeat center center fixed;'
????
Mr-Benjamin
@Mr-Benjamin
is this code correct
<ul class="nav nav-pills nav-justified">
ACSlater8
@ACSlater8
the portfolio challenge is hard
Mr-Benjamin
@Mr-Benjamin
@ACSlater8 yeah it is a bit
ACSlater8
@ACSlater8
how far are you on it benjamin?
shivam gupta
@shivamg11000
I am trying to fetch data from dark sky api, but the ajax is not working https://codepen.io/shivamg11000/pen/KqNOjo
Hemakshi Sachdev
@hemakshis
Hey Guys! I am finally done with my Random Quote Machine Challenge...
I would really love to hear your views/feedback... please do visit it :grinning:
https://codepen.io/hemakshis/full/GEjbGb/
Mr-Benjamin
@Mr-Benjamin
@ACSlater8 well ive redone it twice, I searched into it and found some good content and now got some basics running like nav nav-pils. still floundering but I think in this environment reading and searching is important.
@hemakshis inspired
@ACSlater8 got a little stuck atm with nav justified where it just piles into one corner
ACSlater8
@ACSlater8
@Mr-Benjamin how long have you worked on it
GrumpyCoder
@grumpycoder100
Guys how do I make a text be in centre?
*center
Building my Tribute Page currently
Markus Ivancsics
@ivancsicsmarkus
@grumpycoder100 css:text-align: center
kirontoo
@kirontoo
@grumpycoder100 select the element and use text-align: center
alpox
@alpox
@shivamg11000 What you are doing there is no ajax at all. It would be an unfinished way of doing jsonp
@shivamg11000 does anything speak against using jquery for the request?
shivam gupta
@shivamg11000
@alpox I changed the code
alpox
@alpox
@shivamg11000 It still looks like that - maybe you didn't save?
shivam gupta
@shivamg11000
@alpox now i a trying with open weather api
alpox
@alpox
@shivamg11000 That won't work because the open weather api has no free plan for https - and codepen allows only https now
shivam gupta
@shivamg11000
Its working on my pc but not on codepen bcs on codepen http:// is not supported
Tring to do jsonp
alpox
@alpox
@shivamg11000 yes. You cannot use open weather api
Not through codepen
@shivamg11000 If you want to go with jsonp, best is to use jquery for it - otherwise you have to do quite a setup for it
Nastya
@a4evo

help me please! Whats wrong?
```function getForecast() {
var lat = "";
var lon = "";

if(navigator.geolocation) {
    navigator.geolocation.getCurrentPosition(function(position) {
        lat = position.coords.latitude;
        lon = position.coords.longitude;
        $(".lat").text(lat);
        $(".lon").text(lon);

        var linkAPI = '"https://api.darksky.net/forecast/dd5fb835130b53a3a354d5687b74f6c8/' + lat + ',' + lon + '"';
        $.getJSON(linkAPI, function(json) {
            //$(".api").text(linkAPI);
            $(".api").text(JSON.stringify(json));
        });
    });    
}        

}```
i get coords, link forms right, but i can't get json ((