-
Notifications
You must be signed in to change notification settings - Fork 0
/
contactus.html
88 lines (87 loc) · 3.25 KB
/
contactus.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
<link rel="stylesheet" href="css/home.css">
</head>
<body>
<div class="header">
<div class="headerfin">
<a href="index.html" id="home">Home</a>
<a href="puertoricotoday.html" id= "prt">Puerto Rico Today </a>
<a href="nwregion.html" id="nw">N & W Region</a>
<a href="seregion.html" id="se">S & E Region </a>
<a href="culture.html" id="culture">Music on the Island</a>
<a href="sitemap.html" id="se">Sitemap</a>
<a href="contactus.html" id="feedback">Contact Us</a>
</div>
</div>
<div>
<br><p1 id="contactusp">This page is made by Roberto Canellas-Ramirez a Puerto Rican that was born, raised and lives in Puerto Rico. This website was made through the experiences of living twenty years in the island. Please leave you feedback on what you enjoyed and what can be improved on.</p1><br><br>
<form name="myForm" onsubmit="return validate()">
<div class="abajo">
<div>
<label id="contact" for="option">What was your favorite tab?</label>
<select name="option" id="option">
<option value="null">--</option>
<option value="home">Home</option>
<option value="prt">Puerto Rico Today</option>
<option value="sw">S & W Region</option>
<option value="nw">N & W Region</option>
<option value="cul">Music on the island</option>
</select>
</div>
<br>
<div id="contact">What do you think of this website?</div>
<div>
<input type="radio" name="review" value="great"/>
<label for="great">Great</label>
<input type="radio" name="review" value="awesome"/>
<label for="awesome">Awesome</label>
<input type="radio" name="review" value="good"/>
<label for="good">Good</label>
</div>
<br>
<div>
<label for="comments">Comments:</label>
</div>
<div>
<textarea id="contact" name="comments" rows="3" cols="60"></textarea>
</div>
<br>
<div>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</div>
</div>
</form>
</div>
<script>
function validate(){
let x = document.forms["myForm"]
["option"].value;
["review"].value;
["comment"].value;
if (document.myForm.option.value == "") {
alert("Please complete form");
return false;
documet.myform.option.focus();
}
if (document.myForm.review.value == "") {
alert("Please complete form");
return false;
documet.myform.review.focus();
}
if (document.myForm.comment.value == "") {
alert("Please complete form");
return false;
documet.myform.comment.focus();
}
return (true);
}
</script>
</body>
</html>