Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Asabeneh committed Oct 2, 2020
1 parent 7729986 commit 6363fec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
draft.md
react-for-everyone.md
react-for-everyone.md
component.md
2 changes: 1 addition & 1 deletion 02_Day_Introduction_to_React/02_introduction_to_react.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ As you have seen in the above example, JSX has a JavaScript and HTML like syntax
This JSX element has only on HTML element which is _h1_.

```js
const jsxElement = <h>I am a JSX element</h1> // JS with HTML
const jsxElement = <h1>I am a JSX element</h1> // JS with HTML
```

Let's make more JSX elements by declaring a new variable name title and content inside h1.
Expand Down

0 comments on commit 6363fec

Please sign in to comment.