Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
@shkurata for some reason that worked, but if I just remove the whole if statement and just set btnName = this.id it doesn't work anymore.
ok now it's working...
@shkurata Thank you!
pwcsquared sends brownie points to @shkurata :sparkles: :thumbsup: :sparkles:
:star: 328 | @shkurata | http://www.freecodecamp.com/shkurata
Kartik Shah
@pprzytula Nothing of that sort happened when I tested it.
PS: Try using some other website for hosting your 'seflie' image. Pinterest works great for me. Your dropbox image ain't working.
Nikolay Neykov
@pwcsquared , I'm glad that I helped :)
Paweł Przytuła
@krtk6160 try to click twice on "my little portfolio" and then scroll down. link stays highlighted
Patrick Black
Anyone tell me why I can't get the api call to work?
Kartik Shah
@pprzytula Yes, I see it. It becomes normal once I click in the area outside of the navigation bar. Sorry, I've no idea what might be causing this, I'm a noob.
Frank XC
@Mortiferr why arent you using navigator.geolocation ?
Patrick Black
@tenkdayz that way users don't have to allow location use, I just use their ip
@tenkdayz More creepy, yes, but easier as far as the end user goes
@tenkdayz But that's not the issue. The issue is the weather API call doesn't seem to be working
Alex Coder
  function getLocation() {
    if ( navigator.geolocation ) {
      navigator.geolocation.getCurrentPosition( showPosition );
    } else {
        $("data").html("<h4> Geolocation is not supported by this browser. </h4>");
  }//getLocation() end    

function showPosition( position ) {
    $("data").html( "<h4>Latitude: " + position.coords.latitude + 
                "<br>Longitude: " + position.coords.longitude + "<h4>"; )
receive syntax error: missing ) after argument list
I am looking for some help with subtraction on the calculator app
sorry @pprzytula , I had logged out
I overhauled the entire thing, it was too messy having 3 columns
Paweł Przytuła
I've been thinking about flow around an image
in the middle
@jkid314159 what is $("data")? class or id or something else?
Can I get a push in the right direction with subtracting numbers
@jkid314159 and ; after <h4>
@jkid314159 remove ; after </h4> tag
Alex Coder
@Guru89 id
  <div id="data">
    <h4>You are here:</h4>
@jkid314159 then it should start with $("#data")
link me your code pen
Nikolay Neykov
People, I need some feedback
Alex Coder
@Guru89 in JSFiddle
was that to me @pprzytula ? "i've been thinking about flow around an image"
Paweł Przytuła
@Protsac yes, but doesn't matter anymore since you have redesigned all
yeah. I still need that though
I don't really know what I want anyway. I'm just fiddling around with the code and see whether I learn something from it lol
Paweł Przytuła
just like me
Alex Coder
@Guru89 thank you
@jkid314159 have found the solution as i don't anything wrong in ur code.
why isn't it centered? :|
css is so weird somethimes
Michael Karpinski
how can I make my canClick variable work so that I can only click after the animation plays? and how can I add audio? using audio.play() messes up my code
Robert Uivarosi
@Protsac tf is <!--- A partir daqui, quero separar em colunas: uma para a Mosca, outra para o texto, outra para o programa actual. Mas tem que parecer fluido.---> an html comment doing in your CSS ?
@Protsac everything within your style tags should go in the CSS section