19th
Aug 2017
Tyler Furby
@tyler-furby
Aug 19 2017 00:49
Question… Every test case works except in this last test case, I should get the output `[1, "calf", 3, "piglet", 7, "filly”]` instead I’m getting `[3, 7, “calf", “filly", “piglet"]` (I’m missing the 1)
``````// CHALLENGE: DIFF TWO ARRAYS
function diffArray(arr1, arr2) {
var newArr = arr1.concat(arr2);
// Same, same; but different.
newArr.sort();
for (var i = 1; i < newArr.length; i++) {
}
for (var j = 0; j < removedSameNumsArr.length; j++) {
if (arr1.length == 0) {
} else if (arr2.length == 0) {
}
}
}
}

diffArray([1, "calf", 3, "piglet"], [7, "filly"]);``````
Why is this?
korzo
@korzo
Aug 19 2017 00:56
@tyler-furby You made it very complicated.
newArr.sort(); does nothing
You should filter the same elements from each array and then concat the result
Tyler Furby
@tyler-furby
Aug 19 2017 01:00
Oops sorry, that `newArr.sort();` was meant for a function I had previously
@korzo Thanks, that’s so much simpler than what I did haha
CamperBot
@camperbot
Aug 19 2017 01:00
tyler-furby sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
korzo
@korzo
Aug 19 2017 01:01
@tyler-furby You can make it in 3 lines or even turn it into one-liner
Tyler Furby
@tyler-furby
Aug 19 2017 01:05
Oh I pray the programming lords will forgive me @korzo
``````function diffArray(arr1, arr2) {
// Same, same; but different.
var filter = arr1.filter(function(e){return this.indexOf(e)<0;},arr2);
var filter2 = arr2.filter(function(e){return this.indexOf(e)<0;}, arr1);
return filter.concat(filter2);
}``````
korzo
@korzo
Aug 19 2017 01:07
@tyler-furby great :+1:
@tyler-furby and you can even chain it and return directly without assigning to variable
Tyler Furby
@tyler-furby
Aug 19 2017 01:09
I could, but wouldn’t that limit readability @korzo
korzo
@korzo
Aug 19 2017 01:12
@tyler-furby That's a good point.
But at least you can return from line 4 without limiting readability
`return arr2.filter(function(e){return this.indexOf(e)<0;}, arr1).concat(filter);`
Tyler Furby
@tyler-furby
Aug 19 2017 01:14
Hmm okay, I do like that a little better, thanks once again @korzo
CamperBot
@camperbot
Aug 19 2017 01:14
tyler-furby sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
:warning: tyler-furby already gave korzo points
Gulsvi
@gulsvi
Aug 19 2017 01:17
This looks nice too, IMO:
``````function diffArray(arr1, arr2) {
const compare = (arr1, arr2) => arr1.filter(val => !arr2.includes(val));
return compare(arr1, arr2).concat(compare(arr2, arr1));
}``````
Better than my original anyway
``````function diffArray(arr1, arr2) {
return arr1.filter(val => !arr2.includes(val)).concat(arr2.filter(val => !arr1.includes(val)));
}``````
korzo
@korzo
Aug 19 2017 01:38
@SkyC0der
``````function diffArray(arr1, arr2) {
return [].concat(
arr2.filter((el) => !arr1.includes(el)),
arr1.filter((el) => !arr2.includes(el))
);
}``````
Gulsvi
@gulsvi
Aug 19 2017 01:40
That's pretty :p nice work @korzo!!
korzo
@korzo
Aug 19 2017 01:46
@SkyC0der I personally find arrow functions very hard to read so I'm trying to keep it as simple as possible
Eric Miller
@ericmiller777
Aug 19 2017 03:48
Hello
Sam Goldberg
@sgoldber61
Aug 19 2017 04:59
I'm having a syntax confusion in React JSX. I want to have an html element <th>&#35;</th> with just a pound sign but it doesn't seem to be working.
Aug 19 2017 05:14
hey everyone
jst finished my weather app
plz take a look and suggest any changes i should make
Sam Goldberg
@sgoldber61
Aug 19 2017 05:28
@prakashyadav008 upon a quick look, looks quite good. You just might want to tidy up your code. You should be able to use some sort of JavaScript object rather than a bunch of if else sections in the middle of your code.
i.e. lines 58-90 in your code are too redundant and violate the "don't repeat yourself" principle. But otherwise, it app itself visually looks quite nice.
Aug 19 2017 05:30
@sgoldber61 thanks
CamperBot
@camperbot
Aug 19 2017 05:30
prakashyadav008 sends brownie points to @sgoldber61 :sparkles: :thumbsup: :sparkles:
Sam Goldberg
@sgoldber61
Aug 19 2017 05:31
np
Aug 19 2017 05:31
ya those lines are repetative i need to find another way to tidy up
how do u suggest i use objects for it
.?
Joseph
@revisualize
Aug 19 2017 05:32
Hi.
Aug 19 2017 05:32
and i was having some issues with the positioning of elements in the header as well
@sgoldber61
Sam Goldberg
@sgoldber61
Aug 19 2017 05:34
well, a few things regarding cleaning up lines 58-90. first, you should have all the image urls pre-stored in an object, with keys being the weather summaries.
also, the object should have which skycon you are gonna use, given the weather summary.
with that, you should be able to write things in one fell swoop without if/else statements
Sam Goldberg
@sgoldber61
Aug 19 2017 05:41

