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
Nate Mallison
@NJM8
receive json
make button
HerbiScript
@HerbiScript
ahh I see
Nate Mallison
@NJM8
does that make sense?
HerbiScript
@HerbiScript
So youre saying I need to mess with the button inside of the getJSON call?
Eric Weiss
@eweiss17
well you need to 100% make sure it is created before you can mess with it
Nate Mallison
@NJM8
Nope, change it after the call!
HerbiScript
@HerbiScript
It is made, I have everything working fine. My last user story I need to add is the button that transfers it to Fahrenheit and vic versa
Nate Mallison
@NJM8
checkout .done() about halfway down the page
Eric Weiss
@eweiss17
make an event if the button is clicked?
Nate Mallison
@NJM8
so you'll do
$getJson(
  getMyInfo)
.done(
  gotMyInfo so I can use it);
more or less
that may not work if you copy it. :smile:
HerbiScript
@HerbiScript
hmm ok I think I see what you're getting at. I'll be back if I can't figure it out with all the new info. Thanks for the guidance @NJM8 and @eweiss17 : )
CamperBot
@camperbot
herbiscript sends brownie points to @njm8 and @eweiss17 :sparkles: :thumbsup: :sparkles:
api offline
:cookie: 613 | @eweiss17 |http://www.freecodecamp.org/eweiss17
Eric Weiss
@eweiss17
look here
that is what he was talking about with .done
Nate Mallison
@NJM8
man I got gipped on some points
lol
Eric Weiss
@eweiss17
how good you are as a dev is proportional to how many points you have
Nate Mallison
@NJM8
:worried: I have a ways to go
Eric Weiss
@eweiss17
there are people in the main fcc channel that have like 2k-3k points
Ravishasthri
@ravi6112

function getLength(str) {
"use strict";

// change code below this line
var leng = {length:str.length};
const {length:len} =leng ;
// change this
// change code above this line

return len; // you must assign length to len in line

}

console.log(getLength('FreeCodeCamp'));

what is the wrong in this code
its not working

function getLength(str) {
"use strict";

// change code below this line
var leng = {length:str.length};
const {length:len} =leng ;
// change this
// change code above this line

return len; // you must assign length to len in line

}

console.log(getLength('FreeCodeCamp'));

ES6: Use Destructuring Assignment to Assign Variables from Objects
Aditya
@ezioda004
@ravi6112 You dont need another variable, the expression on RHS is treated as an object, so you can just do const {length:len} = str; which will evaluate to const len = str.length
Dušan Todorović
@krckyboy
I need to find photos of specific car models. Any suggestions for source of free photos of those kind?
h1tag
@h1tag
@krckyboy try pixabay
grelon
@grelon

Hi all, I'm having trouble positioning divs within a flex container. I want the two divs on top of each other, but they keep appearing inline. Can anyone tell my why, and how I can fix it?

My codepen

what I want:
. . .
. i .
. l .
. . .

what I currently have:
. . . .
. i l .
. . . .

If anything is unclear about my question, please ask to clarify.

Teo
@Teo03
Can someone take a look here: https://github.com/Teo03/game_of_life .
I'am getting this error: Uncaught TypeError: Cannot read property 'grid' of undefined Please help!
Stephen James
@sjames1958gm
@Teo03 Do you have a line number where that error is produced?
@Teo03 If it is in your select function - then it is probably because your variable is wrong.
@Teo03 <Grid grid = {this.state.grid} cols = {this.cols} rows = {this.rows} select={this.select.bind(this)}/>
mustimuu
@mustimuu
Hello guys

How do i create a child theme on a wordpress theme?

If the developer sends a update everything will be deleted

Suyash
@pstrings
Why the text coming below the image and not side by side?
<div class = "row">
<div class = "col-xs-6">
<div class = "well" id = "left-well">
<img class = "center" src = "https://cdn.europosters.eu/image/750/posters/michael-jackson-king-of-pop-i11251.jpg" alt = "King of Pop">
</div>
</div>
<div class = "col-xs-6">
<div class = "well" id = "right-well">
<p class = "text-center">Michael Joseph Jackson (August 29, 1958 – June 25, 2009) was an American singer, songwriter, actor, philanthropist, and dancer. Dubbed the "King of Pop", he was one of the most popular entertainers in the world, and was the best-selling music artist during the year of his death</p>
This message was deleted
Stephen James
@sjames1958gm
@grelon Try using
flex-direction: column;
@pstrings Do you have a link to this ?
grelon
@grelon
@sjames1958gm Thanks man! Totally worked. I'll start researching why now :p
CamperBot
@camperbot
grelon sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 9053 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Stephen James
@sjames1958gm
@grelon :+1:
Suyash
@pstrings