current state, switching branches
This commit is contained in:
parent
c796607c4f
commit
5b661d6ddd
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1,
|
||||
maximum-scale=5"
|
||||
/>
|
||||
|
||||
<link rel="icon" href="devchallenges.png" />
|
||||
|
||||
<link
|
||||
rel="shortcut icon"
|
||||
type="image/x-icon"
|
||||
href="https://devchallenges.io/"
|
||||
/>
|
||||
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<title>Devchallenges</title>
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-family: "Poppins", sans-serif;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.welcome {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.welcome-text {
|
||||
margin-top: 30vh;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.welcome-text p {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.welcome-text h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.welcome-text a {
|
||||
color: #f7542e;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="welcome">
|
||||
<div class="welcome-text">
|
||||
<h1>
|
||||
Welcome to
|
||||
<a href="https://devchallenges.io/" target="_blank"
|
||||
>devchallenges.io</a
|
||||
>
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
If you have any questions, don't hesitate to ask on Discord. Here are
|
||||
7 general steps to complete the challenge:
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li><b>Step 1:</b> Create a new repository on github</li>
|
||||
<li><b>Step 2:</b> Copy resources, README.md to your repository</li>
|
||||
<li>
|
||||
<b>Step 3:</b> Login to Figma to checkout font, color, spacing,..
|
||||
</li>
|
||||
<li><b>Step 4:</b> Complete all user stories</li>
|
||||
<li><b>Step 5:</b> Update README.md</li>
|
||||
<li><b>Step 6:</b> Deploy your app and submit your solution</li>
|
||||
<li>
|
||||
<b>Step 7:</b> Share your solution on Discord, Twitter and other
|
||||
platforms to ask for feedback
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,95 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1,
|
||||
maximum-scale=5"
|
||||
/>
|
||||
|
||||
<link rel="icon" href="devchallenges.png" />
|
||||
<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>Challenge 1: 404 Not Found</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<link
|
||||
rel="shortcut icon"
|
||||
type="image/x-icon"
|
||||
href="https://devchallenges.io/"
|
||||
/>
|
||||
<body>
|
||||
<header>
|
||||
<h1>404 NOT FOUND</h1>
|
||||
</header>
|
||||
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<title>Devchallenges</title>
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-family: "Poppins", sans-serif;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.welcome {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.welcome-text {
|
||||
margin-top: 30vh;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.welcome-text p {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.welcome-text h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.welcome-text a {
|
||||
color: #f7542e;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="welcome">
|
||||
<div class="welcome-text">
|
||||
<h1>
|
||||
Welcome to
|
||||
<a href="https://devchallenges.io/" target="_blank"
|
||||
>devchallenges.io</a
|
||||
>
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
If you have any questions, don't hesitate to ask on Discord. Here are
|
||||
7 general steps to complete the challenge:
|
||||
</p>
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="img_container">
|
||||
<img src="Scarecrow.png" alt="Image of a scarecrow">
|
||||
</div>
|
||||
<div class="text_container">
|
||||
<h2>I have bad news for you</h2>
|
||||
<p>The page you are looking for might be removed or is temporarily unavailable</p>
|
||||
<a href="#">Back to homepage</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li><b>Step 1:</b> Create a new repository on github</li>
|
||||
<li><b>Step 2:</b> Copy resources, README.md to your repository</li>
|
||||
<li>
|
||||
<b>Step 3:</b> Login to Figma to checkout font, color, spacing,..
|
||||
</li>
|
||||
<li><b>Step 4:</b> Complete all user stories</li>
|
||||
<li><b>Step 5:</b> Update README.md</li>
|
||||
<li><b>Step 6:</b> Deploy your app and submit your solution</li>
|
||||
<li>
|
||||
<b>Step 7:</b> Share your solution on Discord, Twitter and other
|
||||
platforms to ask for feedback
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>created by tarasis - devChallenges.io</p>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,134 @@
|
|||
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@700&family=Montserrat:wght@500&family=Space+Mono:wght@400;700&display=swap");
|
||||
|
||||
*,
|
||||
::before,
|
||||
::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
--col-primary: hsla(0, 0%, 20%, 1);
|
||||
--col-secondary: hsla(0, 0%, 31%, 1);
|
||||
--col-tertiary: hsla(0, 0%, 74%, 1);
|
||||
--col-white: hsla(0, 0%, 100%, 1);
|
||||
/* --col-test-white: hsl(0, 0%, 100%);
|
||||
--col-test-hsl-with-alpha: hsl(0, 0%, 100%, 1);
|
||||
--col-test-hsla: hsla(0, 0%, 100%, 1);
|
||||
--col-test-rbg-with-alpha: rgb(255, 255, 255, 1);
|
||||
--col-test-rgba: rgba(255, 255, 255, 1);
|
||||
--col-test-rgb-no-alpha: rgb(255, 255, 255); */
|
||||
|
||||
--ff-inconsolata: "Inconsolata", monospace;
|
||||
--ff-space-mono: "Space Mono", monospace;
|
||||
--ff-montserrat: "Montserrat", sans-serif;
|
||||
|
||||
/* * 24px mobile and desktop */
|
||||
--fs-h1: 1.5rem;
|
||||
/* * 48px mobile to 64px mobile */
|
||||
--fs-h2: clamp(3rem, 5vw + 1rem, 4rem);
|
||||
/* * 18px mobile to 24px mobile */
|
||||
--fs-error-message: clamp(1.125rem, 0.993rem + 0.5634vw, 1.5rem);
|
||||
/* * 14px mobile & desktop */
|
||||
--fs-back-link: 0.875rem;
|
||||
|
||||
/* * Margins */
|
||||
--mar-24px: 1.5rem;
|
||||
--mar-77px: 4.8125rem;
|
||||
--margin-default: var(--mar-24px);
|
||||
|
||||
/* * Flex */
|
||||
--flex-direction: column;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* * text styling */
|
||||
h1 {
|
||||
font-family: var(--ff-inconsolata);
|
||||
font-weight: 700;
|
||||
font-size: var(--fs-h1);
|
||||
}
|
||||
|
||||
.container {
|
||||
font-family: var(--ff-space-mono);
|
||||
font-weight: 700;
|
||||
color: var(--col-primary);
|
||||
}
|
||||
|
||||
.container h2 {
|
||||
font-size: var(--fs-h2);
|
||||
}
|
||||
|
||||
.container p {
|
||||
font-weight: 400;
|
||||
font-size: var(--fs-error-message);
|
||||
color: var(--col-secondary);
|
||||
}
|
||||
|
||||
.container a {
|
||||
font-size: var(--fs-back-link);
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
font-family: var(--ff-montserrat);
|
||||
font-size: var(--fs-back-link);
|
||||
color: var(--col-tertiary);
|
||||
}
|
||||
|
||||
/* ? Positioning & sizing */
|
||||
|
||||
h1 {
|
||||
margin-left: var(--margin-default);
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: var(--flex-direction);
|
||||
margin: 0 var(--margin-default);
|
||||
}
|
||||
|
||||
.img_container {
|
||||
margin: 4rem 1.25rem 3.75rem 1.25rem;
|
||||
}
|
||||
|
||||
.container img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.text_container h2 {
|
||||
margin-bottom: 1.875rem;
|
||||
}
|
||||
|
||||
.text_container p {
|
||||
margin-bottom: 4.125rem;
|
||||
}
|
||||
|
||||
.text_container a {
|
||||
padding: 1.5rem 2.6875rem;
|
||||
background-color: var(--col-primary);
|
||||
color: var(--col-white);
|
||||
}
|
||||
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 1rem;
|
||||
/* color: var(--col-test-white);
|
||||
color: var(--col-test-hsl-with-alpha);
|
||||
color: var(--col-test-hsla);
|
||||
color: var(--col-test-rbg-with-alpha);
|
||||
color: var(--col-test-rgba);
|
||||
color: var(--col-test-rgb-no-alpha);
|
||||
color: --col-test; */
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1000px) {
|
||||
:root {
|
||||
--margin-default: var(--mar-77px);
|
||||
--flex-direction: row;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue