Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import MyInfo from './components/MyInfo/MyInfo';
import './index.css'

function App() {
return (
<div>
<h1>Hello World!!</h1>
</div>
<MyInfo/>
);
}

Expand Down
16 changes: 16 additions & 0 deletions src/components/MyInfo/MyInfo.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'

export default function MyInfo() {
return (
<div className="structure">
<h1>Abdulazeez Alabbasi</h1>
<p>I am 25 years old, and I am currently learning react</p>
<h3>Places I want to visit</h3>
<ul>
<li>France</li>
<li>Turkey</li>
<li>USA</li>
</ul>
</div>
)
}
19 changes: 6 additions & 13 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -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;
}