Skip to content

Commit

Permalink
"I Just completed my first Front-End Mentor challenge - 'QR code' usi…
Browse files Browse the repository at this point in the history
…ng HTML and CSS! i'm Interested in feedback from my fellow developers on the design. Looking forward to hearing your thoughts and suggestions!"
  • Loading branch information
PeaceNaza committed Dec 19, 2023
1 parent f0885b6 commit 2c536f8
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
Binary file added images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-qr-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
body {
background-color: hsl(212, 45%, 89%);
display: flex;
justify-content: center;
align-items: center;
}

.container {
padding: 1.5rem 0.3rem;
margin: 4rem;
display: grid;
place-items: center;
background-color: hsl(0, 0%, 100%);
width: 15.7rem;
height: 100%;
border-radius: 1rem;

}

img {
width: 230px;
height: 250px;
border-radius: 0.8rem;
margin-top: -8px;
}

p {
color: hsl(218, 44%, 22%);
font-size: 15px;
font-weight: 700;
display: block;
margin-inline-start: 2rem;
margin-inline-end: 3rem;
text-align: center;
line-height: 1.2rem;
margin-left: 2.2rem;
}

span {
font-weight: 400;
color: hsl(220, 15%, 55%);
text-align: center;
margin: 3px 5px;
}

@media (max-width: 767px) {
.container {
display: grid;
place-items: center;
}
}
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QR Code</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<img src="./images/image-qr-code.png" alt="">
<p>Improve your front-end skills by building projects</p>
<span>Scan the QR code to visit Frontend Mentor and take your coding skills to<br> the next level</span>
</div>
</body>
</html>

0 comments on commit 2c536f8

Please sign in to comment.