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
greg
@wearenotgroot
@dshgna you can get the icon name
@dshgna from the data you received

@dshgna then jsut append the url -------->http://openweathermap.org/img/w/'+iconname+'.png'

use this as source in <img scr=>

Dulshani Gunawardhana
@dshgna
@wearenotgroot yes that's what I meant :)
OWM = open weather map
thanks a lot anyway @wearenotgroot :)
CamperBot
@camperbot
dshgna sends brownie points to @wearenotgroot :sparkles: :thumbsup: :sparkles:
:warning: dshgna already gave wearenotgroot points
greg
@wearenotgroot
@dshgna yes i get the context :smile:
Dulshani Gunawardhana
@dshgna
hopefully I'll be able to finish this soon!
greg
@wearenotgroot
@dshgna btw the icon name is inside the weaher property, just an fyi the weather contains an array
Dulshani Gunawardhana
@dshgna
yes, got it :) that was a bit confusing , figuring out the array
greg
@wearenotgroot
@dshgna yep it was because on some area they have weird weather :smile:
@dshgna so the main weather is at index 0
Dulshani Gunawardhana
@dshgna
oh...like two different types of weather :O?
that's funny
greg
@wearenotgroot
@dshgna other than that additional weather conditions are at index after
@dshgna it's mostly fog and mist mixed in the main weather condtions
Dulshani Gunawardhana
@dshgna
@wearenotgroot ah I see. so at which project are you now at?
greg
@wearenotgroot
@dshgna Iam at tic tac toe and simon game
@dshgna not in a rush though :smile:
@dshgna also i just do what i feel like doing :smile:
Dulshani Gunawardhana
@dshgna
@wearenotgroot both of them look rather complicated at first glance
greg
@wearenotgroot
@dshgna well it's just designing your own logic for the game that is the tricky part
Dulshani Gunawardhana
@dshgna
@wearenotgroot what about ui?
greg
@wearenotgroot
@dshgna well if you already made it this far, that part is not that difficult
@dshgna and it's your choice to make it fancy or not :smile:
Dulshani Gunawardhana
@dshgna
@wearenotgroot haha I really lack the patience for ui :(
greg
@wearenotgroot
@dshgna well ui is an art on its own
Dulshani Gunawardhana
@dshgna
@wearenotgroot indeed :)
Jack Lyons
@JackEdwardLyons
hey guys, im soooooo close to finishing my clock, but I just have a problem when the clock hits 0... it counts back to 59:59
any ideas?
greg
@wearenotgroot
@JackEdwardLyons yep
@JackEdwardLyons the -1
@JackEdwardLyons `
function countDownFrom(seconds) {

  if (playing) {
    if (seconds > -1) {  //<-----------------culprit should be 0
      setTimeout(function() {
        counterValue = countDownFrom(seconds = seconds - 1)
        renderTime(seconds);
      }, 1000);
    } else {
      playing = false;
      seconds = 0;
    }
  }

  return seconds;

}
Tony Miri
@TonyMiri
Hey everybody. Does anyone have any recommendations for some Android apps that would allow a person to code html/css/javascript in a easy way. Something like CodePen for mobile? Or at least something where you can preview your work?
kirbyedy
@kirbyedy
good question, never heard of anything like that :)
personally for me, coding on the smartphone would be a nightmare
Andrew Vanboxel
@avanbox
you guys ever experience where your brain refuses to cooperate when your trying to solve a problem?
kirbyedy
@kirbyedy
mhm... every third day
take a break
Andrew Vanboxel
@avanbox
Im going to when this project is done. Super close on my calculator, just a bug I am having a brain block about lol
Tony Miri
@TonyMiri
I have to spend a lot of time away from my pc during regular work hours, but while I'm working I have downtime. Sometimes I'll sit and do nothing for up to 3 hours. Thought it would be a good use of time to get some coding in. I guess I'll be the Guinea pig and let you guys know what I find.
Andrew Vanboxel
@avanbox
if codepen works in a mobile browser, youd just need a bluetooth keyboard or something
h4r1m4u
@h4r1m4u
@FatTone225 @avanbox yeah, the codepen editor is optimized for mobile. why not use that?
Tony Miri
@TonyMiri
@h4r1m4u I probably will. Hoping it has some kind of keyboard shortcuts for mobile
@h4r1m4u Thanks for the link!
CamperBot
@camperbot
fattone225 sends brownie points to @h4r1m4u :sparkles: :thumbsup: :sparkles:
:star: 1424 | @h4r1m4u | http://www.freecodecamp.com/h4r1m4u