`. Clicking the background again should restore the original CSS classes.
+Make it so that clicking on the picture *removes* the `background--active` CSS class from the outer `
`, but *adds* the `picture--active` class to the `
`. Clicking the background again should restore the original CSS classes.
Visually, you should expect that clicking on the picture removes the purple background and highlights the picture border. Clicking outside the picture highlights the background, but removes the picture border highlight.
@@ -698,7 +698,7 @@ body { margin: 0; padding: 0; height: 250px; }
-Keep in mind that if two different JSX chunks describe the same tree, their nesting (first `
` → first `
![]()
`) has to line up. Otherwise, toggling `isActive` would recreate the whole tree below and [reset its state.](/learn/preserving-and-resetting-state) This is why, if a similar JSX tree gets returned in both cases, it is better to write them as a single piece of JSX.
+Keep in mind that if two different JSX chunks describe the same tree, their nesting (first `
` → first `
`) has to line up. Otherwise, toggling `isActive` would recreate the whole tree below and [reset its state.](/learn/preserving-and-resetting-state) This is why, if a similar JSX tree gets returned in both cases, it is better to write them as a single piece of JSX.
diff --git a/src/content/learn/render-and-commit.md b/src/content/learn/render-and-commit.md
index 055111c3225..d61230e9b87 100644
--- a/src/content/learn/render-and-commit.md
+++ b/src/content/learn/render-and-commit.md
@@ -124,7 +124,7 @@ img { margin: 0 10px 10px 0; }
-* **During the initial render,** React will [create the DOM nodes](https://developer.mozilla.org/docs/Web/API/Document/createElement) for `
`, ``, and three `
` tags.
+* **During the initial render,** React will [create the DOM nodes](https://developer.mozilla.org/docs/Web/API/Document/createElement) for ``, ``, and three `` tags.
* **During a re-render,** React will calculate which of their properties, if any, have changed since the previous render. It won't do anything with that information until the next step, the commit phase.
diff --git a/src/content/learn/writing-markup-with-jsx.md b/src/content/learn/writing-markup-with-jsx.md
index be3a9ac2cdb..58b23f0e6e1 100644
--- a/src/content/learn/writing-markup-with-jsx.md
+++ b/src/content/learn/writing-markup-with-jsx.md
@@ -181,7 +181,7 @@ JSX looks like HTML, but under the hood it is transformed into plain JavaScript
### 2. Close all the tags {/*2-close-all-the-tags*/}
-JSX requires tags to be explicitly closed: self-closing tags like `
` must become `
`, and wrapping tags like `oranges` must be written as `oranges`.
+JSX requires tags to be explicitly closed: self-closing tags like `` must become `
`, and wrapping tags like `oranges` must be written as `oranges`.
This is how Hedy Lamarr's image and list items look closed:
diff --git a/src/content/reference/react-dom/components/common.md b/src/content/reference/react-dom/components/common.md
index 51b74119f7d..98e520bfcbe 100644
--- a/src/content/reference/react-dom/components/common.md
+++ b/src/content/reference/react-dom/components/common.md
@@ -176,7 +176,7 @@ These events fire only for the [``](https://developer.mozilla.org/en-US
* [`onToggle`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/toggle_event): An [`Event` handler](#event-handler) function. Fires when the user toggles the details.
* `onToggleCapture`: A version of `onToggle` that fires in the [capture phase.](/learn/responding-to-events#capture-phase-events)
-These events fire for [`
`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img), [`