# first project ever with html/css 

**URL:** <https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103>\
**Category:** I Built This\
**Created:** [August 3, 2021, 6:59am UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103 "2021-08-03T06:59:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rejdi93](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/rejdi93/32/134943_2.png) [@rejdi93](https://forum.freecodecamp.org/u/rejdi93)\
**Post date:** [August 3, 2021, 6:59am UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103/1 "2021-08-03T06:59:00Z")

</div>

hi guys this is my first project after completing html/css course  
i would like to have an honest opinion  
(i hade to change the ID’s in class to put some internal link  
)  
and i don’t know why i can’t see the colors on codepen  
thank you for your time

> **[yLbEqjQ](https://codepen.io/rejdi17/pen/yLbEqjQ)**
>
> ...

---

<div class="post-metadata">

**Author:** ![seekinfox](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/seekinfox/32/226243_2.png) [@seekinfox](https://forum.freecodecamp.org/u/seekinfox)\
**Post date:** [August 3, 2021, 10:01am UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103/2 "2021-08-03T10:01:10Z")

</div>

Hello.  
when colouring any element /id/class you should do this →

```auto
.class1 {
     background-color: red; /*when using color name*/
     color: #0ad636; /*when using HEX color code*/
 }

#id-select {
    background : rgba(0, 0, 0, 1); /*when using RGBA color code*/
    color: hsl(100, 155, 50); /*when using HSL color code*/
}

```

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [August 3, 2021, 7:11pm UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103/3 "2021-08-03T19:11:01Z")

</div>

Welcome to the forums @rejdi93. Your form looks good. Some things to revisit;

- Verify your email addr with codepen so we can see your page full view
- Keep the test script when forking the pen (`<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>`)
  - The test script, **with all tests passing** , should be included when you submit your projects.
  - Your page passes **3/10** user stories. Click the red button to see which test(s) are failing and text to help you correct the issue.  
**Be sure and read more than just the first line of the failing message**. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

- Codepen provides the boilerplate for you. It only expects the code you’d put within the `body` element in the HTML editor. (No need to include the `body` tags). For anything you want to add to the `<head>` element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for \<head\>’ box.
  - You have incorrect elements and elements out of order. Review this for an understanding of the [HTML boilerplate tags](https://medium.com/better-programming/understanding-the-tags-in-html-boilerplate-38d1ae2805f7).

- Run your HTML code through the [W3C validator](https://validator.w3.org/#validate_by_input).
  - There are HTML syntax/coding errors you should be aware of and address.

- Codepen provides validators for HTML, CSS and JS. Click on the chevron in the upper right of each section and then click on the respective ‘Analyze’ link.
  - The one for CSS is good. Use it and address the issue(s).
  - (The one for HTML misses things which is why I recommend W3C)

> [@rejdi93](#):
>
> and i don’t know why i can’t see the colors on codepen

Someone has given you the answer but when you run your code through the validator you’ll see the reason colors do not display.

---

<div class="post-metadata">

**Author:** ![rejdi93](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/rejdi93/32/134943_2.png) [@rejdi93](https://forum.freecodecamp.org/u/rejdi93)\
**Post date:** [August 4, 2021, 12:37am UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103/4 "2021-08-04T00:37:10Z")

</div>

thank you i will do it

---

<div class="post-metadata">

**Author:** ![rejdi93](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/rejdi93/32/134943_2.png) [@rejdi93](https://forum.freecodecamp.org/u/rejdi93)\
**Post date:** [August 4, 2021, 12:38am UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103/5 "2021-08-04T00:38:32Z")

</div>

thank you for the help

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [February 2, 2022, 12:38pm UTC](https://forum.freecodecamp.org/t/first-project-ever-with-html-css/472103/6 "2022-02-02T12:38:44Z")

</div>

Closed on February 2, 2022, 12:38pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
