Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions Ishika250/google form/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Google Form</title>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<div class="form">
<div class="title-div">
<h1>Frontend Freaks</h1>
<p>This is a google form. This form is created with HTML and CSS.</p>
<p class="required">*Required</p>
</div>

<div class="name-div">
<div class="name">
What is your name?<span class="required">*</span>
</div>
<div class="input-div">
<input type="input" name="answer" placeholder="Your answer" />
</div>
</div>

<div class="college-div">
<div class="name">Enter your college name.</div>
<div class="input-div">
<input type="input" name="answer" placeholder="Your answer" />
</div>
</div>

<div class="gmail-div">
<div class="name">Enter your email.<span class="required">*</span></div>
<div class="input-div">
<input type="input" name="answer" placeholder="Your email" />
</div>
</div>

<div class="mobile-div">
<div class="name">Enter your mobile no.</div>
<div class="input-div">
<input type="input" name="answer" placeholder="Your answer" />
</div>
</div>

<div>
<input class="btn" type="submit" name="Submit" />
</div>
</div>
</body>
</html>
75 changes: 75 additions & 0 deletions Ishika250/google form/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
body {
background-color: #ede7f6;
font-family: Roboto, Sans-serif;
}

.form {
height: 1100px;
width: 600px;
margin: auto;
}

.required {
font-size: 13px;
color: red;
}

.title-div {
height: 150px;
width: 600px;
background-color: #FDFEFE;
margin: 15px;
border-radius: 8px;
border-top: 8px solid #6703c4;
padding: 25px;
}

.name-div, .college-div, .gmail-div, .mobile-div {
height: 150px;
width: 650px;
background-color: #FDFEFE;
margin: 15px;
border-radius: 8px;
}

.name {
padding-top: 20px;
padding-left: 25px;
padding-bottom: 25px;
font-size: 15px;
}

.input-div {
padding-top: 25px;
padding-left: 25px;
}

.input-div input {
width: 300px;
border: 0;
outline: 0;
border-bottom: 1.5px solid #DCD7D7;
font-size: 15px;
}

.btn {
height: 36px;
width: 100px;
background-color: #6703c4;
border-radius: 5px;
font-size: 14px;
letter-spacing: .5px;
font-weight: 540;
border: none;
padding: 10px;
position: absolute;
margin: 15px;
color: white;
}

.last-div h2 {
text-align: center;
padding-top: 50px;
color: #a2a4a6;
font-weight: 200;
}