PK 6T[ project-html/README.mdUT h# Project.html
A Pen created on CodePen.
Original URL: [https://codepen.io/amandahlatshwayo/pen/GgoQvvd](https://codepen.io/amandahlatshwayo/pen/GgoQvvd).
PKOUY PK 6T[ project-html/LICENSE.txtUT hThe MIT License (MIT)
Copyright (c) 2025 Amanda Hlatshwayo (https://codepen.io/amandahlatshwayo/pen/GgoQvvd)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
PK`n n PK 6T[ project-html/src/index.htmlUT h
Coffee Lovers Unite!
Your daily dose of energy and happiness
Welcome to our coffee landing page! Here, we celebrate the
magic of coffee and how it brings people together.
Discover the finest beans, brewing techniques, and stories from passionate coffee enthusiasts.
Do you want to know your perfect coffee type?
PKW W PK 6T[ project-html/src/style.cssUT hbody {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to right, #f5f0e1, #d4c3a4);
color: #333;
line-height: 1.6;
}
header {
text-align: center;
padding: 50px 20px;
background: linear-gradient(to right, #6f4e37, #c69c6d);
color: white;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
h1 {
font-size: 48px;
margin-bottom: 10px;
}
h2 {
font-size: 32px;
margin-bottom: 20px;
}
p {
font-size: 18px;
padding: 0 20px;
}
.highlight {
color: #c44d3a;
font-weight: bold;
}
.interactive {
text-align: center;
margin: 30px 0;
}
button {
padding: 10px 20px;
font-size: 18px;
font-weight: bold;
color: white;
background-color: #c44d3a;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s, transform 0.3s;
}
button:hover {
background-color: #a13727;
transform: scale(1.05);
}
.coffee-image {
display: block;
margin: 20px auto;
width: 300px;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
hr {
margin: 40px 0;
border: 0;
border-top: 2px solid #c44d3a;
}
a {
color: #6f4e37;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
PK` PK 6T[ project-html/src/script.jsUT hlet button = document.getElementById("coffeeButton");
button.addEventListener("click", function() {
let name = prompt("What's your first name?");
let age = prompt("How old are you?");
if (age >= 18) {
alert("Hi " + name + "! You can enjoy all types of coffee safely!");
} else {
alert("Hi " + name + "! You might want to stick to decaf for now!");
}
});
PKav v PK 6T[ project-html/dist/index.htmlUT h
Project.html
Coffee Lovers Unite!
Your daily dose of energy and happiness
Welcome to our coffee landing page! Here, we celebrate the
magic of coffee and how it brings people together.
Discover the finest beans, brewing techniques, and stories from passionate coffee enthusiasts.
Do you want to know your perfect coffee type?
PKF F PK 6T[ project-html/dist/style.cssUT hbody {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to right, #f5f0e1, #d4c3a4);
color: #333;
line-height: 1.6;
}
header {
text-align: center;
padding: 50px 20px;
background: linear-gradient(to right, #6f4e37, #c69c6d);
color: white;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
h1 {
font-size: 48px;
margin-bottom: 10px;
}
h2 {
font-size: 32px;
margin-bottom: 20px;
}
p {
font-size: 18px;
padding: 0 20px;
}
.highlight {
color: #c44d3a;
font-weight: bold;
}
.interactive {
text-align: center;
margin: 30px 0;
}
button {
padding: 10px 20px;
font-size: 18px;
font-weight: bold;
color: white;
background-color: #c44d3a;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s, transform 0.3s;
}
button:hover {
background-color: #a13727;
transform: scale(1.05);
}
.coffee-image {
display: block;
margin: 20px auto;
width: 300px;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
hr {
margin: 40px 0;
border: 0;
border-top: 2px solid #c44d3a;
}
a {
color: #6f4e37;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}PK8 PK 6T[ project-html/dist/script.jsUT hlet button = document.getElementById("coffeeButton");
button.addEventListener("click", function() {
let name = prompt("What's your first name?");
let age = prompt("How old are you?");
if (age >= 18) {
alert("Hi " + name + "! You can enjoy all types of coffee safely!");
} else {
alert("Hi " + name + "! You might want to stick to decaf for now!");
}
});PKu u PK 6T[OUY project-html/README.mdUT hPK 6T[`n n project-html/LICENSE.txtUT hPK 6T[W W project-html/src/index.htmlUT hPK 6T[` Q project-html/src/style.cssUT hPK 6T[av v b project-html/src/script.jsUT hPK 6T[F F ) project-html/dist/index.htmlUT hPK 6T[8 project-html/dist/style.cssUT hPK 6T[u u project-html/dist/script.jsUT hPK