From 6363fec02b54f8b9d348f2b938a2fa7cbd2df055 Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Fri, 2 Oct 2020 16:19:04 +0300 Subject: [PATCH] minor fixes --- .gitignore | 3 ++- 02_Day_Introduction_to_React/02_introduction_to_react.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2105518..c99fe19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ draft.md -react-for-everyone.md \ No newline at end of file +react-for-everyone.md +component.md \ No newline at end of file diff --git a/02_Day_Introduction_to_React/02_introduction_to_react.md b/02_Day_Introduction_to_React/02_introduction_to_react.md index 4e6a9f9..91187c5 100644 --- a/02_Day_Introduction_to_React/02_introduction_to_react.md +++ b/02_Day_Introduction_to_React/02_introduction_to_react.md @@ -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 = I am a JSX element // JS with HTML +const jsxElement =

I am a JSX element

// JS with HTML ``` Let's make more JSX elements by declaring a new variable name title and content inside h1.