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
Matt K
@MattKim22
any feedback would be appreciated
Pedro
@pvale94
@SkyCoder01 Oh! I see what you did. It worked! \o/
thanks m8 :b
Now I have to figure out how to get only small quotes. It's not nice to hide/show button based on quotes lengths :\
vínαч puppαl
@vinaypuppal
@pvale94 did ' converted to ' again in tweet ?? what did i miss in my answer
Pedro
@pvale94
if (($('#quote').text().length) > 140) { $("#tweet-quote").hide(); } else { $("#tweet-quote").show(); $('#tweet-quote').attr('href', 'https://twitter.com/intent/tweet?text=' + encodeURIComponent($('#quote').text())); }
this
ops
 if (($('#quote').text().length) > 140) {
      $("#tweet-quote").hide();
    } else {
      $("#tweet-quote").show();
      $('#tweet-quote').attr('href', 'https://twitter.com/intent/tweet?text=' + encodeURIComponent($('#quote').text()));
    }
^
Gulsvi
@gulsvi
@pvale94 You would have to put your getJSON in its own function and call that function again if the quote is longer than 140
vínαч puppαl
@vinaypuppal
@pvale94 i though you were passing text variable which contains quote. Here text replaced by $('#quote').text(). Did u not pull quote in to text variable. like ??
var text = $('#quote').text()
Pedro
@pvale94
nope :(
Gulsvi
@gulsvi
pseudocode would be:
  function getNewQuote() {
    // getJSON to get the quote

    if (quote.length > 140) {
      getNewQuote();
      return;
    }
  }
vínαч puppαl
@vinaypuppal
@pvale94 :worried: , np anyway it got solved :smile:
Pedro
@pvale94
@SkyCoder01 ooh
ill try it
@vinaypuppal yeah \o/
Gulsvi
@gulsvi
You're making me want to do that now lol, I just tweet it out without worrying about the length
Jaime
@jmasked
Can someone help me with animating my progress bars with jQuery? http://codepen.io/jmasked/pen/RKYXNG
joopt
@joopt
can anyone help me
[Object {
  description: "broken clouds",
  icon: "04n",
  id: 803,
  main: "Clouds"
}]
trying to add the icon property
i do data.weather and it gives me that but if i do data.weather.icon it gives me undefined
Tyler Moeller
@TylerMoeller

@jmasked Here's one way, using your last progress bar as an example. Change your initial width to 0% in your HTML:

  <div class="progress-bar3" role="progressbar" aria-valuenow="0"
  aria-valuemin="0" aria-valuemax="100" style="width:0%">
    85%
  </div>

Add a transition to your CSS:

.progress-bar3 {
  background-color: #d0157b;
  transition: width 2s;
}

And then change the width on document.ready:

$(document).ready(function() {
  $('.progress-bar3').css('width', '85%')
});
@joopt As a hint, data.weather is an array []
Jaime
@jmasked
@TylerMoeller Thank you! Going to try that now
CamperBot
@camperbot
:star2: 1473 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
jmasked sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
Jean Marco Romero
@volkranium
why is my menu dropping over my navbar when on narrow vp? http://pastebin.com/DZKnQuXG
Sam Griffen
@ssgriffen
PLEASE can anyone tell me why my embedded pens arent working on mobile browsers? http://codepen.io/ssgriffen/pen/yJKRxj
@TylerMoeller calling you out for help
Tyler Moeller
@TylerMoeller
@ssgriffen What do you mean by not working? I can take a closer look when I finish looking at volkranium's navbar
Sam Griffen
@ssgriffen
@TylerMoeller thanks
CamperBot
@camperbot
ssgriffen sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1474 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
Sam Griffen
@ssgriffen
@TylerMoeller Basically on desktop everything checks out good.
@TylerMoeller On mobile the pens appear and stuff but if you click on any of them instead of loading the pen you get thrown to the top of the screen as if its a link to the top of the page...
Tyler Moeller
@TylerMoeller
@volkranium Change <div class="nav-header"> to <div class="navbar-header">
@ssgriffen You should only have to load that script once, put it at the very end of your HTML, right before the closing </body> tag.
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
Jean Marco Romero
@volkranium
@TylerMoeller it worked , thanks for your help again
CamperBot
@camperbot
volkranium sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1475 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
Tyler Moeller
@TylerMoeller
See if that helps - not familiar with the issue though to be honest.
No problem, happy to help @volkranium
Sam Griffen
@ssgriffen
@TylerMoeller Okay did that, problem still not solved, I've confirmed it works on chrome mobile from iphone
@TylerMoeller works on chrome mobile for android and iOS, do you know if Safari supports codepen embeds...
Tyler Moeller
@TylerMoeller
Hmmm, I don't know and debugging on mobile browsers is a pain :( @ssgriffen
Sam Griffen
@ssgriffen
@TylerMoeller fml, okay thanks anyway
CamperBot
@camperbot
ssgriffen sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles: