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
CamperBot
@camperbot
:cookie: 265 | @admiraltaylor |http://www.freecodecamp.com/admiraltaylor
jacobus-brogly
@jacobus-brogly
Joe
@JFSene
Hello everyone, i need help with moving and img to the center of the jumbotron.
a img*
Harry Adel
@harryadel
@JFSene How about using "center-block"?
as long as you are using Bootstrap ofc
It's a class btw so don't forget to add a dot before it
Why can't the code on line 39 in the JavaScript tab get called?
Joe
@JFSene
@Harry97 Thank you man!!
CamperBot
@camperbot
jfsene sends brownie points to @harry97 :sparkles: :thumbsup: :sparkles:
:warning: could not find receiver for harry97
Harry Adel
@harryadel
@JFSene Glad it worked for ya! :D
Ivan
@gonzalezi2
Hey guys I'm having trouble with the Random Quote Generator. I've completed everything except the twitter integration. I cannot get the quote to append to the href attribute of the Tweet button.
var newTweetText = "https://twitter.com/intent/tweet?text=" + encodeURI("\" " + randomQuote.quote + "\"" + " -" + randomQuote.author);
document.getElementById("tweetText").setAttribute("href", newTweetText);
This is the trouble area.
Harry Adel
@harryadel
When I press the "Tweet" button I don't get any reaction
Try adding target="_blank" to your <a> element
in order for it to open a new tab
Ivan
@gonzalezi2
I get a popup. It's not supposed to open a new tab.
Harry Adel
@harryadel
Then, what are your intending to do with that button?
Chandice
@Cookcha
Hey everyone, can I get some feedback?
http://codepen.io/Cookcha/full/PzaRpb/
Harry Adel
@harryadel
@Cookcha Great Job!
Ivan
@gonzalezi2
@Harry97 The project requires that I share the quote that is generated. The text that is shared on twitter is inside of the href attribute. I'm trying to change the href value to include the quote that is generated when you press "Generate"
Harry Adel
@harryadel
I really like what you did with the nav bar
and more specifically the social media icons
really nice
Chandice
@Cookcha
@Harry97 :D Thanks! I was afraid it was too plain.
vínαч puppαl
@vinaypuppal
@gonzalezi2 since you are using twitter sdk for that button, an iframe is generated, so u cant access #tweetText link using JS
CamperBot
@camperbot
cookcha sends brownie points to @harry97 :sparkles: :thumbsup: :sparkles:
:warning: could not find receiver for harry97
Harry Adel
@harryadel
@Cookcha No, it was really nice
vínαч puppαl
@vinaypuppal
@gonzalezi2 so initial hello world is show whenever that button is clicked
Harry Adel
@harryadel
you can even make it better by making it scroll upwards instead of jumping right away
and there's this one thing which I'm not sure if it's just me but when I resize the window the images don't seem perfectly centered
they are positioned slightly to the right, I suppose
Ivan
@gonzalezi2
@vinaypuppal except I was able to change the href attribute to static text. Just can
can
can't use a variable
Chandice
@Cookcha
@Harry97 Yes, I tried the scrolling bit with js but it didn't want to work properly, I don't know enough about it to figure out why yet. I just thought I'd add that later once I got a bit more knowledge of the code. As far as the images you're right, I'm not sure why they are doing that... I'm going to try vertically aligning them because text align did nothing apparently... I'm not really sure why. I'm using bootstrap for them so I'm not sure why they aren't doing what they should.
Ajay Tanwar
@ajayt365
@sorinr you are saying that 'a' does not have white color from '.btn' class as it has its own color ?
Ivan
@gonzalezi2
@vinaypuppal That is a different link they're using though. They're changing the data-text attribute and using the <a href="http://twitter.com/share" class="twitter-share-button" data-text="">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> link for the button which is different than mine.
vínαч puppαl
@vinaypuppal
@gonzalezi2 since you added a class twitter-share-button to #tweetText it will be replaced by iframe
Ivan
@gonzalezi2
And like I said, I am able to change the link to static text
ah yes you're right. Just looked at the console
Is it possible to make my own button and not use theirs but keep the same function?
vínαч puppαl
@vinaypuppal
@gonzalezi2 yes u need to write a work around like this http://jsfiddle.net/chris27/DQw5b/4/
@gonzalezi2 yes u can use u r own btn also