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
andreas2249 sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:warning: andreas2249 already gave sorinr points
how can i get the about tab to the top right corner??
"about" tab
CamperBot
@camperbot
you need to ask about @someone!
Dinesh
@Dinesh9387
@hiltydiggs hey mahn, u still there???
DJ Pelland
@dna113p
@Dinesh9387 do you mean the navigation buttons?
Akhil Kr.
@aj17kr
Hi , can anyone help me understanding how do i implement smooth scrolling in navbar a links ? like in this site :- https://codepen.io/FreeCodeCamp/full/YqLyXB/
Sorin Ruse
@sorinr
@jdtdesigns what will solve this approach? my intention was to make a "live search" from the input data. it is normal to make 100 http calls for 100 keypressed. i have added that debounce="10" attribute to delay between key press time and reactivity time(when function is called)
Dinesh
@Dinesh9387
@dna113p yeah
@dna113p for some reason, style="float:right;" is not putting the about button at the top right corner
Akhil Kr.
@aj17kr
anybody please help regarding smooth scrolling
Matthew Boland
@mattboland
anyone here familiar with react have a moment to help?
andreas2249
@andreas2249
@mattboland, trying to learn react, myself. There is a dedicated room for react here: https://gitter.im/chat-rooms/reactjs
Matthew Boland
@mattboland
@andreas2249 appreciate it.
andreas2249
@andreas2249
:)
DJ Pelland
@dna113p
@Dinesh9387 sorry didn't see you rresponse. It looks like you maybe need to put a width on your topleft class in your css. You are containing your navigation in the div with class topleft... however, topleft width will just be as big as its contents unless you set the width.
@Dinesh9387 so you are setting your #about to float: right... but the right side of that parent div is exactly where your about button is at
@Dinesh9387 try adding width: 100% to .topleft
flindip
@flindip
Working on "Local weather app" I'm in the process of trying to implement geographic location api and insert the lat and lon values into the weather api. Am I on the right track?
$(document).ready(function() {
$.getJSON("http://ip-api.com/json/?callback=?", function(data) {
});
var getLocation=function(data){
var lat= data.lat;
var lon= data.lon;
}
$.getJson("api.openweathermap.org/data/2.5/weather?lat="+lat"&lon="+lon)

});
the last part of the code is what I am trying to make sure is inserting those values.
JD Tadlock
@jdtdesigns
@sorinr clear the debounce before starting the debounce
CamperBot
@camperbot
dinesh9387 sends brownie points to @dna113p :sparkles: :thumbsup: :sparkles:
:cookie: 329 | @dna113p |http://www.freecodecamp.com/dna113p
Dinesh
@Dinesh9387
@dna113p oh yeah... i DID NOT see that!!!! Thanks a lot dude :) it worked now :+1:
greg
@wearenotgroot
@flindip read about asynchronous functions
flindip
@flindip
@wearenotgroot Is my top function blocking the second one?
Sorin Ruse
@sorinr
@jdtdesigns do you know how vue.js reactivity is working? if yes just gimme a clue on how to clear an already triggered instance
greg
@wearenotgroot
@flindip to be able to get the values of lat and lon the second $.getJSON should be inside the callback function of the first one
Syahri Ramadhan
@SPMechanic
Hello, there.. can i get any help for my project?
Paul Borawski
@iAmNawa
@SPMechanic How can I help??
greg
@wearenotgroot
@flindip
$(document).ready(function() {
$.getJSON("http://ip-api.com/json/?callback=?", function(data) {

       $.getJSON("https://api.openweathermap.org/data/2.5/weather?lat="+data.lat+"&lon="+data.lon+"&APPID=....");
      });

});
flindip
@flindip

@wearenotgroot I gotcha. how about this:

$(document).ready(function() {
$.getJSON("http://ip-api.com/json/?callback=?", function(data) {
var getLocation=function(data){
var lat= data.lat;
var lon= data.lon;
}
$.getJson("api.openweathermap.org/data/2.5/weather?lat="+lat"&lon="+lon), function(data){

});

});

});

thanks

CamperBot
@camperbot
flindip sends brownie points to @wearenotgroot :sparkles: :thumbsup: :sparkles:
:star2: 1149 | @wearenotgroot |http://www.freecodecamp.com/wearenotgroot
JD Tadlock
@jdtdesigns
@sorinr Instead of using debounce, just use a setTimeout
greg
@wearenotgroot
@flindip also the recommended way of using $.getJSON
$.getJSON(url).done(callback).fail(errorCallback);
@flindip remember JSON part is all caps
Sorin Ruse
@sorinr
@jdtdesigns you mean to setTimeout on searchWiki? to delay the calls until for some interval no keyup event its comming up?
Syahri Ramadhan
@SPMechanic
@iAmNawa THis my codepen.: http://codepen.io/pen/

i just confused, how to centered <LI> element..what Bootstrap class that i must utilize? I hack my way to center the DIV element using css (got it from stack-overflow), but it not working for unordered list. :(
got my Bootstrap class reference from here: https://bootstrapcreative.com/resources/bootstrap-3-css-classes-index/

but i did not found any class suitable for my needs, i am just clueless...what did i miss?

JD Tadlock
@jdtdesigns
clearTimeout(window.delaySearch);

window.delaySearch = setTimeout(function() {
  // fire the search
}, 1200);
@sorinr
Paul Borawski
@iAmNawa
@SPMechanic You can probably write that whole page in just html and css
@SPMechanic That codepen you are sending is empty though
Syahri Ramadhan
@SPMechanic
@SPMechanic That codepen you are sending is empty though
ooh, sorry..here: http://codepen.io/ramadhan/pen/xOEmWy
@iAmNawa : here the codepen, still confuse using codepen itself...sorry, i am newbie: >> http://codepen.io/ramadhan/pen/xOEmWy
JD Tadlock
@jdtdesigns
@sorinr I'm trying to get you to figure out the logic on your own. Just think it through or write it out piece by piece then code it.