for example, something vaguely like this

``````var weatherData = {};
weatherData.haze = {urlString: foo, icon: "rain"};
weatherData.clouds = {urlString: foo, icon: "cloudy"};
// put what you want for every weather summary possibility``````

etc.
then...

``````var weather = weatherSummary.toLowerCase();
\$(".body").css("background-image", weatherData[weather]);
document.getElementById("icons").innerHTML = '<canvas id="fog" width=100 height=100></canvas>';
icons.set(weatherData[weather]);``````

and no if/else statements are needed.

Aug 19 2017 05:42
but i need to call the weather api then i get the weather summary then i can store it in the object right
ohh cool @sgoldber61
Sam Goldberg
@sgoldber61
Aug 19 2017 05:43
no, the object i.e. weatherData is something you pre-store, so that you can handle any possibility once the json is called.
sorry i should have called weatherData a better name, maybe weatherDisplay. sorry about that. the pre-made object weatherDisplay will allow you, once you get the api call, to know what background image and skycon you need to display. Make sure you understand that the background image and skycon display for all the weather summary possibilities are pre-determined before doing an api call.
William Watts
@Braillon7
Aug 19 2017 05:56
I'm still trying to figure out how to call upon a specific background image depending on what time it is.i.e, night time image for between 9pm-7am
Sam Goldberg
@sgoldber61
Aug 19 2017 06:02
@Braillon7 It really depends on what sorts of background images you want, versus what the weather conditions are. Looking at the docs at https://darksky.net/dev/docs/response we see for icon "A machine-readable text summary of this data point, suitable for selecting an icon for display. If defined, this property will have one of the following values: clear-day, clear-night, rain, snow, sleet, wind, fog, cloudy, partly-cloudy-day, or partly-cloudy-night."

You could pre-store a background image url you find online for all the possibilities.

However, if you are just interested in day vs. night depending on the time of day, you could just use the javascript date method getHours() https://www.w3schools.com/js/js_date_methods.asp It really depends on what you want.

