-
Notifications
You must be signed in to change notification settings - Fork 0
/
contactUs.html
68 lines (47 loc) · 1.86 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
<!DOCTYPE html>
<html>
<head>
<meta charset= 'UTF-8'>
<meta name = 'Contact Us' content ='This is the contact us section of the webpage'>
<title>Contact Us</title>
<link rel='Contact Us Stylesheet' href = 'Style.css'>
</head>
<body id = 'Contact'>
<p id = 'CUHeader'>Contact Us<p>
<div id = 'GitHub'>
<p class = 'SocialsHeader'>GitHub</p>
<img id = 'WaaaveLogo' src = 'assets/Waaave Logo.png' alt='Waaave Logo'>
</div>
<div id = 'Twitter'>
<p class = 'SocialsHeader'>Twitter</p>
<img id = 'TwitterLogo' src = 'assets/Twitter Logo.jpg' alt='Twitter Logo'>
</div>
<div id = 'AddressDiv'>
<p class = 'InformationHeader'>Address</p>
<p id = 'Address'>75 Laurier Ave. E, Ottawa, ON K1N 6N5</p>
</div>
<div id = 'NumberDiv'>
<p class = 'InformationHeader'>Number</p>
<p id = 'Number'>343-555-0193</p>
</div>
<div id = 'EmailDiv'>
<p class = 'InformationHeader'>Email</p>
<p id = 'Email'>[email protected]</p>
</div>
<div id='TextareaDiv'>
<textarea id = 'ContactUsText'>Type a message.</textarea>
</div>
<button type='button' id = 'SubmitButton'>Submit</button>
<p id = 'SubmitText'></p>
<script type='text/javascript'>
var submitFunction = function(){
var SubmitText = document.getElementById('SubmitText');
SubmitText.textContent = 'Thank you for submitting your feedback!';
var Textarea = document.getElementById('ContactUsText');
Textarea.value = ''
}
var SubmitButton = document.getElementById('SubmitButton');
SubmitButton.addEventListener('click',submitFunction);
</script>
</body>
</html>