This commit is contained in:
nelle 2022-12-23 18:53:22 -07:00
parent 0e7852ecb4
commit 0636ee3b91
5 changed files with 226 additions and 19 deletions

71
EXPERIMENTS/AI/furry.css Normal file
View file

@ -0,0 +1,71 @@
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

@ -0,0 +1,111 @@
<!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>

View file

@ -6,6 +6,7 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<button id="toggle-dark-light-mode">Toggle Dark/Light Mode</button>
<header>
<h1>Welcome to LimePot's Website!</h1>
<nav>
@ -57,5 +58,13 @@
<footer>
<p>Copyright 2022 LimePot</p>
</footer>
<script>
const toggleButton = document.getElementById('toggle-dark-light-mode');
toggleButton.addEventListener('click', () => {
document.body.classList.toggle('darkmode');
document.body.classList.toggle('lightmode');
});
</script>
</body>
</html>

View file

@ -4,27 +4,43 @@ body {
padding: 0;
}
/* Dark mode styles */
.darkmode {
header {
background-color: #333;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
header h1 {
margin: 0;
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
header nav li {
margin-left: 20px;
}
header nav a {
color: #fff;
text-decoration: none;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
}
.darkmode a {
color: #00bfff;
}
/* Light mode styles */
.lightmode {
background-color: #fff;
color: #222;
}
.lightmode a {
color: #00bfff;
}
header {
display: flex;
justify-content: space-between;
align-items: center;