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
Matt Le Fleur
"${availableCars[currentCar].img || "imgs/cars/Skoda-Fabia-1.4.jpg"}"
try changing that to
"${availableCars[currentCar].img || 'imgs/cars/Skoda-Fabia-1.4.jpg'}"
how can i upload a photo from my laptop?scr="file://C:\Users\lanxin\Desktop.untitled.png"
Santiago Fernandez
tinypic.com @limenqingzhuanshen
Hey guys, just a quick question for those who have done the tribute page. I don't seem to remember much of the syntax reviewed in the past up to this point, I could go back an check a few things covered, and it will be a refresher, but I guess my question is--how many of you had to do that? Is it normal for one to do the aforementioned due to not remembering?
Hi all, I am working on the "Build a Random Quote Machine" and the page I created works fine from a browser but from codepen, the twitter button is not showing up.
I am using a block of JavaScript code from twitter site to add tweet button which includes js.src = "https://platform.twitter.com/widgets.js";
I think that's where the problem is with codepen... I tried using this in JavaScript, or adding it as an external JavaScript from setting, but it doesn't show the tweet button at all from codepen
@JoseBarakat yep it works. Thanks :+1: but I guess I'll resort to jsonp anyway, It's a bit slow and I don't like to add external dependencies. It may break in the future.
fhdhsni sends brownie points to @josebarakat :sparkles: :thumbsup: :sparkles:
:cookie: 342 | @josebarakat |http://www.freecodecamp.com/josebarakat
@Haruhiism All the time. I'm doing intermediate projects and have the same problem. Let's say it's not a problem ;)
Does anyone have an idea of how to make the tweet button visible in codepen?
@fhdhsni Gotcha. Just needed someone to validate my worries, I guess!
Jason Luboff
@kalamnuri did you "load" javascript in Codepen? (In the JS box, click the gear for the settings and quick-add the appropriate JS framework)?
yes, I tried that as well

Here is the complete snippet I am using from twitter in my JavaScript
window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
//js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);

t._e = [];
t.ready = function(f) {

return t;
}(document, "script", "twitter-wjs"));

I tried using js.src = "https://platform.twitter.com/widgets.js" in code directly and then commenting it out and adding https://platform.twitter.com/widgets.js in setting as external JavaScript
Jose Barakat
@kalamnuri take a look at this pen https://codepen.io/alistairtweedie/pen/JlFnq
great..... thank you Jose Barakat... I'll give it a try
Jose Barakat
:+1: :smile:
@kalamnuri if you are adamant on using twitters own tweet button then you need to use this on your js https://dev.twitter.com/web/tweet-button/javascript-create. you need to replace the old button with a new one with the updated text inside it
Stuart Taylor
Can anyone help me with my tic-tac-toe game?
Stacey Landrum
how do I make a white (or other color) background that fills the whole navbar? when I try it it only does the right or left side http://codepen.io/staceyland/full/ZpBdoX/
.navbar-fixed-top {
  background-color: white;
@staceyland ^
JD Tadlock

@staceyland First you need to remove all of this from your html:

<title>Stacey's Portfolio</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Yatra One">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">


Then add bootstrap, font-awesome in Settings->CSS. Next add jQuery in Settings->js. The quick add drop down menu is useful.
Add this to your css and you're good:

.navbar-fixed-top {
  background-color: white;
I know it's a broad question to ask, but how do you guys do unit testing when it involves DOM?
JD Tadlock
@fhdhsni Basically you test your functionality step by step to make sure it works. It becomes second nature with dynamic websites, due to the data being manipulated through functionality and not statically coded.
Janina Pohorecki
Can someone please help me recreate the snapped until scrolled aspect of this website? http://melaniedaveid.com/
For example, the work part.
How you have the right hand scrolling while the left side is fixed temporarly
Are there some folks here that have experience with fornt end development for drupal? I just started as front end drupal developer and am doing some courses on it. Would bee nice to hear there are more working with drupal :)
Suzanne Atkinson
good afternoon campers!
@janepohorecka that's a good find
@AdventureBear hello Suzanne do you speak dutch?
Suzanne Atkinson
@MichielHuijse no I don't, why do you ask?
Hi guys. I haz a lil css question.
Suzanne becuase, it is a common name in dutch.
Is there a way to make one border side more dominant that the other? I currently have a mockup where there is a gray top border and an orange left border. They have different properties, but it seems like the left side is overlaying on the top side.
But I want to the top side to be the dominant one that crosses.
Screen Shot 2016-09-26 at 2.50.20 PM.png
Is there any CSS (only) that can make the border-top dominant? I currently have border-top as the second CSS element hoping it would override the border-left.
Suzanne Atkinson
@MichielHuijse oh, that's nice. I like my name...fits many cultures.
I lived in germany for a semester, and everyone thought I was Dutch because I did not sound American.
I thought that was a great compliment
@AdventureBear dutch above germans?? Haha lol
Suzanne Atkinson
@MichielHuijse no, that the germans thought I was not american because my pronunciation was that good! I could read enough Dutch to get around as a tourist