Skip to content

Commit

Permalink
First Commit before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAdams committed Aug 9, 2024
1 parent 8fb0744 commit 2794b9f
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 15 deletions.
27 changes: 12 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,23 @@
<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="stylesheet" href="style.css">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:[email protected]&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:[email protected]&display=swap" rel="stylesheet">

<title>Frontend Mentor | QR code component</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>

Improve your front-end skills by building projects

Scan the QR code to visit Frontend Mentor and take your coding skills to the next level

<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>
<main>
<div class="card">
<img src="images/image-qr-code.png" alt="A QR code to visit Frontend Mentor">
<h1>Improve your front-end skills by building projects</h1>
<p>Scan the QR code to visit Frontend Mentor and take your coding skills to the next level
</p>
</div>
</main>
</body>
</html>
39 changes: 39 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
* {
margin: 0;
}

body {
background-color: hsl(212, 45%, 89%);
font-family: Outfit;
}

.card {
background-color: white;
border-radius: 20px;
text-align: center;
height: 499px;
width: 320px;
padding: 16px 16px 16px;
display:flex;
flex-direction: column;
}

img {
margin-bottom: 24px;
border-radius: 10px;
}

h1 {
color: hsl(218, 44%, 22%);
font-weight: 700;
margin-bottom: 16px;
font-size: 22px;
}

p {
color: hsl(216, 15%, 48%);
font-weight: 400;
padding-bottom: 40px;
font-size: 15px;
}

0 comments on commit 2794b9f

Please sign in to comment.