-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (83 loc) · 3.46 KB
/
index.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
<!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>Frieda Landing Page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class = "header">
<div class = "left_header">
<p id="Header-logo">Frieda is a Cat</p>
</div>
<div class = "right_header">
<p id = "Header-links">Want to know about her boyfriend Floyd? <a id = #CatLink href="Floyd.html">Click here!</a></p>
</div>
</div>
<div class = "content">
<div class = "left_content">
<p id="awesome_text"> Frieda is AWESOME</p>
<p id = "Desc_text"> This little cat can purr over 100 times per minute! Her secret? 16hrs of sleep a day and a knack for treats</p>
<button id = "sign_up_button" onclick="sendEmail()">Pledge soul to Frieda</button>
</div>
<div class = "right_content">
<img id = "Frieda_picture" src = "imgs/Frieda.jpg" alt="Cutest cat ever">
</div>
</div>
<div class = "random">
<div class = "info_header">
<p id = "information_text">Some Frieda Facts</p>
</div>
<div class = "cards">
<div class = "img_card">
<img class = "random_pic" src = "imgs/Frieda2.jpg" alt="Cutest cat ever">
<p class ="text-frieda">Frieda weights only 7.7 lbs!</p>
</div>
<div class = "img_card">
<img class = "random_pic" src = "imgs/Frieda3.jpg" alt="Cutest cat ever">
<p class ="text-frieda">Frieda's fur is as soft as velvet</p>
</div>
<div class = "img_card">
<img class = "random_pic" src = "imgs/Frieda1.jpg" alt="Cutest cat ever">
<p class ="text-frieda">Frieda loves snuggling with her boyfriend Floyd</p>
</div>
<div class = "img_card">
<img class = "random_pic" src = "imgs/Frieda4.jpg" alt="Cutest cat ever">
<p class ="text-frieda">Frieda chirps around 34 times a day!</p>
</div>
</div>
</div>
<div class = "quote">
<div id = "quote-space">
<p id = "quote-text"> "mrrrap, chirp chirp, meowww"</p>
<p id = "frieda-quote-name"> - Frieda</p>
</div>
</div>
<div class = "action">
<div class = "call-action-text">
<p>Call to action! Let Frieda know you love her</p>
<p>Sign here to proclaim Frieda as the snuggliest cat of 2024</p>
</div>
<div class = "action-button">
<button id = "sign_up_button" onclick="sendEmail()">Pledge soul to Frieda</button>
</div>
</div>
<div class = "footer">
<p>Copyright © Frieda Elbl Runkle McKernon Droguett</p>
</div>
<script>
function sendEmail() {
// Define the email parameters
var email = "selbl@stanford.edu";
var subject = "Frieda";
var body = "I have decided to pledge my soul to Frieda. Long may she reign!";
// Construct the mailto link
var mailtoLink = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
// Open the mailto link in a new window
window.location.href = mailtoLink;
}
</script>
</body>
</html>