Tell us what’s happening:
Dear freeCodeCamp,
Greetings. Thanks for a great program. Sorry to bother, but this specific lesson makes my computer freeze. I have tried it on two different Dell laptops and three different web browsers (chrom<e, edge, and internet explorer). As soon as I type the screen freezes and my cursor freezes to the straight line text cursor. At this point I can neither type nor click anything. Great React course though. Any suggestions please?
Sincerely,
coderdc13
Your code so far
const ChildComponent = () => {
return (
<div>
<p>I am the child</p>
</div>
);
};
class ParentComponent extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div>
<h1>I am the parent</h1>
{ /* change code below this line */ }
{ /* change code above this line */ }
</div>
);
}
};
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/create-a-component-with-composition