# Code Error! Please Someone Help!

**URL:** <https://forum.freecodecamp.org/t/code-error-please-someone-help/273111>\
**Category:** General\
**Created:** [April 23, 2019, 12:45am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111 "2019-04-23T00:45:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericlavar](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ericlavar/32/107476_2.png) [@ericlavar](https://forum.freecodecamp.org/u/ericlavar)\
**Post date:** [April 23, 2019, 12:45am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/1 "2019-04-23T00:45:06Z")

</div>

![Screen-Recording-4-22-2019-7-29-57-PM](https://global.discourse-cdn.com/freecodecamp/original/3X/b/0/b00c9b7208ca289ded1279e4a3fec62a5d07ee6b.gif)

Hey how’s it going people,

I’m currently using a builder that allows me to import templates and checks the coding. I run into this error on certain templates and can’t figure out how to fix it. Anyone familiar with it and able to help? The error is in the red bar. " Expected RBRACE"

---

<div class="post-metadata">

**Author:** ![JacksonBates](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jacksonbates/32/123402_2.png) [@JacksonBates](https://forum.freecodecamp.org/u/JacksonBates)\
**Post date:** [April 23, 2019, 1:37am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/2 "2019-04-23T01:37:47Z")

</div>

It’s hard to tell from that screen gif, but is there a semicolon missing on that last line?

---

<div class="post-metadata">

**Author:** ![ericlavar](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ericlavar/32/107476_2.png) [@ericlavar](https://forum.freecodecamp.org/u/ericlavar)\
**Post date:** [April 23, 2019, 3:48am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/3 "2019-04-23T03:48:03Z")

</div>

> [@JacksonBates](#):
>
> semicolon

Hey @JacksonBates

Yes, it ends with the word monospace. Am I suppose to add it there?

---

<div class="post-metadata">

**Author:** ![JacksonBates](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jacksonbates/32/123402_2.png) [@JacksonBates](https://forum.freecodecamp.org/u/JacksonBates)\
**Post date:** [April 23, 2019, 6:07am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/4 "2019-04-23T06:07:35Z")

</div>

Yeah, each css declaration should have a semicolon at the end.

---

<div class="post-metadata">

**Author:** ![ericlavar](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ericlavar/32/107476_2.png) [@ericlavar](https://forum.freecodecamp.org/u/ericlavar)\
**Post date:** [April 29, 2019, 11:38pm UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/5 "2019-04-29T23:38:40Z")

</div>

Hey @JacksonBates

Sorry for the late response but I’ve tried and it didn’t work. Anything else that can be done? I saw something in a forum about applying a li tag with padding but don’t fully understand how. Here’s the full part of the code.

```auto
 --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

```

---

<div class="post-metadata">

**Author:** ![JacksonBates](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jacksonbates/32/123402_2.png) [@JacksonBates](https://forum.freecodecamp.org/u/JacksonBates)\
**Post date:** [April 30, 2019, 12:50am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/6 "2019-04-30T00:50:18Z")

</div>

Hi,

Hmm, I need more information, I think.

You say you’re using a builder that checks coding - judging from the error, the appearance of the editor window and a bit of Googling, I think you might be trying to use CSSLint, is that correct?

Maybe you could describe a little more of:

1. what you are trying to do
2. What behaviour you’re expecting
3. What you’ve already tried to fix it.

From I’m reading about CSSlint issues elsewhere it looks like it sometimes has trouble parsing rules, so it might just be in the way this code looks to the editor (either file extension or type), or it maybe prefers a slightly different syntax to whatever your using.

Presumably, your code does what you expect in a browser and you’re just trying to get a test to pass…is that correct?

---

<div class="post-metadata">

**Author:** ![JacksonBates](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jacksonbates/32/123402_2.png) [@JacksonBates](https://forum.freecodecamp.org/u/JacksonBates)\
**Post date:** [April 30, 2019, 1:00am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/7 "2019-04-30T01:00:56Z")

</div>

I did a little more digging: [https://github.com/CSSLint/csslint/issues/682](https://github.com/CSSLint/csslint/issues/682)

It looks like CSSLint doesn’t like CSS4 custom properties yet. ☹

You might want to find another linter.

---

<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:** [January 17, 2021, 9:50am UTC](https://forum.freecodecamp.org/t/code-error-please-someone-help/273111/8 "2021-01-17T09:50:57Z")

</div>

Closed on January 17, 2021, 9:50am UTC