Henry
@GitHub-Henry
Aug 19 2017 06:10
are folks using the audit tab in chrome? looks like a whole other level of application checks.
Henry
@GitHub-Henry
Aug 19 2017 06:16
did weather with darksky and their icons http://xhenry.gitlab.io/weather/
didn't do so well with chrome audit
William Watts
@Braillon7
Aug 19 2017 06:21
@sgoldber61 thanks Sam that makes a lot of sense. Although I've tried both methods and somehow I can't get my nighttime image to show up.
CamperBot
@camperbot
Aug 19 2017 06:21
braillon7 sends brownie points to @sgoldber61 :sparkles: :thumbsup: :sparkles:
William Watts
@Braillon7
Aug 19 2017 06:30
@henry your weather app is pretty cool
Mark Paul
@sprinter4
Aug 19 2017 07:12
hi guys !!
cowCrazy
@cowCrazy
Aug 19 2017 07:16
:sun_with_face: morning
lizangie
@Lizangie
Aug 19 2017 07:16
hello hello
can anyone help me with something I can't figure it out
@cowCrazy good morning
cowCrazy
@cowCrazy
Aug 19 2017 07:17
@Lizangie I can try :)
lizangie
@Lizangie
Aug 19 2017 07:18
I'm trying to put an offset but is not working
i don't know what else to do ...probably I'm doing something wrong but i can't see it
cowCrazy
@cowCrazy
Aug 19 2017 07:20
is it on codepen or something you can paste here?
lizangie
@Lizangie
Aug 19 2017 07:20
one sec
lizangie
@Lizangie
Aug 19 2017 07:35
@cowCrazy sorry my computer shut down
if you still there ... the link is this https://codepen.io/Lixa/details/vJdvvp/
cowCrazy
@cowCrazy
Aug 19 2017 07:37
@Lizangie what do you want to move?
lizangie
@Lizangie
Aug 19 2017 07:47
@cowCrazy sorry my computer again
i think is dying or something :(
the 3 blue boxes
cowCrazy
@cowCrazy
Aug 19 2017 07:48
where to?
Sweet Coding :)
@SweetCodingInc
Aug 19 2017 07:48
@Lizangie They do seem offset
lizangie
@Lizangie
Aug 19 2017 07:49
yes i saw is working in code pen
i just copy paste the code in from sublime
and when i open the browser blue boxes are align to left :/
cowCrazy
@cowCrazy
Aug 19 2017 07:51
@Lizangie the first time I checked your link it was in the middle, and now on the right side
lizangie
@Lizangie
Aug 19 2017 07:54
yes ..that is what i need but i don't know why it works on code pen but not in my editor
or if is the browser the problem
cowCrazy
@cowCrazy
Aug 19 2017 07:55
@Lizangie can be that the bootstrap link you are using is different. in codepen it is working as you want?
lizangie
@Lizangie
Aug 19 2017 07:55
yes
cowCrazy
@cowCrazy
Aug 19 2017 07:56
so try to use the codepen bootstrap link in your sublime text code
lizangie
@Lizangie
Aug 19 2017 07:56
ohh that could be... because I'm trying to acces the regular link but i oppen bootstrap and they have this display
that i dont recognize
can you do me a favor and send me the link...
cowCrazy
@cowCrazy
Aug 19 2017 07:58
lizangie
@Lizangie
Aug 19 2017 08:02
@cowCrazy THAK YOU SO MUCH!!!!! :clap: :sparkles:
cowCrazy
@cowCrazy
Aug 19 2017 08:02
worked?
lizangie
@Lizangie
Aug 19 2017 08:04
yup :)
cowCrazy
@cowCrazy
Aug 19 2017 08:04
cool :)
lizangie
@Lizangie
Aug 19 2017 08:05
i had a lot of trouble doing css , and I was having a hard time with bootstrap but I found a youtube video
that help a lot but he was using span class and seems that is not working on bootstrap 3 anymore... but i do know understand how to do the grids
@diomed
Aug 19 2017 08:16
hmmmm span is not a class
cowCrazy
@cowCrazy
Aug 19 2017 08:16
@Lizangie Great! Also I hope your computer would come back to its senses
@diomed
Aug 19 2017 08:16
it's an element
Pethaf
@Pethaf
Aug 19 2017 08:18
span is an element.
span is almost like div, except it is an inline element, while div is a block-level element.
Darren
@DarrenfJ
Aug 19 2017 09:06
morning fCC
hey buddy! haven't seen you live in forever... @diomed
@diomed
Aug 19 2017 09:12
hi @DarrenfJ :cat:
I'm like a ninja lurking in the shadows
kidding
I don't come around so much anymore
Darren
@DarrenfJ
Aug 19 2017 09:19
@diomed yah there's not as much opportunity to actually help out
specially late at night (EST) when I used to get on
on the flip side it's forced me to code projects so I'm on my way through fCC again
Pieter Stokkink
@forkerino
Aug 19 2017 10:46
Announcement: CodeSchool has a free weekend. Which means that all their courses are freely available until tomorrow night. https://www.codeschool.com
vrag22
@vrag22
Aug 19 2017 13:33
ppl is there any addon for atom that can make it posible to scroll down so i dont allways have to press enter 50x times to make my code to be at the middle of a screen? pls help me and god bless u all :D
Margaret
@Margaret2
Aug 19 2017 14:09
how about move the window to the center of the screen
.....
Darren
@DarrenfJ
Aug 19 2017 15:01
@Margaret2 :wave:
Razvan
@razvanlikespizza
Aug 19 2017 15:38
This message was deleted
Moisés Man
@moigithub
Aug 19 2017 15:43
lmtfy ?
Albert Cardona II
Aug 19 2017 15:55
hello y'all
so would this be the correct check to see if a an array of objects might have an object in their array ?
`` if (collection[i].hasOwnProperty(Object.keys(source)))``
``[{ "a": 1 }, { "a": 1 }, { "a": 1, "b": 2 }], { "a": 1 }) //colllection is the arrray object is source``
Pieter Stokkink
@forkerino
Aug 19 2017 15:58
@daddycardona hasOwnProperty cannot take an array as argument
Albert Cardona II
Aug 19 2017 15:59
no source is an object
Pieter Stokkink
@forkerino
Aug 19 2017 15:59
@daddycardona yes, it is, but Object.keys returns an array
Margaret
@Margaret2
Aug 19 2017 15:59
i think you can't check if a whole object equals another object, if that's what you're trying to do
like `{ "a": 1 } === { "a": 1 }` returns false
Pieter Stokkink
@forkerino
Aug 19 2017 16:00
not like this, indeed. There are some libraries that have methods to compare objects
Albert Cardona II
Aug 19 2017 16:00
I am trying to see if the keys to source match any of the keys the collection
I got it to say true once
Pieter Stokkink
@forkerino
Aug 19 2017 16:01
@daddycardona If I remember correctly you have to see which objects in the collection have all keys of source with equal values.
Albert Cardona II
Aug 19 2017 16:02
Yes
Pieter Stokkink
@forkerino
Aug 19 2017 16:03
yeah, so you need to check each key of source on each object in the collection.
and filter out the objects from the collection that don't have the keys/values in source
Albert Cardona II
Aug 19 2017 16:04
Yes I understand that but I am trying to check if the keys in source match any of the keys in the collection
Pieter Stokkink
@forkerino
Aug 19 2017 16:04
You will need to loop over Object.keys(source)
or use an array method
Albert Cardona II
Aug 19 2017 16:04
``````function whatIsInAName(collection, source) {
// What's in a name?
var arr = [];
// Only change code below this line

var src = Object.keys(source)

for (var i = 0; i < collection.length; i++) {
if (collection[i].hasOwnProperty(Object.keys(source))) {
arr.push(Object.keys(collection[i]));
console.log('shit');
//}
}
console.log(arr)
// Only change code above this line
return arr;
}
}

