React - Introducing Inline Styles

Tell us what’s happening:

My code isn’t working

class Colorful extends React.Component {
render() {
return (
<div style={{ color: ‘red’, fontSize: 72 }}>
Big Red

);
}
};

Your code so far

class Colorful extends React.Component {
  render() {
    return (
      <div style={{ color: 'red', fontSize: 72 }}>
        Big Red
      </div>
    );
  }
};

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

React - Introducing Inline Styles

Hi @whoishieu

Your code passes.
Reset the step and try again. If that doesn’t work, refresh the page, disable dark mode, disable ad blockers. Or, use another browser.
If the above steps do not work, you may need to restart the computer.

Happy coding