From fbe34bf89c66a6da3a32ec4061cee2e2c0dd53bb Mon Sep 17 00:00:00 2001 From: Kyle Date: Wed, 4 Oct 2017 21:00:04 -0500 Subject: [PATCH] twitter clone homework --- public/App.js | 10 ++++++++-- public/Blue.js | 10 ++++++++++ public/Footer.js | 4 ++++ public/Green.js | 10 ++++++++++ public/Header.js | 4 ++++ public/Kat1.js | 5 +++++ public/Kat2.js | 4 ++++ public/Kat3.js | 5 +++++ public/Main.js | 10 ++++++++-- public/Red.js | 10 ++++++++++ public/index.html | 25 +++++++++++++++++++------ public/styles.css | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 133 insertions(+), 10 deletions(-) create mode 100644 public/Blue.js create mode 100644 public/Footer.js create mode 100644 public/Green.js create mode 100644 public/Header.js create mode 100644 public/Kat1.js create mode 100644 public/Kat2.js create mode 100644 public/Kat3.js create mode 100644 public/Red.js create mode 100644 public/styles.css diff --git a/public/App.js b/public/App.js index a46a147..4fd6aef 100644 --- a/public/App.js +++ b/public/App.js @@ -1,3 +1,9 @@ function App(){ - return
-} \ No newline at end of file + return ( +
+
+
+
+
+ ) +} diff --git a/public/Blue.js b/public/Blue.js new file mode 100644 index 0000000..387050e --- /dev/null +++ b/public/Blue.js @@ -0,0 +1,10 @@ +function Blue() { + + return ( +
+

muh background is blue

+ +

lorem ipsum

+
+ ) +} diff --git a/public/Footer.js b/public/Footer.js new file mode 100644 index 0000000..1760927 --- /dev/null +++ b/public/Footer.js @@ -0,0 +1,4 @@ +function Footer() { + + return

smelly footer

+} diff --git a/public/Green.js b/public/Green.js new file mode 100644 index 0000000..45bf6a1 --- /dev/null +++ b/public/Green.js @@ -0,0 +1,10 @@ +function Green() { + + return ( +
+

muh background is green

+ +

lorem ipsum

+
+ ) +} diff --git a/public/Header.js b/public/Header.js new file mode 100644 index 0000000..3e0cea2 --- /dev/null +++ b/public/Header.js @@ -0,0 +1,4 @@ +function Header() { + + return

Welcome to Kitter

+} diff --git a/public/Kat1.js b/public/Kat1.js new file mode 100644 index 0000000..a39349b --- /dev/null +++ b/public/Kat1.js @@ -0,0 +1,5 @@ +function Kat1() { + return ( + + ) +} diff --git a/public/Kat2.js b/public/Kat2.js new file mode 100644 index 0000000..529f5a3 --- /dev/null +++ b/public/Kat2.js @@ -0,0 +1,4 @@ +function Kat2() { + + return +} diff --git a/public/Kat3.js b/public/Kat3.js new file mode 100644 index 0000000..7897785 --- /dev/null +++ b/public/Kat3.js @@ -0,0 +1,5 @@ +function Kat3() { + return ( + + ) +} diff --git a/public/Main.js b/public/Main.js index cb7c512..092092a 100644 --- a/public/Main.js +++ b/public/Main.js @@ -1,3 +1,9 @@ function Main(){ - return
Hello
-} \ No newline at end of file + return ( +
+ + + +
+ ) +} diff --git a/public/Red.js b/public/Red.js new file mode 100644 index 0000000..1e5120c --- /dev/null +++ b/public/Red.js @@ -0,0 +1,10 @@ +function Red() { + + return ( +
+

muh background is red

+ +

lorem ipsum

+
+ ) +} diff --git a/public/index.html b/public/index.html index 460ce2f..5e29941 100644 --- a/public/index.html +++ b/public/index.html @@ -13,6 +13,7 @@ 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`. --> + React App @@ -20,18 +21,18 @@
- --> + + + + + + + + + + + + - + diff --git a/public/styles.css b/public/styles.css new file mode 100644 index 0000000..c3d39c8 --- /dev/null +++ b/public/styles.css @@ -0,0 +1,46 @@ +.header { + width: auto; + height: 10vh; + background-color: grey; + text-align: center; +} + +.main { + display: flex; + height: 75vh; + width: auto; + justify-content: center; +} + +.red { + width: 30%; + height: 100%; + background-color: red; + text-align: center; +} + +.green { + width: 30%; + height: 100%; + background-color: green; + text-align: center; +} + +.blue { + width: 30%; + height: 100%; + background-color: blue; + text-align: center; +} + +.kat1 { + height: 75%; + width: auto; +} + +.footer { + width: auto; + height: 10vh; + background-color: grey; + text-align: center; +}