This commit is contained in:
nelle 2023-01-06 05:00:42 -07:00
parent 713aaa42ef
commit 8a56aa38f6
2 changed files with 0 additions and 182 deletions

View file

@ -1,71 +0,0 @@
body {
font-family: Arial, sans-serif;
background-color: #222;
color: #fff;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #333;
border-radius: 5px;
}
h1 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
form {
display: flex;
flex-direction: column;
}
.question {
margin-bottom: 20px;
}
.question h2 {
margin-bottom: 10px;
color: #fff;
}
.question ul {
list-style: none;
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
}
.question li {
width: 50%;
}
.question input[type="radio"] {
margin-right: 10px;
}
.button {
display: block;
width: 150px;
margin: 20px auto;
padding: 10px;
background-color: #00bfff;
border: none;
color: #fff;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
}
.button:hover {
background-color: #00a0e9;
}
#result {
margin: 20px 0;
text-align: center
}

View file

@ -1,111 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fursona Quiz</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Fursona Quiz</h1>
<form id="quiz-form">
<div class="question">
<h2>What is your favorite color?</h2>
<ul>
<li>
<input type="radio" name="color" value="red">
Red
</li>
<li>
<input type="radio" name="color" value="orange">
Orange
</li>
<li>
<input type="radio" name="color" value="yellow">
Yellow
</li>
<li>
<input type="radio" name="color" value="green">
Green
</li>
<li>
<input type="radio" name="color" value="blue">
Blue
</li>
<li>
<input type="radio" name="color" value="purple">
Purple
</li>
<li>
<input type="radio" name="color" value="pink">
Pink
</li>
<li>
<input type="radio" name="color" value="other">
Other
</li>
</ul>
</div>
<div class="question">
<h2>What is your favorite animal?</h2>
<ul>
<li>
<input type="radio" name="animal" value="wolf">
Wolf
</li>
<li>
<input type="radio" name="animal" value="fox">
Fox
</li>
<li>
<input type="radio" name="animal" value="cat">
Cat
</li>
<li>
<input type="radio" name="animal" value="dog">
Dog
</li>
<li>
<input type="radio" name="animal" value="dog">
Bunny
</li>
<div class="question">
<h2>What is your favorite hobby or activity?</h2>
<ul>
<li>
<input type="radio" name="hobby" value="art">
Art
</li>
<li>
<input type="radio" name="hobby" value="music">
Music
</li>
<li>
<input type="radio" name="hobby" value="reading">
Reading
</li>
<li>
<input type="radio" name="hobby" value="writing">
Writing
</li>
<li>
<input type="radio" name="hobby" value="gaming">
Gaming
</li>
<li>
<input type="radio" name="hobby" value="sports">
Sports
</li>
<li>
<input type="radio" name="hobby" value="nature">
Nature
</li>
<li>
<input type="radio" name="hobby" value="other">
Other
</li>
</ul>
</div>
</body>
</html>