These are chat archives for FreeCodeCamp/Help

24th
Mar 2019
Kaylee
@kaymonlee
Mar 24 01:29
Can you guys tell me what you think of my product landing page? https://codepen.io/kaymonlee/full/MxPBRb
jamie.is.hashy
@longhair_jamie_twitter
Mar 24 01:46
@kaymonlee You forgot to use id tags to link the nav links to sections of the landing page
e.g. <a href="#id-name">nav link</a> <section/main/footer/etc... id="id-name"></section/main/footer/etc...>
after you do that, the nav links should jump to those parts of the page
meg-mcd220
@meg-mcd220
Mar 24 05:56
Hey y'all, very new to this so not quite sure what I'm doing or if I'm in the right place... but I'm working on the "Design a Product Landing Page" challenge and I keep failing User Story #13, even though my navbar is definitely fixed. Thoughts?
This is my codepen.io page for it, if that helps: https://codepen.io/meg_mcd220/pen/KEbjKe
micksharma
@micksharma
Mar 24 13:49
Please send this message again
Momozor
@momozor
Mar 24 17:27
To be honest, FreeCodeCamp's rooms are barely active these days. I recommend going to technical forums or chat network (IRC, Ubuntu Forums, Stackoverflow, etc). If you want really quick answers for popular tools you are having trouble with, I highly suggest go for IRC.
May Kittens Devour Your Soul
@diomed
Mar 24 17:44
@meg-mcd220 you wrote #nav-bar:
in CSS window with :
there should not be colon there
BuntyBru
@BuntyBru
Mar 24 18:51

To be honest, FreeCodeCamp's rooms are barely active these days. I recommend going to technical forums or chat network (IRC, Ubuntu Forums, Stackoverflow, etc). If you want really quick answers for popular tools you are having trouble with, I highly suggest go for IRC.

Yeah, where are th people ?

Christopher McCormack
@cmccormack
Mar 24 19:12
@BuntyBru the links to the gitter chat room were removed from the main site I believe - discoverability is more difficult, and the forum is the preferred method by the fcc team for asking questions in general
Niraj Nandish
@Nirajn2311
Mar 24 19:47
The people are here, it's the tradition that has disappeared
Altin Rrahmani
@DevKosov
Mar 24 20:41
is there a reason why this is not working?
let height = window.innerHeight;
window.onscroll = function() {
    var header = document.querySelector('#header');
  if (document.body.scrollTop > height ) {
    header.classList.add("active");
  } else {
    header.classList.remove("active");
  }
};
Brad
@bradtaniguchi
Mar 24 20:57
@DevKosov What do you mean by "not working"
Getting a reproduction of the issue on codepen/codesandbox/whatever should help anyone debugging the problem too :)
Altin Rrahmani
@DevKosov
Mar 24 21:01
i think that .classList.add is not working and idk why
like it is not adding the class
nvm
problem is here let height = window.innerHeight;
meg-mcd220
@meg-mcd220
Mar 24 22:28
@diomed Ahhhhh, thank you so much! Didn't catch that. :)