Here's the HTML code for an interactive and colorful permission form for filming:
HTML:
html
Filming Permission Form
Permission Form for Filming
CSS (styles.css):
css
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
padding: 20px;
}
h1 {
color: #333;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
color: #666;
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="date"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
JavaScript (script.js):
javascript
document.getElementById('filmingPermissionForm').addEventListener('submit', function(event) {
event.preventDefault();
// Add logic to handle form submission (e.g., send data to server, show success message)
// This is where you can add interactive behavior using JavaScript
});