diff --git a/src/App.css b/src/App.css
index e20270c..9bd50f4 100644
--- a/src/App.css
+++ b/src/App.css
@@ -15,3 +15,7 @@
padding-top: 7rem;
background-color: #E6ECF0;
}
+
+ul {
+ list-style: none;
+}
\ No newline at end of file
diff --git a/src/App.js b/src/App.js
index 5f4cdf8..9566a18 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,20 +1,28 @@
import React, { Component } from 'react';
import './App.css';
import timelineData from './data/timeline.json';
-
import Timeline from './components/Timeline';
class App extends Component {
render() {
- console.log(timelineData);
- // Customize the code below
+ const postingData = timelineData.events.map ((post, i) => {
+ return (
+
+
+
+ )
+ });
+
return (
- Application title
+ React Timeline
+
);
diff --git a/src/components/Timeline.js b/src/components/Timeline.js
index 624d4ec..b38c62d 100644
--- a/src/components/Timeline.js
+++ b/src/components/Timeline.js
@@ -2,9 +2,14 @@ import React from 'react';
import './Timeline.css';
import TimelineEvent from './TimelineEvent';
-const Timeline = () => {
- // Fill in your code here
- return;
+
+const Timeline = (props) => {
+
+ return(
+
+
+
+ );
}
export default Timeline;
diff --git a/src/components/TimelineEvent.js b/src/components/TimelineEvent.js
index 9079165..773c9e3 100644
--- a/src/components/TimelineEvent.js
+++ b/src/components/TimelineEvent.js
@@ -2,9 +2,17 @@ import React from 'react';
import './TimelineEvent.css';
import Timestamp from './Timestamp';
-const TimelineEvent = () => {
- // Fill in your code here
- return;
-}
+const TimelineEvent = (props) => {
+
+ const time =
+
+ return(
+
+ {props.person}
+ {props.status}
+ {time}
+
+ );
+};
export default TimelineEvent;