No matter what I do, the test doesn’t seem to pass and when I check the browser console, it says that styles has not been defined.
Any help will be greatly appreciated,
Code is below
// Change code above this line
class Colorful extends React.Component {
render() {
// Change code below this line
const styles = {
color: 'purple',
fontSize: 40 ,
border: "2px solid purple",
};
return (
<div style={styles}>Style Me!</div>
);
// Change code above this line
}
};