Showing "SyntaxError"

Tell us what’s happening:
The running result shows
SyntaxError : invalid regular expression flags

Your code so far


<style>
body {
  background-color: #FFFFFF;
}

.orange {
  background-color: #FF7F00;
}

.cyan {
  background-color: #00FFFF;
}

.raspberry {
  background-color: #FF007F;
}

div {
  height: 100px;
  width: 100px;
  margin-bottom: 5px;
}
</style>

<div class="orange"></div>
<div class="cyan"></div>
<div class="raspberry"></div>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0.

Challenge: Learn about Tertiary Colors

Link to the challenge:

the error is not from your code

update your browser

1 Like

ok thank you so much!!!

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