whatIsInAName([{ "a": 1 }, { "a": 1 }, { "a": 1, "b": 2 }], { "a": 1 });``````
Pieter Stokkink
@forkerino
Aug 19 2017 16:05
because Object.keys() returns an array.
so you will need a second loop
Albert Cardona II
Aug 19 2017 16:05
just shoot me now lmao
for values?
Pieter Stokkink
@forkerino
Aug 19 2017 16:06
no, for checking each key/value pair in the source object
one loop inside the other
it's a bit easier with array methods like .filter and .every , if you want to learn a more elegant way to solve it.
Albert Cardona II
Aug 19 2017 16:07
okay let me see that and the console log with shit in it was because I was tired and frustrated lol
Pieter Stokkink
@forkerino
Aug 19 2017 16:07
been there
done that
LOL
Albert Cardona II
Aug 19 2017 16:07
lol
filter and every okay I am going to check up on those and probably come back ;)
Pieter Stokkink
@forkerino
Aug 19 2017 16:08
@daddycardona so, what is good to keep in mind is that even if source has only 1 key, Object.keys(source) will still put that one key in an array
have fun!
Albert Cardona II
Aug 19 2017 16:09
Yes, that was the whole point of my first loop, to see if the keys match any of the keys in the collection @forkerino
wow you're the second pieter that I know that spells his name like that, the first one was my first contract I put in the Marines LOL
thanks @forkerino
CamperBot
@camperbot
Aug 19 2017 16:11
daddycardona sends brownie points to @forkerino :sparkles: :thumbsup: :sparkles:
:star2: 2925 | @forkerino |http://www.freecodecamp.com/forkerino
Albert Cardona II
Aug 19 2017 16:11
and thanks @Margaret2 you always there too :)
CamperBot
@camperbot
Aug 19 2017 16:11
daddycardona sends brownie points to @margaret2 :sparkles: :thumbsup: :sparkles:
:star2: 2889 | @margaret2 |http://www.freecodecamp.com/margaret2
Margaret
@Margaret2
Aug 19 2017 16:12
@daddycardona thx :D good luck :four_leaf_clover:
CamperBot
@camperbot
Aug 19 2017 16:12
margaret2 sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
Pieter Stokkink
@forkerino
Aug 19 2017 16:15
@daddycardona It's the dutch way of spelling it. We also have Peter, which sounds more like payter
:smile:
Albert Cardona II
Aug 19 2017 16:15
yes that is what his mother told me and the funny thing I have trained with the Dutch Marines too, they were pretty awesome people ;)
Pieter Stokkink
@forkerino
Aug 19 2017 16:16
cool.
artbohr
@artbohr
Aug 19 2017 17:36

