diff --git a/Solutions/Day-03/day3/public/index.html b/Solutions/Day-03/day3/public/index.html index e727999..6000ede 100644 --- a/Solutions/Day-03/day3/public/index.html +++ b/Solutions/Day-03/day3/public/index.html @@ -24,6 +24,73 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> + + Day 0-3 React App diff --git a/Solutions/Day-03/day3/src/index.js b/Solutions/Day-03/day3/src/index.js index 2fd72f1..6e54c24 100644 --- a/Solutions/Day-03/day3/src/index.js +++ b/Solutions/Day-03/day3/src/index.js @@ -1,30 +1,63 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; -import cute from './images/cute.png'; -const header = ( -
-

Welcome to 30 Days Of React

-

Getting Started React

-

JavaScript Library

-
-) +// const header = ( +//
+//

Welcome to 30 Days Of React

+//

Getting Started React

+//

JavaScript Library

+//
+// ) + const root = ReactDOM.createRoot(document.getElementById('root')); root.render( -
-
- {header} -
-
-
- Cute Bunny! -
+
+ +

+ Subscribe +

+ +

+ Sign up with your email address to recieve news and updates +

+ +
+ + + + +
+ + +
); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals + +