These are chat archives for FreeCodeCamp/HelpFrontEnd

11th
Oct 2018
Marc
@MWBauer
Oct 11 2018 15:47
Anyone currently on?
Brad
@bradtaniguchi
Oct 11 2018 16:56
@MWBauer nope :trollface:
AJ Brommy
@AJ-Brommy
Oct 11 2018 19:00
i'm here for the evening, dunno if i'm much help tho lol
Can someone please explain, what do I have to do in this Challenge ?
Aditya
@ezioda004
Oct 11 2018 20:52
@mananshah51 Hey, you need to map through the arr and get the result same as in the comment.
Manan Shah
@mananshah51
Oct 11 2018 21:18
@ezioda004 Thank you so much.
I somewhat Figured it out.
Manan Shah
@mananshah51
Oct 11 2018 21:25
@ezioda004 ```
var SpaceShuttle = function(targetPlanet){
  this.targetPlanet = targetPlanet;
}
var zeus = new SpaceShuttle('Jupiter');
What about this code? What is this code doing? Can you please explain.
Brad
@bradtaniguchi
Oct 11 2018 21:27
@mananshah51 making a new object instance from the "class" SpaceShuttle
with the attribute targetPlanet being passed as a constructor argument.
Aditya
@ezioda004
Oct 11 2018 21:27
@mananshah51 SpaceShuttle is a function constructor, new SpaceShuttle('Jupiter');is creating a new instance object from SpaceShuttle. Think of SpaceShuttle as a class (not really a class but kinda class)
Christopher
@bradley1492
Oct 11 2018 21:30
Good evening,
I am just in the sass challenges for fcc, but I can't figure out why my code doesn't get accepted.
I'll post my challenge here.
I forgot can anyone else except me see my source code for this particular challenge?
https://learn.freecodecamp.org/front-end-libraries/sass/use-each-to-map-over-items-in-a-list
Fabien SHAN
@X140hu4
Oct 11 2018 23:51
@bradley1492 No, it is cached on your computer I believe. Post your code here wrapped with three backticks (```) before and after your code