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
faraz
@silentarrowz
I mean 4 quarter circles are not trapezoids, that's all @AdventureBear
Suzanne Atkinson
@AdventureBear
well you can use this one for now
Oh I see what you mean. It's a layer cake! the empty spot int he middle is another overlying div
IndiraShrestha
@IndiraShrestha
@wearenotgroot What other comment's suggestion do you have for my code?
I feel like I understand when i see the correct answer/code but with the wrong code i am not sure why it doesn't work and i would like to work on it
faraz
@silentarrowz
so, you mean I put another circle on top of the circle with the 4 parts and I'll get the trapezoids?? @AdventureBear wow, that sounds good. but will the top part really hide the mid portion of the circle below. I mean , it should otherwise we wont get that same look. @AdventureBear
@AdventureBear but I like the idea lot. then there's just one job left and that is to hide the below lying circle
greg
@wearenotgroot
@IndiraShrestha it depends on the api. different api will require different parameter pass to the request and will give different response
Aaron Hanna
@AaronHanna
var loc = {};

if ('geolocation' in navigator) {
  navigator.geolocation.getCurrentPosition(function success(pos){
    loc.lat = pos.coords.latitude;
    loc.lng = pos.coords.longitude;    
  });
}
loc at beginning = undefined
during if statment = {lat: 123, lng:123}
after if statement = undefined
Can anyone explain why the values that are put into the "loc" object revert back to undefined after the if statement is done?
Suzanne Atkinson
@AdventureBear
well you can just not give it a background color @silentarrowz . I gave it a background color to try and make it look like a base. If you uncomment my "controls" div, you'll see a better outcome.
I'm just being super picky right now.
greg
@wearenotgroot
@IndiraShrestha oh btw the recommended use of $.getJSON
$.getJSON(url).done(callback).fail(errorCallback);
faraz
@silentarrowz
@AdventureBear yeah, that looks just the way we want. just need to reduce the size of the inner circle
Ell3Ell3
@Ell3Ell3
Hi guys
I have this problem with the local wheater challenge:
Mixed Content: The page at 'https://s.codepen.io/Fen24/debug/jqGKNm' was loaded over HTTPS, but requested an insecure image 'http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/agsquare.png'. This content should also be served over HTTPS.
pen.js:38
How can i get the icon with https?
Suzanne Atkinson
@AdventureBear
@silentarrowz OK, take a look at this now! http://codepen.io/AdventureBear/pen/BzLgVb?editors=1100
refresh the pen
it's gorgeous! Thanks @jdtdesigns ... I needed to add the box sizing property to not drive myself crazy
CamperBot
@camperbot
adventurebear sends brownie points to @jdtdesigns :sparkles: :thumbsup: :sparkles:
:warning: adventurebear already gave jdtdesigns points
faraz
@silentarrowz
wow! that's just the right size. excellent work @AdventureBear
that will surely help a lot . thanks @AdventureBear
CamperBot
@camperbot
:cookie: 446 | @adventurebear |http://www.freecodecamp.com/adventurebear
silentarrowz sends brownie points to @adventurebear :sparkles: :thumbsup: :sparkles:
Sujit Karki
@Swoozeki
@IndiraShrestha I was perplexed by that problem too, so I did a bit of searching and found a answer: http://stackoverflow.com/questions/11175029/jquery-jsonp-not-calling-the-callback
faraz
@silentarrowz
by the way, did you happen to complete the tic tac toe thing??
Yukti Kathuria
@ykathur2
Hey guys, I have reached the stage where I am supposed to build a tribute page. My question was whether I am supposed to replicate the exact app that Free Code Camp provides me or I can choose any topic/person to design my page!
faraz
@silentarrowz
I mean the tic tac toe . I mean the app. or should I say game?? @AdventureBear
Aaron Hanna
@AaronHanna
@ykathur2 Make it your own!
faraz
@silentarrowz
@ykathur2 you can choose anything
Yukti Kathuria
@ykathur2
Thanks @AaronHanna @silentarrowz
CamperBot
@camperbot
ykathur2 sends brownie points to @aaronhanna and @silentarrowz :sparkles: :thumbsup: :sparkles:
:cookie: 265 | @aaronhanna |http://www.freecodecamp.com/aaronhanna
:cookie: 331 | @silentarrowz |http://www.freecodecamp.com/silentarrowz
Gabriel Alexandre
@GabrielShaad
Is anybody available to help please?!
I tried everything that I can to center the navbar and it does not work: http://codepen.io/gabrielshaad/pen/BzLRdm?editors=1100
faraz
@silentarrowz
@GabrielShaad try putting it in a container div
Suzanne Atkinson
@AdventureBear
@silentarrowz yes it's here: http://codepen.io/AdventureBear/pen/jWqVYq
Aaron Hanna
@AaronHanna
var loc = {};

if ('geolocation' in navigator) {
  navigator.geolocation.getCurrentPosition(function success(pos){
    loc.lat = pos.coords.latitude;
    loc.lng = pos.coords.longitude;    
  });
}
loc at beginning = undefined
during if statment = {lat: 123, lng:123}
after if statement = undefined
Can anyone explain why the values that are put into the "loc" object revert back to undefined after the if statement is done?
Gabriel Alexandre
@GabrielShaad
@silentarrowz And how I center it?
Suzanne Atkinson
@AdventureBear
@silentarrowz it has a "human" mode where you play 2 player, and an "easy" mode where the conputer is smart but not unbeatable.
IndiraShrestha
@IndiraShrestha
@wearenotgroot I made some changes as per your suggestion
Suzanne Atkinson
@AdventureBear
I have yet to implement the unbeatable mode
IndiraShrestha
@IndiraShrestha
http://codepen.io/Indira_Leite/pen/rLMQYL?editors=0010
faraz
@silentarrowz
well, @AdventureBear . I tried it long ago, but somehow couldnt figure out how to make the computer smart. the algorithm seems too difficult
IndiraShrestha
@IndiraShrestha
@wearenotgroot the error is unexpected identifier
faraz
@silentarrowz
@GabrielShaad what exactly do you want to center? the text in the navbar or the full navbar?
putting it inside a container will put a gap between the edge of the page and the navbar and that's what I thought you wanted
@silentarrowz what does this code do in simon game
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@AdventureBear