This is a solution to the Manage landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- See all testimonials in a horizontal slider
- Receive an error message when the newsletter sign up
form
is submitted if:- The
input
field is empty - The email address is not formatted correctly
- The
- Solution URL: GIthub Repo
- Live Site URL: Manage Landing Page
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Tailwind CSS - CSS Library
I learnt how to setup custom themes and configuration in tailwind CSS from the following code:
/** @type {import('tailwindcss').Config} */
module.exports = {
tailwindConfig: "./styles/tailwind.config.js",
content: ["./*.html"],
theme: {
screens: {
sm: "480px",
md: "768px",
lg: "976px",
xl: "1440px",
},
extend: {
colors: {
brightRed: "hsl(12, 88%, 59%)",
brightRedLight: "hsl(12, 88%, 69%)",
brightRedSupLight: "hsl(12, 88%, 95%)",
darkBlue: "hsl(228, 39%, 23%)",
darkGrayishBlue: "hsl(227, 12%, 61%)",
veryDarkBlue: "hsl(233, 12%, 13%)",
veryPaleRed: "hsl(13, 100%, 96%)",
veryLightGray: "hsl(0, 0%, 98%)",
},
},
},
plugins: [],
};
I will use this project to further aid me to familiarize myself with the Tailwind classes and create more projects efficiently
- Traversy Media - This YouTube Tailwind CSS tutorial video by Brad Traversy helped me a lot in setting up Tailwind
- Frontend Mentor - @kebin20
This was project was fully aided by the video produced by Traversy Media.