Skip to content

Commit

Permalink
issues with module 3
Browse files Browse the repository at this point in the history
  • Loading branch information
David Brandon committed Jan 6, 2025
1 parent 4f8140a commit 19a84af
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions exercises/react-vite/03-intro-to-jsx/01-problem/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "./App.css"

function App() {
return (
<>
Expand Down
2 changes: 0 additions & 2 deletions exercises/react-vite/03-intro-to-jsx/01-solution/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "./App.css"

function App() {
return (
<>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import CheeseThumbnail from "place-my-order-assets/images/2-thumbnail.jpg"
import PoutineThumbnail from "place-my-order-assets/images/4-thumbnail.jpg"
import "./App.css"

function App() {
const restaurants = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import CheeseThumbnail from "place-my-order-assets/images/2-thumbnail.jpg"
import PoutineThumbnail from "place-my-order-assets/images/4-thumbnail.jpg"
import "./App.css"

function App() {
const restaurants = {
Expand Down
2 changes: 1 addition & 1 deletion src/react-vite/03-intro-to-jsx/intro-to-jsx.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ In HTML, some elements are self-closing and don’t need a closing tag.
For example: the `img` element is a self-closing element:

```html
<img alt="" src="image.png" />
<img alt="" src="image.png">
```

In JSX, no elements are self-closing, which means that _all_ elements must have a closing tag, like the `img` below:
Expand Down

0 comments on commit 19a84af

Please sign in to comment.