# FCC - Product Landing page

**URL:** <https://forum.freecodecamp.org/t/fcc-product-landing-page/298178>\
**Category:** I Built This\
**Created:** [July 24, 2019, 5:49pm UTC](https://forum.freecodecamp.org/t/fcc-product-landing-page/298178 "2019-07-24T17:49:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliot6001](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@eliot6001](https://forum.freecodecamp.org/u/eliot6001)\
**Post date:** [July 24, 2019, 5:49pm UTC](https://forum.freecodecamp.org/t/fcc-product-landing-page/298178/1 "2019-07-24T17:49:17Z")

</div>

Hello guys!  
I’d like you to take a look at my project looks and My code…  
[https://codepen.io/eliot6001/full/oKxNzr](https://codepen.io/eliot6001/full/oKxNzr)  
and i kinda know its bad but i’m still a beginner and i’ll keep practicing until i get better 🙂

also here’s the code:  
[https://codepen.io/eliot6001/pen/oKxNzr](https://codepen.io/eliot6001/pen/oKxNzr)

---

<div class="post-metadata">

**Author:** ![tlc35us](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tlc35us](https://forum.freecodecamp.org/u/tlc35us)\
**Post date:** [July 24, 2019, 7:00pm UTC](https://forum.freecodecamp.org/t/fcc-product-landing-page/298178/2 "2019-07-24T19:00:43Z")

</div>

In the HTML and CSS windows of codepen click the down arrow and then click analyze. Fix all those errors. the CSS window there will be a red bar near the error instead of a summary at the top so you’ll have to scroll to find it.

It’s unusual for a beginner in FCC to use `position` for more than a sticky header. So please add `height:100vh;` to `#form` now scroll up and down all the way to the end. Notice that everything that is `position`-ed scrolls over the top of the header and the un-`position`-ed text is below the header. You can solve this by:

- using z-index on elements with `position`

or

- only `position` the header and center the other things with margin

Notice that when you click an in-page nav-link that the section anchor moves to the top of the screen. Since there is a fixed header the anchor needs to be offset by the height of the header so it will stop below the header and be readable.

- [This can be solved with `position` as seen here.](https://www.caktusgroup.com/blog/2017/10/23/css-tip-fixed-headers-and-section-anchors/)

Or with `margin-top` depending upon which layer everything is on.

---

<div class="post-metadata">

**Author:** ![Steffan153](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/steffan153/32/119621_2.png) [@Steffan153](https://forum.freecodecamp.org/u/Steffan153)\
**Post date:** [July 24, 2019, 7:00pm UTC](https://forum.freecodecamp.org/t/fcc-product-landing-page/298178/3 "2019-07-24T19:00:53Z")

</div>

> [@eliot6001](#):
>
> and i kinda know its bad

It’s not bad, it just could use some improvements.

- First of all, let’s introduce a new font, like this:
  - Go to Pen Settings → HTML → Stuff in the \<head\> section → Put `<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans">` → Save & Close
  - In the CSS, in the body style rule, put this: `font-family: "Open Sans", sans-serif;`

- The navbar at the top is a little big.
- All the style rules inside a media query, but don’t they apply to all devices?
- blue on black is kinda hard to read. You can change the links inside the navbar to have a text color of white
- The navbar is squished onto the video. On the video, you could add some `margin-top`.
- The text is going really wide, how about give it a max-width?
- To make the navbar look correct, you can add `margin: 0` to `body`, maybe remove border radius, and set `width: 100%` to the navbar
- The input could use some `padding`, `border: 1px solid #ccc`, and `border-radius`
- Button: `padding` again, maybe a different background color, a color for text easier to read (e.g. black), `border-radius`, `cursor: pointer`, and a hover color.
- Well, nice start! 😃 Ask me if you need help with something.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 6, 2021, 1:31pm UTC](https://forum.freecodecamp.org/t/fcc-product-landing-page/298178/4 "2021-02-06T13:31:43Z")

</div>

Closed on February 6, 2021, 1:31pm UTC


