html tagged

This commit is contained in:
Robert McGovern 2022-11-01 23:10:08 +00:00
parent 2abe6df04c
commit 43d25f0bcb
3 changed files with 141 additions and 31 deletions

View File

@ -41,8 +41,8 @@ Then crop/optimize/edit your image however you like, add it to your project, and
### Links ### Links
- Solution URL: [Add solution URL here](https://your-solution-url.com) - Solution URL: [Github](https://github.com/tarasis/tarasis.github.io/tree/main/projects/FrontendMentor/newbie/skilled-elearning-landing-page)
- Live Site URL: [Add live site URL here](https://your-live-site-url.com) - Live Site URL: [tarasis.github.io](https://tarasis.github.io/FrontendMentor/newbie/skilled-elearning-landing-page/)
## My process ## My process

View File

@ -14,6 +14,63 @@
} }
:root { :root {
/* Colors */
--col-medium-purple: hsla(234, 25%, 52%, 1);
--col-dark-purple: hsla(234, 53%, 16%, 1);
--col-light-purple: hsla(233, 10%, 56%, 1);
--col-hot-pink: hsla(341, 92%, 62%, 1);
--col-light-pink: hsla(341, 100%, 83%, 1);
--col-white: hsla(0, 0%, 100%, 1);
--col-orange-to-pink: linear-gradient(180deg, #ff6f48 0.04%, #f02aa6 100%);
--col-purple-to-pink: linear-gradient(180deg, #4851ff 0%, #f02aa6 99.92%);
--col-orange-to-pink-hover: linear-gradient(
0deg,
rgba(255, 255, 255, 0.5),
rgba(255, 255, 255, 0.5)
),
linear-gradient(180deg, #ff6f48 0%, #f02aa6 100%);
--col-purple-to-pink-hover: linear-gradient(
0deg,
rgba(255, 255, 255, 0.5),
rgba(255, 255, 255, 0.5)
),
linear-gradient(180deg, #4851ff -54.32%, #f02aa6 100%);
/* Typography */
--fs-heading-xl: 3.5rem;
--lh-heading-xl: 71px;
--fw-headings: 800;
--fs-heading-l: 2.5rem;
--lh-heading-l: 3.1875rem;
--fs-heading-m: 2rem;
--lh-heading-m: 2.5rem;
--fs-heading-s: 1.5rem;
--lh-heading-s: 1.75rem;
--fs-body-m: 1.125rem;
--lh-body-m: 1.75rem;
--fw-body-m: 500;
--fs-body-s: 1rem;
--lh-body-s: 1.625rem; /* design system says 28px / 1.75rem, but in the elements themselves its 26px / 1.625rem */
--fw-body-s: 700;
/* Sizing */
--border-radius: 1.75rem;
/* Other */
}
body {
min-height: 100vh;
font-family: "Plus Jakarta Sans", sans-serif;
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {

View File

@ -1,52 +1,105 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="./assets/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=Plus+Jakarta+Sans:wght@500;700;800&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<title>Frontend Mentor | Skilled e-learning landing page</title> <title>Frontend Mentor | Skilled e-learning landing page</title>
</head> </head>
<body> <body>
Get Started <header>
<img src="assets/logo-dark.svg" alt="skilled logo">
<a href="">Get Started</a>
</header>
Maximize skill, minimize budget
Our modern courses across a range of in-demand skills will give you the <main>
knowledge you need to live the life you want. <section>
<h1>Maximize skill, minimize budget</h1>
<p>
Our modern courses across a range of in-demand skills will give you the
knowledge you need to live the life you want.
</p>
Get Started <a href="">Get Started</a>
Check out our most popular courses! <picture>
<source media="(min-width: )" srcset="" sizes="">
<img src="assets/image-hero-mobile.png" alt="">
</picture>
Animation </section>
Learn the latest animation techniques to create stunning motion
design and captivate your audience.
Get Started
Design <section>
Create beautiful, usable interfaces to help shape the future of
how the web looks.
Get Started
Photography <h2>Check out our most popular courses!</h2>
Explore critical fundamentals like lighting, composition, and focus
to capture exceptional photos.
Get Started
Crypto <article>
All you need to know to get started investing in crypto. Go from beginner <img src="assets/icon-animation.svg" alt="">
to advanced with this 54 hour course. <h3>Animation</h3>
Get Started <p>
Learn the latest animation techniques to create stunning motion design and captivate your audience.
</p>
<a href="">Get Started</a>
</article>
Business <article>
A step-by-step playbook to help you start, scale, and sustain your business <img src="assets/icon-design.svg" alt="">
without outside investment. <h3>Design</h3>
Get Started <p>
Create beautiful, usable interfaces to help shape the future of how the web looks.
</p>
<a href="">Get Started</a>
</article>
Get Started <article>
<img src="assets/icon-photography.svg" alt="">
<h3>Photography</h3>
<p>
Explore critical fundamentals like lighting, composition, and focus to capture exceptional photos.
</p>
<a href="">Get Started</a>
</article>
<article>
<img src="assets/icon-crypto.svg" alt="">
<h3>Crypto</h3>
<p>
All you need to know to get started investing in crypto. Go from beginner to advanced with this 54 hour
course.
</p>
<a href="">Get Started</a>
</article>
<article>
<img src="assets/icon-business.svg" alt="">
<h3>Business</h3>
<p>
A step-by-step playbook to help you start, scale, and sustain your business without outside investment.
</p>
<a href="">Get Started</a>
</article>
</section>
</main>
<footer>
<img src="assets/logo-light.svg" alt="skilled logo">
<a href="">Get Started</a>
</footer>
</body> </body>
</html> </html>