rmcg.dev/FrontendMentor/newbie/order-summary-component/index.html

62 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/style.css">
<title>Frontend Mentor | Order summary card</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
</head>
<body>
<main>
<div class="card">
<div class="hero-image">
<img src="./images/illustration-hero.svg"
alt="Hero Image Person holding an audio device and wearing headphones">
</div>
<h1>Order Summary</h1>
<p>
You can now listen to millions of songs, audiobooks, and podcasts on any
device anywhere you like!
</p>
<div class="price-plan">
<img class="icon" src="./images/icon-music.svg" alt="Music icon" aria-hidden="true">
<div class="plan-type-area">
<div class="plan-type">Annual Plan</div>
<div class="plan-price">$59.99/year</div>
</div>
<a href="#" class="change-button">Change</a>
</div>
<div class="button-area">
<a href="#" class="payment-button">Proceed to Payment</a>
<a href="#" class="cancel-button">Cancel Order</a>
</div>
</div>
</main>
<!-- <div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</div> -->
</body>
</html>