diff --git a/web-three-twitter-boilerplate b/web-three-twitter-boilerplate new file mode 160000 index 0000000..fdceacf --- /dev/null +++ b/web-three-twitter-boilerplate @@ -0,0 +1 @@ +Subproject commit fdceacf750fd799fa957787761b7aeb1e9450cfd diff --git a/week-3/js/test.js b/week-3/js/test.js new file mode 100644 index 0000000..e69de29 diff --git a/week-6.zip b/week-6.zip new file mode 100644 index 0000000..4fb3f26 Binary files /dev/null and b/week-6.zip differ diff --git a/week-6/week-6/css/style.css b/week-6/week-6/css/style.css new file mode 100644 index 0000000..248cddb --- /dev/null +++ b/week-6/week-6/css/style.css @@ -0,0 +1,64 @@ +/* CSS files add styling rules to your content */ + +* { + box-sizing: border-box; +} + +:root { + --board-size: 200px; + --line-color: grey; + --gap: 5px; +} + +body { + font-family: Arial, Helvetica, sans-serif; + +} + +main { + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; +} + + +.gameboard { + width: calc( (3 * var(--board-size)) + (2 * var(--gap)) ); + display: grid; + grid-template-columns: repeat(3, var(--board-size) ); + grid-template-rows: repeat(3, var(--board-size) ); + place-items: stretch; + background-color: var(--line-color); + grid-gap: 5px; + +} + +.square { + display: flex; + justify-content: center; + align-items: center; + background-color: white; + color: #333; + font-size: var(--board-size); + line-height: var(--board-size); + text-transform: uppercase; + margin:0; + padding:0; + cursor: pointer; + +} + +.square:hover { + background-color: #eee; +} + + +.banner { + background-color: lightblue; + position: absolute; + top: 0px; + padding: 1em; + width: 100%; + text-align: center; +} \ No newline at end of file diff --git a/week-6/week-6/index.html b/week-6/week-6/index.html new file mode 100644 index 0000000..aec9046 --- /dev/null +++ b/week-6/week-6/index.html @@ -0,0 +1,40 @@ + + +
+ + +