diff --git a/src/App.js b/src/App.js index 7c96152..0872fea 100644 --- a/src/App.js +++ b/src/App.js @@ -1,10 +1,10 @@ import React from 'react'; +import MyInfo from './components/MyInfo/MyInfo'; +import './index.css' function App() { return ( -
-

Hello World!!

-
+ ); } diff --git a/src/components/MyInfo/MyInfo.jsx b/src/components/MyInfo/MyInfo.jsx new file mode 100644 index 0000000..8b1281d --- /dev/null +++ b/src/components/MyInfo/MyInfo.jsx @@ -0,0 +1,16 @@ +import React from 'react' + +export default function MyInfo() { + return ( +
+

Abdulazeez Alabbasi

+

I am 25 years old, and I am currently learning react

+

Places I want to visit

+ +
+ ) +} diff --git a/src/index.css b/src/index.css index ec2585e..86f68f2 100644 --- a/src/index.css +++ b/src/index.css @@ -1,13 +1,6 @@ -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', - sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; -} +.structure{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} \ No newline at end of file