From b65adf1517681b139f20e40d4e47902aac921b2d Mon Sep 17 00:00:00 2001 From: Anish Roy Date: Sat, 30 Jan 2021 17:29:28 +0530 Subject: [PATCH 1/8] Added Entry --- index.css | 6 ++ index.html | 195 +++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 172 insertions(+), 29 deletions(-) diff --git a/index.css b/index.css index 373135f..167e729 100644 --- a/index.css +++ b/index.css @@ -25,3 +25,9 @@ width: 200px; background-color: aliceblue; } + + + + + + diff --git a/index.html b/index.html index f5b3c84..4669cff 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,8 @@ Color Game + + +
No. of tries
+
+
+
+
+ + + + + +
From cee88711cf5cfcb0ba725dd174d890770644ac1c Mon Sep 17 00:00:00 2001 From: Anish Roy Date: Sun, 31 Jan 2021 10:37:19 +0530 Subject: [PATCH 2/8] Added entry --- index.css | 7 +++++-- index.html | 27 +++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/index.css b/index.css index 167e729..b4b1961 100644 --- a/index.css +++ b/index.css @@ -4,8 +4,9 @@ } #header { - background-color: lightpink; + background-color:lightsalmon; height: 30vh; + display: flex; flex-direction: column; justify-content: center; @@ -13,7 +14,7 @@ } #container { - background-color: black; + background-color:darkslateblue; height: 70vh; display: flex; justify-content: space-evenly; @@ -27,6 +28,8 @@ } + + diff --git a/index.html b/index.html index 4669cff..d6d232c 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,20 @@ Color Game + + + @@ -21,8 +33,14 @@

Guessing Game

+ + + + - + + + @@ -56,7 +74,8 @@

Guessing Game

function newGame() { - + container.style.background = "darkslateblue"; + header.style.background = "lightsalmon"; x = Math.floor(Math.random() * 6 + 1); @@ -148,6 +167,7 @@

Guessing Game

document.getElementById("header").style.background = correctColor; + } else { @@ -193,6 +213,9 @@

Guessing Game

} }); + + + From 5cf24e1fef914d0346321a6dca29113b4ed8041a Mon Sep 17 00:00:00 2001 From: Anish Roy Date: Sun, 31 Jan 2021 10:44:48 +0530 Subject: [PATCH 3/8] Added entry --- index.css | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.css b/index.css index b4b1961..278fa9b 100644 --- a/index.css +++ b/index.css @@ -14,7 +14,7 @@ } #container { - background-color:darkslateblue; + background-color: black; height: 70vh; display: flex; justify-content: space-evenly; diff --git a/index.html b/index.html index d6d232c..a4a0096 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@

Guessing Game

