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
ZaynMalloc
@ZaynMalloc

@adamakers function Person(name, gender) {
this.name = name;
this.gender = gender;
}
Person.prototype.lastname = 'marsh';
Person.prototype.introduce = function() {
console.log('Hi my name is ' + this.name + ' and I am a ' + this.gender);
}

var stan = new Person('Stanley', 'male');

console.log(stan.introduce());

Gulsvi
@gulsvi
Once you get more familiar with calling APIs, displaying data on the page, etc, you can branch out and try to figure out other APIs.
Adam
@adamakers
@ZaynMalloc I figured it out. It does not show the properties in the console because those properties are not a part of the prototype property, but instead are tied directly to the object
mboesiger90
@mboesiger90
Ok thank you I am really struggling to understand ajax and apis
Dillon Orr
@dillorr
@SkyC0der you mentioned earlier z-index: -1; for my navigation bar, which i applied to that class, but now my new image is the only thing that covers it up when scrolling
everything else scrolls under the nav bar like it's supposed to
ZaynMalloc
@ZaynMalloc
@adamakers oh, good to know
Gulsvi
@gulsvi
@mboesiger90 Don't let it get you down :) it's a tough concept, but it will click eventually and then seem fairly simple.
Just takes getting it right a few times
Adam
@adamakers
@ZaynMalloc Thanks!
CamperBot
@camperbot
adamakers sends brownie points to @zaynmalloc :sparkles: :thumbsup: :sparkles:
:cookie: 254 | @zaynmalloc |http://www.freecodecamp.com/zaynmalloc
Gulsvi
@gulsvi
@dillorr You'll want to use a positive number for your z-index. I don't think I recommended a negative one :) but if I did, I'm sorry about that. -1 puts your element behind everything else.
Dillon Orr
@dillorr
whoops! got it
Gulsvi
@gulsvi

For example, this is what Bootstrap does for their Fixed navbar class:

.navbar-fixed-top,
.navbar-fixed-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}

@dillorr
From: https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css

fdemaa
@fdemaa
@SkyC0der still the white space, i think i will add the negative margin to each mediaqueries :shipit:
mboesiger90
@mboesiger90
is there anything in particular I can read up on to help me understand APIs better?
Josh Beasley
@joshbeasley
@SkyC0der the justify-content-end class allowed me to move the entire nav bar, but not individual pills
fdemaa
@fdemaa
@SkyC0der okey i do it like you ! but why that works ? moving the id home up there ?
Gulsvi
@gulsvi
@joshbeasley I misread, thought you wanted it all over to the right. I think you're looking for a navbar, not nav-pills in that case. https://codepen.io/skycoder/pen/VboOYK?editors=1000
@fdemaa This way, the navbar is on top of your background image instead of above it :) it's the same as using the <header> tag.
fdemaa
@fdemaa
okay i never thought about that !you are years ahead of me haha
Gulsvi
@gulsvi
Only 3 months lol :)
fdemaa
@fdemaa
:clap:
fdemaa
@fdemaa
Im going sleep thanks for the help @SkyC0der
CamperBot
@camperbot
fdemaa sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 1571 | @skyc0der |http://www.freecodecamp.com/skyc0der
rfvergeldedios
@rfvergeldedios
Hi everyone, question, can a second getJSON be nested within a getJSON?
Johnny
@jtan3
@rfvergeldedios i believe so.
Vincent Yan
@envincebal
Hey guys, I finished my Weather App, but I noticed a delay in retrieving the data from the weather API. I've spent hours trying to figure out why. Any help would be appreciated.
fdemaa
@fdemaa
@envincebal how do you make those projects images ? with some picture editor ?
i m looking at your portfolio
Im sorry but i dont know any of js, im doing the portfolio and tribue pages :shipit:
Vincent Yan
@envincebal
You can also google a bunch of screen capture sites and they will do just fine as well.
fdemaa
@fdemaa
@envincebal thanks man ! by the way , any quick feedback ?
https://codepen.io/fdemaa/pen/oWOMMX
Its horrible but im still a noob haha
CamperBot
@camperbot
fdemaa sends brownie points to @envincebal :sparkles: :thumbsup: :sparkles:
:cookie: 279 | @envincebal |http://www.freecodecamp.com/envincebal
Vincent Yan
@envincebal
@fdemaa very nice! I like it, especially the navbar. One thing I would suggest is wrapping all your HTML in a div starting at the About Me section and use the class "container" that way everything is more centered.
fdemaa
@fdemaa

@envincebal thanks man! Yes i forgot a bout that;

Also do you visit any others pages like this one ?

I did some codecademy but i find it too limited, and they are others pages that are premium. :worried:

I mean i just look for info in google, but do you have any others things to help you out ?

CamperBot
@camperbot
fdemaa sends brownie points to @envincebal :sparkles: :thumbsup: :sparkles:
:warning: fdemaa already gave envincebal points
fdemaa
@fdemaa
I feel like a bit lost, they are too many things to learn haha
Johnny
@jtan3
@fdemaa you can youtube tons of stuff
fdemaa
@fdemaa
@jtan3 yes im using also this page thats call w3school or something like that, wich is great
:+1:
Vincent Yan
@envincebal
Yeah Codecademy is a good intro but not enough. Mostly I just google stuff. I mainly use Mozilla Developer Network site. It's really comprehensive stuff and a good reference. Also here's a link to a great list of resources I use for front end in general. http://codingheroes.io/resources/
w3schools is quite controversial because many devs say lots of the info is outdated. MDN is much better.