diff --git a/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_interactivity_events_state/index.md b/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_interactivity_events_state/index.md
index 21d8620a17a411f..8ef228f8b16593b 100644
--- a/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_interactivity_events_state/index.md
+++ b/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_interactivity_events_state/index.md
@@ -37,9 +37,15 @@ With our component plan worked out, it's now time to start updating our app from
## Handling events
-If you've only written vanilla JavaScript before now, you might be used to having a separate JavaScript file, where you query for some DOM nodes and attach listeners to them. For example:
+If you've only written vanilla JavaScript before now, you might be used to having a separate JavaScript file in which you query for some DOM nodes and attach listeners to them. For example, an HTML file might have a button in it, like this:
-```jsx
+```html
+
+```
+
+And a JavaScript file might have some code like this:
+
+```js
const btn = document.querySelector("button");
btn.addEventListener("click", () => {
@@ -47,7 +53,7 @@ btn.addEventListener("click", () => {
});
```
-In React, we write event handlers directly on the elements in our JSX, like this:
+In JSX, the code that describes the UI lives right alongside our event listeners:
```jsx
```
-> **Note:** This may seem counter-intuitive regarding best-practice advice that tends to advise against use of inline event handlers on HTML, but remember that JSX is actually part of your JavaScript.
-
-In the above example, we're adding an `onClick` attribute to the `