@AaronHanna Hi. I think your problem is that you have placed your functions for "get' and "set" in a return statement. I'm not sure why this is forcing bob instanceof(Person) to return false, but I suggest that you remove the return closure and rewrite your functions using "this." For example, this.getFirstName = function(){ return firstName } . I just put your code up on repl.it and ran it using the change and bob instanceof(Person) returned true.

@Dueldrawer8 you can use a text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.9); on your header or just wrapp the logo and nav within a row class="yourclass" and givethis new class a background-color: rgba(0,0,0,0.6) for example. you can play with 0.6 alpha up and down as you wish

@sorinr ya ok will add them in few mins and will put the js code for them and then ull see they are not working.. i tried without a button just to check thier functionllty but it seems like i dont know where to put them exactly :/

Hello guys, I started FCC few days ago and I'm now building the sample project of Front End Development section. I am trying to build the exact replica of this sample website: https://codepen.io/FreeCodeCamp/full/YqLyXB/

My question is, how can I make that page kind of section in the middle of webpage? I have changed the background but I am facing problem to develop the mid part(where the portfolio and the guy's picture is) I tried creating div and changing the background color but that does not work well Any suggestions?

The text and picture are inside a div(with different color than background), how can I do that? I tried creating div and changing its background color and putting text and picture inside it but it does not work well. I am using bootstrap

iam done with front end projects and submitted them.....my front end certificate was added to profile...it was too quick....i wanted to know whether fcc does background check of my code.....i have coded everything on my own but it is bit untidy....i have not added any comments to explain my approach to solve the project......Should i do that?....any one here who has completed the challenges

I'm building Meteor/React app and I have an issue where some of the images returned from http://openlibrary.org/ are blank, not empty. If there where empty ie 404's I could catch the error and replace them with a image not found. However, they just return a blank image so I am not sure how to catch them and resolve this. Thoughts anyone?

@NixonRichard if you're still working on your quote problem: your quotes are being appended onto the end of your container (they're not overwriting your previous quotes, they're just being added on), as far as always calling the same quote, I except that you're program is caching the last call. Maybe try disabling that,

I use ajax so the cache problem is easy to solve (you just set cache:false) but, with .getJSON I think you can either globally disable cache (probably not good practice) or you can time stamp your call requests so they are always unique and thus a new call is always done.

your appending problem is caused by using ("#text").append. I suggest looking for another way to write to an element (I use .innerHTML on a getElementById when I write to elements)

@NixonRichard I think your .getJson is caching the call. I stopped that in mine by disabling the cache, but I use $.ajax so the syntax and functionality is slightly different. You'll have to look around on google (or ask someone who's not me :P) to work out how to stop it from caching. I think if there's a way of adding a time stamp to your call so it will always be unique .

@Krish2704@NixonRichard the link is fine. He's calling the api that will only return one object at a time, but if you put it up in the browser, every time you refresh you get a new quote

@NixonRichard your api url is in the correct place. I just meant that if you copy and paste the URL, you can see that the link returns a random object. Your problem is that your program has made the call once and then gone "for efficiency, I'll hold onto this". Then, when it's called again, it goes "I've already got this object. Here you go" But what YOU want is for a new call to be made so a new object is returned. To do that, you'll have to find a way to disable cache or trick your .getjson into believing that it's a completely new call. But I use .ajax, which means I just had to write cache:false. I don't know how to stop caching with .getJSON

Hey there, is anyone up to help me with that random quote generator? All those functions from the "JSON API and Ajax" Chapter won't work with the json response I receive. I have no idea on how to access the keys/values of that object -> http://codepen.io/datnewcudi/pen/rLGJRx?editors=0110

I tried to use the link before, then i switched to another (which doenst get a random link, only the quote of the day) and build my code around the new link. The old wouldnt be displayed right now, I was just wondering again :)http://codepen.io/datnewcudi/pen/rLGJRx

@Sprinting I started using just the navigator object to get my location data, then had to switch to ip-api in order to get around mixed content issues, then I couldn't quite get how to parse it all and the call backs got all convoluted.....

In my navbar, when I use class="active" it highlights the current tab item but when I click on other tab items, they won't highlight, also my hamburger button isn't expanding when clicked.....based on these two issues I know I'm having animation issues, possibly with my script tags?

Hey guys, quick question. I'm having issues with Chrome displaying a fade in effect for my links in my navbar; the effects work fine in Edge so I'm not sure what the issue might be. Any suggestions would be appreciated! Link to code in question: http://codepen.io/Azraith/pen/KMaeXX

Can anyone help with the TwitchTV project? I have the online/offline accounts working fine, but I can't get the inactive accounts to display. They don't pass through JSON, so something like "data.status==422" doesn't work, and splicing out the online/offline accounts and printing the remaining ones doesn't consistently work because of asynchronous issues, so I'm pretty lost.

hey folks, anyone able to help me figure out why my code for Diff Two Arrays is not working? My accepted solution from Dec. 2015 no longer works. Here's a slightly modified version of my soln, but the logic is the same

@dagman found the problem - back in Dec. 2015, the function was called diff() and since has been renamed to diffArray(). I copied over my solution and made changes within the function, using the older diff() name

a little bit, I wanted to use the id codes from the API to determine the image. Better than my original idea of a different image per code, now just a different background based off the class of code. I think I may reimplement this as an if though

I have just started building my portfolio but I am working on jumping the menu... i mean when i click about i want it to scroll to the about section of the page but what doesnt work currently.. any help please

Okay... I'm really not understanding CORS... How do I stop it from returning No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://codepen.io' is therefore not allowed access. in random quote machine

hi guys, anybody knows why my input label works fine on codepen and doesn't act the same way on my self host? I guess it's something related to material design cause even the social button on the bottom right isn't working as expected http://spectrestudio.coolpage.biz/projects/wikisearch/