🌍 Public
Viewing a saved revision (read-only)
caa91e2af5fa45d7ad21318e70f97f8b
Small tests
This example demonstrates how React event handlers interact with contentEditable elements, rendering a large "Hey!" message that must be clicked or typed into to trigger console logs. The code defines a React class component with `handleClick` and `handleChange` methods bound to `onClick` and `onInput` props, using ReactDOM to mount the app into the root div. It relies on React 16.10.0 and ReactDOM production builds loaded via CDN, showcasing synthetic event handling on an editable HTML element.
AI-generated descriptionReact Starter code.