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
dagao.wei
@liangshun

// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {

return collection;
}

Al
@shimoal
Hi everyone! I'm kind of new to this and I'm working on the Random Quote Machine project. I really want to try to use an API, probably Quotes on Design, but I'm really struggling. Does anyone have any resources to learn more about how to use APIs?
dagao.wei
@liangshun
there will be error
lilyliterate
@lilyliterate
JSON.parse() and JSON.stringify() are from the same library of methods. You need to have JSON. before stringify.
Sorin Ruse
@sorinr
@shimoal take an inspiration from my pen here: http://codepen.io/sorinr/pen/VaJKrw
dagao.wei
@liangshun
@lilyliterate freecodecamp the 211th topic, no use JSON.stringify only use stringify
lilyliterate
@lilyliterate
What is the name of the topic?
dagao.wei
@liangshun
@lilyliterate name is “Record Collection"
lilyliterate
@lilyliterate
What exactly is the error it is passing you?
dagao.wei
@liangshun
ReferenceError: stringify is not defined
Al
@shimoal
@sorinr Thank you! It should be very useful to have a working example while I continue trying to figure this out haha
CamperBot
@camperbot
shimoal sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:cookie: 371 | @sorinr |http://www.freecodecamp.com/sorinr
dagao.wei
@liangshun
maybe one bug
lilyliterate
@lilyliterate
Stringify() is not a function. JSON.stringify() is.
dagao.wei
@liangshun
https://www.freecodecamp.com/challenges/record-collection#?solution=%0A%2F%2F%20Setup%0Avar%20collection%20%3D%20%7B%0A%20%20%20%20%222548%22%3A%20%7B%0A%20%20%20%20%20%20%22album%22%3A%20%22Slippery%20When%20Wet%22%2C%0A%20%20%20%20%20%20%22artist%22%3A%20%22Bon%20Jovi%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%0A%20%20%20%20%20%20%20%20%22Let%20It%20Rock%22%2C%20%0A%20%20%20%20%20%20%20%20%22You%20Give%20Love%20a%20Bad%20Name%22%20%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%222468%22%3A%20%7B%0A%20%20%20%20%20%20%22album%22%3A%20%221999%22%2C%0A%20%20%20%20%20%20%22artist%22%3A%20%22Prince%22%2C%0A%20%20%20%20%20%20%22tracks%22%3A%20%5B%20%0A%20%20%20%20%20%20%20%20%221999%22%2C%20%0A%20%20%20%20%20%20%20%20%22Little%20Red%20Corvette%22%20%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%221245%22%3A%20%7B%0A%20%20%20%20%20%20%22artist%22%3A%20%22Robert%20Palmer%22%2C%0A%20%20%20%20%20%20%22tracks%22%3A%20%5B%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%225439%22%3A%20%7B%0A%20%20%20%20%20%20%22album%22%3A%20%22ABBA%20Gold%22%0A%20%20%20%20%7D%0A%7D%3B%0A%2F%2F%20Keep%20a%20copy%20of%20the%20collection%20for%20tests%0Avar%20collectionCopy%20%3D%20JSON.parse(stringify(collection))%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Afunction%20updateRecords(id%2C%20prop%2C%20value)%20%7B%0A%0A%0A%20%20return%20collection%3B%0A%7D%0A%0A%2F%2F%20Alter%20values%20below%20to%20test%20your%20code%0AupdateRecords(5439%2C%20%22artist%22%2C%20%22ABBA%22)%3B%0A%0A
ABHIII
@aviralsharma1997
@shimoal I have also just started on it ...want to pair???
lilyliterate
@lilyliterate
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));
That is the functioning code @liangshun - stringify on its own dows not exist, hence the error.
dagao.wei
@liangshun
@lilyliterate thank you a lot
CamperBot
@camperbot
liangshun sends brownie points to @lilyliterate :sparkles: :thumbsup: :sparkles:
:cookie: 268 | @lilyliterate |http://www.freecodecamp.com/lilyliterate
Al
@shimoal
@aviralsharma1997 yeah I'm down to pair but my schedule is kinda wacky. Is there a way to send a PM on here?
dagao.wei
@liangshun
ABHIII
@aviralsharma1997
M trying for tht @shimoal
Sorin Ruse
@sorinr
@shimoal ok. it was just for inspiration. just try to understand how things are working and make it on your own
Al
@shimoal
oh yeah, that's exactly what I mean. Thank you for that. I'm still looking for more resources too
ABHIII
@aviralsharma1997
is there a way for pc here??
somebody??
Sorin Ruse
@sorinr
@aviralsharma1997 what do u mean by pc?
ABHIII
@aviralsharma1997
@shimoal i have sent u a msg in pc ,, please check
@sorinr its done btw ,personal chat
Sorin Ruse
@sorinr
@aviralsharma1997 ok. i was thinking that was what you mean. :)
ABHIII
@aviralsharma1997
:smile:
@sorinr i m on the same challenge the random quote machine i saw ur pen it was pretty good
@sorinr would u suggest some more resources for that
Sorin Ruse
@sorinr
@aviralsharma1997 just make a google search for free api quotes and see which one you like more.
ABHIII
@aviralsharma1997
@sorinr okk , this has been the best project so far.....taking time
Sorin Ruse
@sorinr
@aviralsharma1997 then just take ur time. no hurry if you want it done just the way you want it
Thabani Manzini
@ThabaniM
hello ppl i am trying to finalize my portfolio before submitting. but i am not sure which link to use on my portfolio page that will link to my various projects. the fact that some pages look different in full page mode to the debug view is a concern as well
Al
@shimoal
@aviralsharma1997 Ok, I'll reply later tonight! My break at work is up. Talk to you all later!
Michał Bociek
@Auron91
Hello All! I have a noob question. Can i style text in CSS? i mean i want to do emphasis and center the text.
Michał Bociek
@Auron91
Ok i figured out that i can: h1{ class: text-center} but still cant find how to emphasis it
Hamaad Chughtai
@Hamaad102
Anyone available to help?
Cross Richards
@crossrichards
Hello World.
CamperBot
@camperbot

welcome to FreeCodeCamp @crossrichards!

Hamaad Chughtai
@Hamaad102
@ThabaniM you're gonna have to spend more time on the portfolio, it doesn't seem to be responsive
Sorin Ruse
@sorinr
@ThabaniM the color u are using for .info class its not quite visible on that background. if you want to keep the color then just try to add a text-shadow to it. and the opacity for .thumbnail its too low. it messes with the backgrond