Skip to content

Commit

Permalink
Merge pull request #566 from srajangupta144/main
Browse files Browse the repository at this point in the history
file is added
  • Loading branch information
iamrahulmahato authored Oct 6, 2024
2 parents 4b58332 + 8a2b872 commit 92e5c05
Show file tree
Hide file tree
Showing 2 changed files with 283 additions and 0 deletions.
143 changes: 143 additions & 0 deletions projects/feedbck_form/pro.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css">
<title>Survey Form</title>
</head>
<body>

<div id="a">
<h1>Feedback Form</h1>
</div>
<div id="l">

<form id="form">
<div id="b">
<label for="name" id="label-name">
Name
</label>
<br>
<input type="text" id="name" placeholder="Enter your Name">
</div>
<div id="b">
<label for="email" id="label-email">
Email
</label> <br>
<input type="email" id="email" placeholder="Enter your Email">
</div>
<div id="b">
<label for="age" id="label-age">
Age
</label><br>

<input type="number" id="age" placeholder="Enter your Age">
</div>
<div id="b">
<label for="role" id="label-role">
Q. Which option best describes you?
</label>
<br>
<select name="role" id="role">
<option value="student">Student</option>
<option value="intern">Intern</option>
<option value="professional">Professional</option>
<option value="other">Other</option>
</select>
</div>
<div id="c">
<label for="ques 1">
Q. What is your overall opinion of our website?
</label>
<br>
<input type="radio" id="excellent">
<label for="excellent">Excellent</label>
<br>
<input type="radio" id="good">
<label for="good">Good</label>
<br>

<input type="radio" id="average">
<label for="Average">Average</label>
<br>
<input type="radio" id="Poor">
<label for="Poor">Poor</label> <br>

</div>
<div id="c">
<label for="ques 2">
Q. How easy is it to navigate our website?
</label>
<br>
<input type="radio" id="veryeasy">
<label for="veryeasy">Very Easy</label>
<br>

<input type="radio" id="Easy">
<label for="easy">Easy</label>
<br>
<input type="radio" id="Neutral">
<label for="neutral">Neutral</label>
<br>
<input type="radio" id="difficult">
<label for="difficult">Difficult</label>
<br>
<input type="radio" id="verydifficult">
<label for="verydifficult">Very Difficult</label>

</div>
<div id="d">
<label for="ques 3" id="label-feature">
Q. What features do you find most useful on our website?
</label>
<input type="text" id="feature" placeholder="Type your text here">
</div>
<div id="d">
<label for="ques 4" id="label-improve">
Q. Are there any specific sections or features that you think could be improved?
</label>
<input type="text" id="improve" placeholder="Type your text here">
</div>
<div id="c">
<label for="ques 5">
Q. How would you rate the design and layout of the website?
</label>
<br>
<input type="radio" id="excellent">
<label for="excellent">Excellent</label> <br>
<input type="radio" id="good">
<label for="good">Good</label> <br>

<input type="radio" id="average">
<label for="Average">Average</label> <br>

<input type="radio" id="Poor">
<label for="Poor">Poor</label> <br>


</div>
<div id="d">
<label for="ques 6" id="label-6">
Q. Would you recommend our website to others? Why or why not?
</label>
<input type="text" id="6" placeholder="Type your text here">
</div>
<br>
<div id="b">
<label for="ques 7" id="label-7">
Q. Any additional suggestions or comments?

</label>
<br>
<input type="text" id="7" placeholder="Type your text here">
</div>
<div id="e">
<input type="submit" value="Submit">
//ADDED

</div>
</form>
</div>
</body>
</html>
140 changes: 140 additions & 0 deletions projects/feedbck_form/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
*
{
padding: 0;
margin: 0;
box-sizing: border-box;
}
html,body
{
height: 100%;
width: 100%;
}

body{
background: rgb(235,175,227);
background: linear-gradient(90deg, rgba(235,175,227,1) 36%, rgba(189,103,218,1) 84%);
}
#a{
height: 15%;
width: 100%;
}
#a h1{
display: flex;
justify-content: center;
font-size: 50px;
font-family: 'Times New Roman', Times, serif;
font-weight:bold;
padding-top:30px;

}
#l{
width:100%;
height: auto;
display: flex;
justify-content: center;
}

form{
margin:2px auto;
padding: 30px 20px;
max-width: 550px;
box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.5);
background-color: whitesmoke;
max-height: max-content;
margin-bottom: 30px;
font-size: larger;
}

#b{
text-align: left;
margin-bottom: 25px;
font-size: larger;
line-height: 10px;
}

#b label{
display: flex;
margin: 10px;
text-align: left;

}
#b input,
#b select{
border: 2px #777;
border-radius: 2px;
font-family: inherit;
display:flex;
width: 95%;
padding: 10px;
border-style: solid;
font-size:15px;



}
#d{
text-align: left;
font-size: larger;
gap: 50px;

}
#d label{
display: block;
margin: 10px;
line-height: 40px;
}
#d input
{
border: 2px #777;
border-radius: 2px;
font-family: inherit;
display:flex;
width: 95%;
padding: 10px;
border-style: solid;
font-size:15px;


}
#c{
display: block;
margin: 10px;
text-align: left;
font-size: larger;
line-height: 40px;


}
#c input{

border: 1px #777;
border-radius: 2px;
font-family: inherit;
display: inline-block;
font-size: larger;
line-height: 60px;
text-align: center;
font-size:15px;

}


#e{

width:100px;
height: 25px;
padding-left: 180px;
}

#e input{
background-color: black;

width:100px;
height: 30px;
font-size:20px;
color: azure;
border-radius: 20px ;



}

0 comments on commit 92e5c05

Please sign in to comment.