# Asking for help in html-css

**URL:** <https://forum.freecodecamp.org/t/asking-for-help-in-html-css/453948>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [April 1, 2021, 1:27pm UTC](https://forum.freecodecamp.org/t/asking-for-help-in-html-css/453948 "2021-04-01T13:27:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alain.tene](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/alain.tene/32/134200_2.png) [@alain.tene](https://forum.freecodecamp.org/u/alain.tene)\
**Post date:** [April 1, 2021, 1:27pm UTC](https://forum.freecodecamp.org/t/asking-for-help-in-html-css/453948/1 "2021-04-01T13:27:32Z")

</div>

I am having trouble with `linear-gradient()` for the `div` element’s `background` I wrote

```auto
<style>
  div {
    background: linear-gradient(65deg, #FFCCCC, rgb(255, 204, 204));
  }

</style>

```

and it is not working for me.

---

<div class="post-metadata">

**Author:** ![jenovs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jenovs/32/60963_2.png) [@jenovs](https://forum.freecodecamp.org/u/jenovs)\
**Post date:** [April 1, 2021, 1:49pm UTC](https://forum.freecodecamp.org/t/asking-for-help-in-html-css/453948/2 "2021-04-01T13:49:23Z")

</div>

Those both colors are the same color 🙂

---

<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:** [April 1, 2021, 4:17pm UTC](https://forum.freecodecamp.org/t/asking-for-help-in-html-css/453948/3 "2021-04-01T16:17:14Z")

</div>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

<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:** [October 1, 2021, 4:17am UTC](https://forum.freecodecamp.org/t/asking-for-help-in-html-css/453948/4 "2021-10-01T04:17:53Z")

</div>

Closed on October 1, 2021, 4:17am UTC

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