function newGame() { - container.style.background = "darkslateblue"; + container.style.background = "black"; header.style.background = "lightsalmon"; x = Math.floor(Math.random() * 6 + 1); From 90357def1e48a3b88aded80467ee22fa80ff6c14 Mon Sep 17 00:00:00 2001 From: Anish Roy Date: Tue, 2 Feb 2021 00:22:51 +0530 Subject: [PATCH 4/8] Modified changes: rows --- index.css | 12 +++++++++++- index.html | 5 +++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/index.css b/index.css index 278fa9b..8d581de 100644 --- a/index.css +++ b/index.css @@ -16,15 +16,25 @@ #container { background-color: black; height: 70vh; - display: flex; + display: grid; + grid-template-columns: 200 px 200px 200px; + grid-template-rows: 1fr 1fr; justify-content: space-evenly; align-items: center; + } .tile { height: 200px; width: 200px; background-color: aliceblue; + +} +.row { + display: flex; + flex-direction: row; + width: 50vh; + justify-content: space-evenly; } diff --git a/index.html b/index.html index a4a0096..ce8e35c 100644 --- a/index.html +++ b/index.html @@ -27,12 +27,17 @@

Guessing Game

No. of tries
+
+
+
+
+
From 63ccc7d5c5a63a256b6638811f368d2df95e9484 Mon Sep 17 00:00:00 2001 From: Anish Roy Date: Tue, 2 Feb 2021 00:31:23 +0530 Subject: [PATCH 5/8] Add --- index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.css b/index.css index 8d581de..6c72e7d 100644 --- a/index.css +++ b/index.css @@ -29,12 +29,14 @@ width: 200px; background-color: aliceblue; + } .row { display: flex; flex-direction: row; - width: 50vh; + width: 100vh; justify-content: space-evenly; + } From 02514d76520be27207c12d8986509977df7c3cdd Mon Sep 17 00:00:00 2001 From: anishroy1802 <73432372+anishroy1802@users.noreply.github.com> Date: Tue, 2 Feb 2021 00:33:18 +0530 Subject: [PATCH 6/8] Update index.css --- index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.css b/index.css index 6c72e7d..7fb6bcf 100644 --- a/index.css +++ b/index.css @@ -34,7 +34,7 @@ .row { display: flex; flex-direction: row; - width: 100vh; + width: 150vh; justify-content: space-evenly; } From 383bc433f9e2833547870517a2bb7dab8b53104c Mon Sep 17 00:00:00 2001 From: anishroy1802 <73432372+anishroy1802@users.noreply.github.com> Date: Sun, 28 Feb 2021 01:39:59 +0530 Subject: [PATCH 7/8] Add files via upload Uploaded boilerplate code --- Udai Hackathon/display-search.html | 31 ++++++++++++++ Udai Hackathon/skeleton-doc.css | 69 ++++++++++++++++++++++++++++++ Udai Hackathon/skeleton-doc.html | 43 +++++++++++++++++++ 3 files changed, 143 insertions(+) create mode 100644 Udai Hackathon/display-search.html create mode 100644 Udai Hackathon/skeleton-doc.css create mode 100644 Udai Hackathon/skeleton-doc.html diff --git a/Udai Hackathon/display-search.html b/Udai Hackathon/display-search.html new file mode 100644 index 0000000..2e5adcf --- /dev/null +++ b/Udai Hackathon/display-search.html @@ -0,0 +1,31 @@ + + + Display search results + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Udai Hackathon/skeleton-doc.css b/Udai Hackathon/skeleton-doc.css new file mode 100644 index 0000000..e32943c --- /dev/null +++ b/Udai Hackathon/skeleton-doc.css @@ -0,0 +1,69 @@ +* { + margin: 0; + padding: 0; +} + +#header { + background-color:khaki; + height: 30vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + + +/* Add a black background color to the top navigation bar */ +.topnav { + overflow: hidden; + background-color:darkolivegreen; + } + + /* Style the links inside the navigation bar */ + .topnav a { + float: left; + display: block; + background-color:aquamarine; + color: black; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; + } + + /* Change the color of links on hover */ + .topnav a:hover { + background-color: yellow + color: white; + } + + /* Style the "active" element to highlight the current page */ + .topnav a.active { + background-color: teal; + color: white; + } + + /* Style the search box inside the navigation bar */ + .topnav input[type=text] { + float:right + padding: 10px; + border: none; + margin-top: 8px; + margin-right: 16px; + font-size: 17px; + } + + /* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */ + @media screen and (max-width: 600px) { + .topnav a, .topnav input[type=text] { + float: none; + display: block; + text-align: left; + width: 100%; + margin: 0; + padding: 14px; + } + .topnav input[type=text] { + border: 1px solid #ccc; + } + } \ No newline at end of file diff --git a/Udai Hackathon/skeleton-doc.html b/Udai Hackathon/skeleton-doc.html new file mode 100644 index 0000000..111a668 --- /dev/null +++ b/Udai Hackathon/skeleton-doc.html @@ -0,0 +1,43 @@ + + + Rotten Potatoes + + + + + + + + +
+ Home + About Our Website + Contact +
+
+ + +
+
+
+ + + + + + + + + \ No newline at end of file From ca8880b4b5f6dffbf2c06321a3badfae5d2e577d Mon Sep 17 00:00:00 2001 From: anishroy1802 <73432372+anishroy1802@users.noreply.github.com> Date: Sun, 28 Feb 2021 01:43:15 +0530 Subject: [PATCH 8/8] Delete Udai Hackathon directory --- Udai Hackathon/display-search.html | 31 -------------- Udai Hackathon/skeleton-doc.css | 69 ------------------------------ Udai Hackathon/skeleton-doc.html | 43 ------------------- 3 files changed, 143 deletions(-) delete mode 100644 Udai Hackathon/display-search.html delete mode 100644 Udai Hackathon/skeleton-doc.css delete mode 100644 Udai Hackathon/skeleton-doc.html diff --git a/Udai Hackathon/display-search.html b/Udai Hackathon/display-search.html deleted file mode 100644 index 2e5adcf..0000000 --- a/Udai Hackathon/display-search.html +++ /dev/null @@ -1,31 +0,0 @@ - - - Display search results - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Udai Hackathon/skeleton-doc.css b/Udai Hackathon/skeleton-doc.css deleted file mode 100644 index e32943c..0000000 --- a/Udai Hackathon/skeleton-doc.css +++ /dev/null @@ -1,69 +0,0 @@ -* { - margin: 0; - padding: 0; -} - -#header { - background-color:khaki; - height: 30vh; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - - -/* Add a black background color to the top navigation bar */ -.topnav { - overflow: hidden; - background-color:darkolivegreen; - } - - /* Style the links inside the navigation bar */ - .topnav a { - float: left; - display: block; - background-color:aquamarine; - color: black; - text-align: center; - padding: 14px 16px; - text-decoration: none; - font-size: 17px; - } - - /* Change the color of links on hover */ - .topnav a:hover { - background-color: yellow - color: white; - } - - /* Style the "active" element to highlight the current page */ - .topnav a.active { - background-color: teal; - color: white; - } - - /* Style the search box inside the navigation bar */ - .topnav input[type=text] { - float:right - padding: 10px; - border: none; - margin-top: 8px; - margin-right: 16px; - font-size: 17px; - } - - /* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */ - @media screen and (max-width: 600px) { - .topnav a, .topnav input[type=text] { - float: none; - display: block; - text-align: left; - width: 100%; - margin: 0; - padding: 14px; - } - .topnav input[type=text] { - border: 1px solid #ccc; - } - } \ No newline at end of file diff --git a/Udai Hackathon/skeleton-doc.html b/Udai Hackathon/skeleton-doc.html deleted file mode 100644 index 111a668..0000000 --- a/Udai Hackathon/skeleton-doc.html +++ /dev/null @@ -1,43 +0,0 @@ - - - Rotten Potatoes - - - - - - - - -
- Home - About Our Website - Contact -
-
- - -
-
-
- - - - - - - - - \ No newline at end of file