From 172a3c23caad50fa55c00ebb96366a933277928a Mon Sep 17 00:00:00 2001
From: Soumyadeep Das <96656148+soumyadeepdas28@users.noreply.github.com>
Date: Sun, 31 Jul 2022 00:57:37 +0530
Subject: [PATCH 1/3] Add files via upload
---
README.md | 18 +++---------------
index.html | 21 +++++++++++++++++++++
script.js | 13 +++++++++++++
style.css | 30 ++++++++++++++++++++++++++++++
4 files changed, 67 insertions(+), 15 deletions(-)
create mode 100644 index.html
create mode 100644 script.js
create mode 100644 style.css
diff --git a/README.md b/README.md
index 164b72a..1cc60c4 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,3 @@
-# ColorFlipperAssignment
-
-Recreate the color flipper as demonstrated on 9th July session.
-Instead of using RGB colorspace, use hex notation
-
-e.g. White in rgb is rgb(255,255,255) and in hex is #000000
-
-
-# Instructions to upload
-
-- Fork the repository
-- Create a new branch (with your name)
-- Upload files in the new branch.
-- Create a pull request.
-
+# Soumyadeep Das
+# BCA 1B
+# 211001102090
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..2bec530
--- /dev/null
+++ b/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..bc1647c
--- /dev/null
+++ b/script.js
@@ -0,0 +1,13 @@
+function generate()
+{
+ var a=(Math.floor(Math.random()*16777215)).toString(16);
+ document.getElementById('output').innerText = a;
+ document.body.style.backgroundColor = "#" + a;
+ color.innerHTML = "#" + a;
+ console.log(a)
+
+
+}
+generate()
+
+
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..d5a1cbf
--- /dev/null
+++ b/style.css
@@ -0,0 +1,30 @@
+#reg-form{
+ background-color:#000000;
+ color:white;
+ font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
+ font-style:oblique;
+ font-size: xx-large;
+ width: 200px;
+ padding: 100px 100px 100px 100px;
+ margin: 180px ;
+ opacity: 1;
+ border-radius: 40px;
+
+}
+
+#i1{
+ opacity: 0.9;
+}
+.button {
+ background-color: #ffffff; /* Green */
+ border: none;
+ color:black;
+ padding: 16px 10px;
+ text-align: center;
+ text-decoration: none;
+ display: inline-block;
+ font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
+ font-style:initial;
+ font-size: 16px;
+ border-radius: 30px;
+ }
From 2b274eef60582f9c696a76e32f2208356d59e13a Mon Sep 17 00:00:00 2001
From: Soumyadeep Das <96656148+soumyadeepdas28@users.noreply.github.com>
Date: Sun, 31 Jul 2022 10:32:58 +0530
Subject: [PATCH 2/3] Update style.css
---
style.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/style.css b/style.css
index d5a1cbf..aa3dec7 100644
--- a/style.css
+++ b/style.css
@@ -16,7 +16,7 @@
opacity: 0.9;
}
.button {
- background-color: #ffffff; /* Green */
+ background-color: #ffffff;
border: none;
color:black;
padding: 16px 10px;
From e1c628865761c8479b92201fe21e0a9985c773af Mon Sep 17 00:00:00 2001
From: Soumyadeep Das <96656148+soumyadeepdas28@users.noreply.github.com>
Date: Tue, 27 Sep 2022 20:06:14 +0530
Subject: [PATCH 3/3] Update README.md
---
README.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1cc60c4..ac2e587 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
# Soumyadeep Das
# BCA 1B
-# 211001102090
\ No newline at end of file
+# 211001102090
+#This is used for assignment submission purpose