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:
form
is submitted if:input
field is emptyFirst I did this project with tailwind because I want to know how it works, therefore I learned a lot about tailwind. What I can highlight the most is the use of areas that I had never used before and I think it is a great function of the tailwind components.
<form
id="subscription-form"
class="flex gap-4 w-full min-w-[100px] [grid-area:form]"
></form>
<div
lass="flex flex-wrap gap-4 justify-between w-full [grid-area:social-media]"
></div>
<a href="#" class="[grid-area:logo]"></a>
<p
class="text-dark-grayish-blue text-center [grid-area:copy] md:text-right"
></p>
.footer-area {
grid-template-areas:
"form"
"navigation"
"social-media"
"logo"
"copy";
}
.footer-area-md {
grid-template-areas:
"logo navigation form"
"social-media navigation copy";
}
As I mentioned previously, it is one of my first projects with tailwind, therefore I consider myself a novice with it, I will continue to focus on learning its functionality in new projects, since I am looking to apply it together with the [Astro] (https://astro.build) framework.