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
Olawale Akinseye
@brainyfarm
:+1: @ngoyal100894
tommy
@tommygebru
soooo... Im doing weather project... does anyone know how to bind the openweather with these icons :heart: :heart: :heart:
https://erikflowers.github.io/weather-icons/api-list.html
Marcelo Henrique
@Marcelosilva10
hi gyus
Nguyễn Quốc Đại
@nqdai1992
hello
Nikhil Goyal
@ngoyal100894

Hi

 var temp = forcast.main.temp;
      var main = forcast.weather[0].main;
      var description = forcast.weather[0].description;
      $("#weather").html(description);
      console.log(main);

Just saw this code somewhere can somebody explain why we have used console.log(main) here .. main contains an array

Nguyễn Quốc Đại
@nqdai1992
i'm trying use geolocation
and I want to extract data form it
but I can't
anybody can help me
kirbyedy
@kirbyedy
@ngoyal100894 the console.log calls this line: var main = forcast.weather[0].main;
Nguyễn Quốc Đại
@nqdai1992
thanks
Nikhil Goyal
@ngoyal100894
nqdai1992 . . i did this using another API ..
http://ip-api.com/json
thanx @kirbyedy
CamperBot
@camperbot
ngoyal100894 sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star2: 1099 | @kirbyedy |http://www.freecodecamp.com/kirbyedy
Nguyễn Quốc Đại
@nqdai1992
owa thanks @ngoyal100894
CamperBot
@camperbot
:cookie: 192 | @ngoyal100894 |http://www.freecodecamp.com/ngoyal100894
nqdai1992 sends brownie points to @ngoyal100894 :sparkles: :thumbsup: :sparkles:
Aata-allah
@Atalaa
Hello everyone, i have a question please. I finished my tribute page in front en development project.
But in the laptop is perfect but when i check it on my mobile cell, some picture are there but some not. i dont know why ?
Jonathan
@JonKaric
Can you show us the code?
Nikhil Goyal
@ngoyal100894
Hello everyone ..while running my code I get this error on my browser console
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
and it says its on
jquery.min.js:4
I am working on my weather app
How am I possibly be able to change the file jquery.min.js
Jonathan
@JonKaric
Try running the site in incognito mode
Nikhil Goyal
@ngoyal100894
Its still same
Vinay Jaju
@vinay-jaju
codepen link @ngoyal100894
?
Nikhil Goyal
@ngoyal100894
the code contains requests from two APIs .. one is for my geolocation the other is for whether update
wait @vinay-jaju just a sec
Vinay Jaju
@vinay-jaju
@ngoyal100894 You have a typo in your api link. you have api.www.open... It should be api.openwea...
Nikhil Goyal
@ngoyal100894
let me check
Ethan Rose
@ethanrose
Hey Y'all this is driving me crazy, why do I have an unexpected end of input??
//twitterButton
$(".twitterButton").click(function() {
var currentQuote = $("#quoteText").text();
var currentAuthor = $("#quoteAuthor").text();
openURL("https://twitter.com/intent/tweet?text=" + encodeURIComponent('""' + currentQuote + '""   ' + currentAuthor));
});
my function openURL was already defined earlier
OMG nevermind.. I forgot to close the bracket for openURL
Nikhil Goyal
@ngoyal100894
@vinay-jaju yeah i corrected it but error still remains the same
try it out
Ethan Rose
@ethanrose
sorry.. thanks guys
Nikhil Goyal
@ngoyal100894
okay got it .. I did it wrong again .. A day at code and your mind goes off in normal stuff .. lol
thanx @vinay-jaju
CamperBot
@camperbot
ngoyal100894 sends brownie points to @vinay-jaju :sparkles: :thumbsup: :sparkles:
:cookie: 286 | @vinay-jaju |http://www.freecodecamp.com/vinay-jaju
Nikhil Goyal
@ngoyal100894
Does anyone know how to use math functions in javascript
how to include a math library
buckshot307
@buckshot307
@ngoyal100894 regular math functions should already work
which functions are you trying to use?
Karolina Kluz
@karolinaKluz
buckshot307
@buckshot307
@karolinaKluz Ooh that's neat, thanks for the link!
CamperBot
@camperbot
buckshot307 sends brownie points to @karolinakluz :sparkles: :thumbsup: :sparkles:
:cookie: 181 | @karolinakluz |http://www.freecodecamp.com/karolinakluz