Guys who know React, does all the code has to be inside a component to be "percieved"? For example If I do an Ajax request outside of my main component I understand that I can't use the defined Vanilla JS variables inside my component because it says it's undefined (out of scope), so should I make a helper function inside my component and stick the Ajax request there? What is the right way?

Here is the code

``````const ajaxReqs = (url) => {
const request = new XMLHttpRequest();
request.open('GET', url, true);

if (request.status >= 200 && request.status < 400) {
// Success!
var data = JSON.parse(request.responseText);
console.log(data);
}
};
request.send();
}

const firstReq = ajaxReqs('https://fcctop100.herokuapp.com/api/fccusers/top/recent');
const secondReq = ajaxReqs('https://fcctop100.herokuapp.com/api/fccusers/top/alltime');

class App extends React.Component {
constructor(props) {
super(props);

//this.state = { def: "" };
}

render(){
return(
)
}
}

ReactDOM.render(<App/>, document.querySelector(".content"));``````
Stephen James
@sjames1958gm
Aug 19 2017 17:47
@artbohr It is recommended to do ajax calls in your componentDidMount function.
That way when the data comes back you can use setState to update the state with the data.
artbohr
@artbohr
Aug 19 2017 17:52
@sjames1958gm Hello the hero of all leaderboards ^^ so the way is to stick basicly all I have up there in to a componenDidMount? Thanks
CamperBot
@camperbot
Aug 19 2017 17:52
artbohr sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8342 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Stephen James
@sjames1958gm
Aug 19 2017 17:53
@artbohr yes
Mike Batista
@mbmontana
Aug 19 2017 18:03
Stuck on Make Object Properties Private challenge. The instructions don't say what value to assign to the gear variable. Should I just assign 0?
``````
var Car = function() {
// this is a private variable
var speed = 10;

// these are public methods
this.accelerate = function(change) {
speed += change;
};

this.decelerate = function() {
speed -= 5;
};

this.getSpeed = function() {
return speed;
};
};

var Bike = function() {

// Only change code below this line.
var gear;

this.setGear = function(change) {
gear += change;
};

this.getGear = function () {
return gear;
};
};

var myCar = new Car();

var myBike = new Bike();

myBike.setGear(4);

myBike.getGear();``````
Margaret
@Margaret2
Aug 19 2017 18:13
@mbmontana `setGear` is not supposed to add on to `gear`, it's supposed to reset `gear`
John Tendik
@JohnTendik
Aug 19 2017 18:27
Razvan
@razvanlikespizza
Aug 19 2017 18:38

## Eyes on me everybody, okay??

