Solution being not accepted

Tell us what’s happening:
its not accepting

Your code so far


class MyComponent extends React.Component {
 constructor(props) {
   super(props);
 }
 render() {
   // change code below this line
return(
<div >
<h1>  Hello React! </h1>
</div> );

   // change code above this line
 }
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0.

Challenge: Create a React Component

Link to the challenge:

Remove the extra spacing in this line. Right now your string is " Hello React! "

1 Like

accepted now!!!
yup!!! ,i thick white space caused some problem.