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.