ddd
4 years ago in Plain Text
<!DOCTYPE html>
<html>
<head>
<style>
h1(
color: blue;
text-align: center;
)
</style>
</head>
<body>
<h1>DAC</h1>
<p>report an illegal person<p>
<form id="form">
<p>Full name <input id="name"></input>
<p>Home city <input id="city"></input>
<p>Problem <input="text area"></input>
<p><input="button" id=submit>Submit form</input></p<
</form>
<script>
document.getElementById(submit).onclick = function(){
document.getElementById(submit).innerHTML = "Thank you, your response has been recorded";
window.alert("Thank you for submitting this, we will send units to your town immediately");
};
</script>
</body>
</html>