Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
Sorin Ruse
@sorinr
@alpox i have a macmini and a macbook both 2007 that are now two museum pieces in my house for charging/batteries purposes. just investing in that to make them work again will cost me like a new decent laptop. so BYE BYE to them :)
Shivank Sharma
@shivanksharma91
@oppiniated can you see it now?
Tyler Moeller
@TylerMoeller
@srichakradhar The .animate() method is working fine, your CSS is not. You'll want to use absolute positioning to move things with left and right. Try to get that working first. After that, you need to check which box is on the left/right before moving them in your JavaScript.
alpox
@alpox
@sorinr Yea thats another thing which is really bad about mac stuff... it all needs its own stuff and all its own stuff is expensive as hell
I'll never buy apple stuff again
Shivank Sharma
@shivanksharma91
@TylerMoeller on using absolute postion all boxes stack over each other :worried:
Tyler Moeller
@TylerMoeller
@shivanksharma91 Yes, with absolute positioning, elements need to be positioned manually. You may want to go through this tutorial to understand it better: http://www.w3schools.com/css/css_positioning.asp
^^ hope that helps get you on the right track at figuring out the CSS requirements
abhijith shenoy
@shenoyabhijith
how to add twitter share button to random quote generator
Megan
@megan32
@shenoyabhijith we were just talking about this. I think there are a few ways to do it. Check out jQuery window.open
abhijith shenoy
@shenoyabhijith
window.open?
Megan
@megan32
but also check out the jQuery link, you might need it too
abhijith shenoy
@shenoyabhijith
i wanna propulate the tweets
and just tweet the quotes out
i dont wanna just open the site
Megan
@megan32
oh so that the quote automatically generates in the twitter window?
abhijith shenoy
@shenoyabhijith
ya
window open is same as that of <a> anchor tag
Megan
@megan32
yeah, so you need to add the link to twitter and then the $() for your text...like this: 'https://twitter.com/intent/tweet?text=' + $("h3").html());
I'm sure someone can explain it more eloquently (haha js pun..anyone?), but that's the quick answer
Alexeggers
@Alexeggers
Hey guys, does anyone here have experience with flexbox? I am trying to force some flex-items to shrink, but they don't http://codepen.io/alexandereggers/pen/BpjLxP
abhijith shenoy
@shenoyabhijith
text wrapped in h3 @megan32
?
Megan
@megan32
sorry, just an example. My tweets for example are in <h3> tags so to get them for twitter I used $(h3), but as I understand it this could be a variety of other things
abhijith shenoy
@shenoyabhijith
okay
im pretty clear with the concept
but here by quotes appear dynamically from the api
i need to make button also
Megan
@megan32
oh, I did not do an api...you are officially outside my realm of knowledge. I don't want to steer you wrong, sorry :-(
Alexeggers
@Alexeggers
@shenoyabhijith You are trying to fill your quote element with a quote from an api?
abhijith shenoy
@shenoyabhijith
yes
ill share a link to codepen
Alfian Akmal Hanantio
@amalhanaja
Hello
How to add a Header to getJSON ?
MaxLAB
@Max-LAB
@amalhanaja Hello
Alexeggers
@Alexeggers
@shenoyabhijith Not sure how that works, I didnt you Jquery to get an api but instead saved the json in an object and then always took from that what I needed
MaxLAB
@Max-LAB
@amalhanaja is it posible for you to use $.ajax
Alexeggers
@Alexeggers
@shenoyabhijith do you know the structure of the json object that is returned?
Sorin Ruse
@sorinr
@shivanksharma91 this is what you want ?
Alfian Akmal Hanantio
@amalhanaja
@Max-LAB thanks man!
abhijith shenoy
@shenoyabhijith
api returns quotes
Alfian Akmal Hanantio
@amalhanaja
@Max-LAB thanks
abhijith shenoy
@shenoyabhijith
check the codepen
CamperBot
@camperbot
amalhanaja sends brownie points to @max-lab :sparkles: :thumbsup: :sparkles:
:cookie: 280 | @max-lab |http://www.freecodecamp.com/max-lab
Alfian Akmal Hanantio
@amalhanaja
@shenoyabhijith thanks