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
@max77p yes
add something like this:
border-left: 10px solid red;
ohh ok, thanks! had no idea! thought it was something wrong with my grid lines @AliciadW @azrulnaut
max77p sends brownie points to @aliciadw and @azrulnaut :sparkles: :thumbsup: :sparkles:
:star: 319 | @aliciadw | http://www.freecodecamp.com/aliciadw
:star: 280 | @azrulnaut | http://www.freecodecamp.com/azrulnaut
HI all. Could someone please have a look at my code and tell me why it doesn't work? Been at it for some time now so I might be missing something small or huge... http://codepen.io/AliciadW/pen/ONLQey?editors=1010
Gordon Davidescu
Hi all! I have tic tac toe nearly done. there's ONE weird problem. if a couple of moves are done, for some reason, the far right middle tile can't be clicked anymore for player move.
oops just found a reason
yup. I was accidentally reading square 6 from the square 4 data. :O
Andrew Perrin
hi all, have any of you completed the weather app challenge yet?
@mattxgreen late thank you for pointing the bug in my code
mierea sends brownie points to @mattxgreen :sparkles: :thumbsup: :sparkles:
:star: 51 | @mattxgreen | http://www.freecodecamp.com/mattxgreen
Bruce Young
@AliciadW you are using a Form and upon submit it causes a page reload. to fix it you can make it not do the default action
$("#wikiSearch").on("click", function(e) { e.preventDefault();
Thomas Honeyman
Hey guys! Weather app is nearly done, but I’m struggling with the order my functions are running in so I can display different temperatures to users when they click the buttons. Everything is working except for that. Any thoughts on this?
i am trying to create horizontal line in black under my container, but i can't seem to get it there can someone help please?
did you try <hr> @max77p ?
@dcjuju yes actually figured it out, you can't put color:black you have to do border-color:black
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #000;
margin: 1em 0;
padding: 0;
@max77p you can try to put background-color:black;
and a height:@1px; @max77p

like this @max77p


@dcjuju by putting display:block, then anything beside it would get pushed to next line right?
here try this
hr {
background-color: #123455;
try the last one :)
i think that would work :) @max77p
hr {
background-color: black;
I'm working on the wikipedia viewer. Could someone help me out with this error code:
XMLHttpRequest cannot load https://en.wikipedia.org/w/api.php?action=query&titles=jimi%20hendrix&prop=revisions&rvprop=content&format=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://s.codepen.io' is therefore not allowed access.
Oluwatobi Adeyinka
@Key-Banger i spent a whole day on that error
@Key-Banger make sure you include this in you api call: '&callback=?'
@tobex9434 ha ha ha I just got it, any clue?
@tobex9434 cool, I'll try that.
Buzz Tarek

Hey guys, I started on my first tribute page project. I'm trying to get the CSS style settings to work but it does not seem to be functioning like in freecodecamp challenges. Here's my code <style> .blue-text {
color: blue;


Oluwatobi Adeyinka
@Key-Banger it has something to do with cross domain requests you can read up on it https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
@tobex9434 Thanks! I'll check that out
key-banger sends brownie points to @tobex9434 :sparkles: :thumbsup: :sparkles:
:star: 300 | @tobex9434 | http://www.freecodecamp.com/tobex9434
Robert Richey

@saylu .replaceWith() removes the set of matched elements, and in their place, inserts new html content. In other words, the span with id temperature is removed from the dom and replaced with a literal Fahrenheit value. Use $('#temperature).text(tempFahrenheit); instead, preserving the span.

Also, the object temperatures is a local variable to the function displayCurrentWeather() and is not accessible outside the function. Even though the function is returning temperatures, this function is only being called once and there is no variable assignment to the return value. A simple fix would be to assign to temperatures the return value from calling displayCurrentWeather().

var temperatures; // global temperatures variable

// Create API URL
function locationCode() {
   // ... stuff ...
   $.getJSON(apiURL, function(data) {
      temperatures = displayCurrentWeather(data); // the data in temperatures is available to the rest of your app
What do you call a website feature that allows the user to input their own photos, paragraphs, etc. I would like to learn more about it. I understand how to develop it from a programming stand point, but I don't know what you call that from a users perspective. How would I as a developer create such an ability for a user? I hope that makes sense!
I want to make a blog template for a friend.
Why do they make the example for the projects so complicated is that realistically how we are supposed to be making them? They use a ton of stuff that isn't taught.