Joseph
@revisualize
Aug 19 2017 18:39
:fu:
Mike Batista
@mbmontana
Aug 19 2017 19:32
This is the example in the Condense Arrays with Reduce challenge. Before I attempt this, can someone explain to me the purpose of the 0 in this code?
``````var singleVal = array.reduce(function(previousVal, currentVal) {
return previousVal - currentVal;
}, 0);``````
korzo
@korzo
Aug 19 2017 19:38
@mbmontana It' s initial value for first iteration
Stephen James
@sjames1958gm
Aug 19 2017 19:58
@mbmontana It is the value of previousVal for the first iteration
Ryan Draves
@RyanDraves
Aug 19 2017 20:49
Hello, does anyone know how to prevent text in a counter from shaking as it moves back and forth? should I use a special font family that has equal spacing perhaps?
Gersho
@Gersho
Aug 19 2017 20:51
could you link your pen ? i'm not sure i understand the question
Stephen James
@sjames1958gm
Aug 19 2017 20:55
@RyanDraves Yeah a fixed width font is one way. Another is to put each digit into its own fixed width container
Ryan Draves
@RyanDraves
Aug 19 2017 20:56
@Gersho @sjames1958gm ah yes, it works better now. I just found a google font with a fixed width
Stephen James
@sjames1958gm
Aug 19 2017 20:56
@RyanDraves :+1:
Gersho
@Gersho
Aug 19 2017 20:57
Ryan Draves
@RyanDraves
Aug 19 2017 20:57
@sjames1958gm I'm almost done with the game of life project you help me with :) I think I'm just going to add a speed toggle, maybe a board size toggle but that would be very hard.
just updating that I revolved it @Gersho :)
Stephen James
@sjames1958gm
Aug 19 2017 20:59
@RyanDraves I had speed changes on mine, didn't change the size though.
@RyanDraves Board size toggle would require you to make your algorithms generic (parameterized by board size)
Ryan Draves
@RyanDraves
Aug 19 2017 21:00
@sjames1958gm the only problem I would have with that is the time it would take lol
Stephen James
@sjames1958gm
Aug 19 2017 21:00
@RyanDraves Time - the resource that is always running out
Ryan Draves
@RyanDraves
Aug 19 2017 21:00
@sjames1958gm :(
sadly I didn't make the game big enough for a glider gun! 30x30 is just too small
Stephen James
@sjames1958gm
Aug 19 2017 21:01
:(
Usama Mahmood
@usamacjs
Aug 19 2017 21:27
@usamacjs
i am making commits since last three days, but it is not showing as contributions in my profile
anyone has any idea why this is happening?
@RyanDraves
Ryan Draves
@RyanDraves
Aug 19 2017 21:30
@usamacjs yes?
Usama Mahmood
@usamacjs
Aug 19 2017 21:33
i am making commits since last three days, but it is not showing as contributions in my profile
anyone has any idea why this is happening? @RyanDraves
you can see my profile, no contributions in last three days, whereas, commits were made to this project in the last three days https://github.com/usamacjs/university-project.git
Ryan Draves
@RyanDraves
Aug 19 2017 21:35
Razvan
@razvanlikespizza
Aug 19 2017 22:24
Alexander Køpke
@alexanderkopke
Aug 19 2017 22:36
@razvanlikespizza I think it looks dashing
Razvan
@razvanlikespizza
Aug 19 2017 22:37
@alexanderkopke "dashing" ? Can you use other world? :3 Please...I dont know the exact meaning of that word. Thanks.
CamperBot
@camperbot
Aug 19 2017 22:37
razvanlikespizza sends brownie points to @alexanderkopke :sparkles: :thumbsup: :sparkles:
:star2: 1643 | @alexanderkopke |http://www.freecodecamp.com/alexanderkopke
Alexander Køpke
@alexanderkopke
Aug 19 2017 22:38
@razvanlikespizza elegant and nice
Razvan
@razvanlikespizza
Aug 19 2017 22:38
@alexanderkopke Oh wow. Thank you <3
CamperBot
@camperbot
Aug 19 2017 22:38
razvanlikespizza sends brownie points to @alexanderkopke :sparkles: :thumbsup: :sparkles:
:warning: razvanlikespizza already gave alexanderkopke points
Alexander Køpke
@alexanderkopke
Aug 19 2017 22:39
@razvanlikespizza I like the spacing and placement of the elements. Good job!
Razvan
@razvanlikespizza
Aug 19 2017 22:40
@alexanderkopke Thank you, that means a lot for me! Here is some love <3 :love_hotel: :chocolate_bar: :kissing_cat: :heart:
CamperBot
@camperbot
Aug 19 2017 22:40
razvanlikespizza sends brownie points to @alexanderkopke :sparkles: :thumbsup: :sparkles:
:warning: razvanlikespizza already gave alexanderkopke points
Alexander Køpke
@alexanderkopke
Aug 19 2017 22:40
:)
Gulsvi
@gulsvi
Aug 19 2017 22:43
@razvanlikespizza It looks really good! Nice work :)
Dashing = spiffy? :)
Razvan
@razvanlikespizza
Aug 19 2017 22:44
@SkyC0der Thank you <3 :)
CamperBot
@camperbot
Aug 19 2017 22:44
razvanlikespizza sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 2458 | @skyc0der |http://www.freecodecamp.com/skyc0der
Sam Goldberg
@sgoldber61
Aug 19 2017 23:36
I have a simple React JSX question. In the camper leaderboard project, I need to have a pound sign in a table, but <th>&#35;</th> seems to give a syntax error... I can't figure out what I'm supposed to put for special html characters.
nvm i'm stupid my real problem is that you can only have one return node in react.