diff --git a/public/App.js b/public/App.js index a46a147..5b6ba55 100644 --- a/public/App.js +++ b/public/App.js @@ -1,3 +1,15 @@ function App(){ - return
-} \ No newline at end of file + return ( +
+
+
+
+ ) +} diff --git a/public/Box.js b/public/Box.js new file mode 100644 index 0000000..ec4988d --- /dev/null +++ b/public/Box.js @@ -0,0 +1,8 @@ +function Box() { + return ( +

+ This is a box +

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

+ This is the third box +

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

+ Foot +

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

+ Head +

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

+ This is the Left +

+ ) + +} diff --git a/public/Main.js b/public/Main.js index cb7c512..5b48efb 100644 --- a/public/Main.js +++ b/public/Main.js @@ -1,3 +1,9 @@ function Main(){ - return
Hello
-} \ No newline at end of file + return( +

+ Tacos +

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

+ This is a new box +

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

+ + This is a nine + +

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

+ This is the Right +

+ ) + +} diff --git a/public/index.html b/public/index.html index 460ce2f..634b334 100644 --- a/public/index.html +++ b/public/index.html @@ -4,6 +4,7 @@ + - + + + + + + + + + + + + + diff --git a/public/styles.css b/public/styles.css new file mode 100644 index 0000000..315e054 --- /dev/null +++ b/public/styles.css @@ -0,0 +1,100 @@ + + + + +.container { + display: grid; + grid-template-columns: 100px 1fr 1fr 100px; + grid-template-rows: repeat(3, 1fr); + grid-template-areas: + 'leftside head . rightside' + 'main box newbox .' + 'boxthree . foot nine'; + grid-gap: 10px 10px; + margin: 10px; +} + + + + + +.HeaderClass { + background-color: red; + grid-area: head; +} + + +.FooterClass { + background-color: blue; + grid-area: foot; +} + +.MainClass { + background-color: green; + grid-area: main; +} + +.LeftsideClass { + background-color: powderblue; + grid-area: leftside; +} + +.RightsideClass { + background-color: orange; + grid-area: rightside; +} + + + +.BoxClass { + background-color: purple; + grid-area: newbox; +} + +.NewBoxClass { + background-color: yellow; + grid-area: box; +} + +.BoxThreeClass { + background-color: pink; + grid-area: boxthree; +} + +.NineClass { + background-color: brown; + grid-area: nine; +} + + + + +@media only screen and (min-width : 321px) and (max-width : 511px) { + .container { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-template-rows: repeat(auto, 1fr); + grid-template-areas: + 'leftside head' + 'newbox rightside' + 'main box ' + 'boxthree . ' + 'foot nine'; + grid-gap: 10px 10px; + } +} + + +@media only screen and (min-width : 512px) and (max-width : 767px) { + .container { + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: repeat(auto, 1fr); + grid-template-areas: + 'leftside head newbox' + 'rightside main box ' + '.boxthree . ' + 'foot nine.'; + grid-gap: 10px 10px; + } +}