diff --git a/src/App.jsx b/src/App.jsx
index 85ffc61..96b38f9 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,5 +1,26 @@
+import { UserCard } from "./UserCard"
+import { UserCardClass } from "./UserCardClass"
+import "./assets/user.css"
+import user from "./assets/user.json"
+
function App() {
- return "Hello World"
+ return (
+
+
+
+
+
+ )
}
export default App
diff --git a/src/UserCard.jsx b/src/UserCard.jsx
new file mode 100644
index 0000000..82674df
--- /dev/null
+++ b/src/UserCard.jsx
@@ -0,0 +1,15 @@
+export function UserCard({ name, age, phoneNumber, address }) {
+ return (
+
+
{name}
+
+
Age:
+
{age}
+
Phone:
+
{phoneNumber}
+
Address:
+
{address}
+
+
+ )
+}
diff --git a/src/UserCardClass.jsx b/src/UserCardClass.jsx
new file mode 100644
index 0000000..61f70f2
--- /dev/null
+++ b/src/UserCardClass.jsx
@@ -0,0 +1,19 @@
+import React from "react"
+
+export class UserCardClass extends React.Component {
+ render() {
+ return (
+
+
{this.props.name}
+
+
Age:
+
{this.props.age}
+
Phone:
+
{this.props.phoneNumber}
+
Address:
+
{this.props.address}
+
+
+ )
+ }
+}
diff --git a/src/assets/user.css b/src/assets/user.css
new file mode 100644
index 0000000..f33546d
--- /dev/null
+++ b/src/assets/user.css
@@ -0,0 +1,29 @@
+body {
+ background: #f3f3f3;
+}
+
+.card {
+ background: white;
+ border: 1px solid #777;
+ border-radius: 0.5rem;
+ box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
+ max-width: 400px;
+ padding: 1.5rem;
+ font-family: Arial;
+}
+
+.name {
+ margin: 0;
+ margin-bottom: 2rem;
+}
+
+.body {
+ display: grid;
+ grid-template-columns: auto 1fr;
+ gap: 1rem 0.5rem;
+ padding: 0 1rem;
+}
+
+.label {
+ font-weight: bold;
+}
diff --git a/src/assets/user.json b/src/assets/user.json
new file mode 100644
index 0000000..44e040f
--- /dev/null
+++ b/src/assets/user.json
@@ -0,0 +1,6 @@
+{
+ "name": "Kyle Cook",
+ "age": 27,
+ "phoneNumber": "123-456-7890",
+ "address": "123 Main St."
+}