Syntax error on 4/6


#1

I got below error When I add two more css properties in Instruction 1.

Oops! The test returned an error. Maybe you have a syntax error, or a typo. See full error.

Below is my code :


const styles = {
  background: 'lightblue',
  color			: 'darkred',
  marginTop	: 100px,
  fontSize	: 50px
}

I have no idea why isn't working


#2

For starters, you have a lot of whitespace. It should look like this:

const styles = {
  background: `lightblue`,
  color: `darkred`,
  marginTop: 100px,
  fontSize: 50px

#3

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