Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Newsletter Form with Next.js, Tailwind, Typescript, Storybook, Vitest

JaceLee 240

@jaceleedev

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm most proud of successfully integrating Storybook and implementing comprehensive testing with Vitest and testing-library, which significantly improved my component design process and code quality. These tools encouraged me to create more focused, reusable components and helped me catch overlooked issues. However, I realized that for smaller side projects, the time investment in extensive testing might not always be justified. In the future, I plan to use Storybook consistently but approach testing more selectively based on project scale and timeline. Despite the challenges, I'm committed to continuing to learn and implement new technologies in my projects, as I believe this investment in learning pays off in the long run.

What challenges did you encounter, and how did you overcome them?

The biggest challenge was integrating new tools like Storybook, Vitest, and testing-library into the project. This process involved a steep learning curve and was time-consuming. Additionally, unexpected issues arose due to differences between the testing environment and the actual environment. To overcome these challenges, I meticulously studied the official documentation, sought help from online communities, and persistently worked through trial and error. As a result, I was able to effectively use these tools, which greatly improved component design and code quality.

Another significant aspect of this project was learning and implementing Next.js server actions. Although the implementation differed slightly from the project's initial requirements, I focused on understanding and utilizing useFormState, useFormStatus, and server actions. This approach allowed me to gain valuable experience with these new features, even if it meant deviating somewhat from the original project specifications. The emphasis was on learning and applying these advanced Next.js concepts, which I believe will be beneficial for future projects.

What specific areas of your project would you like help with?

Any tips and know-how related to this project are welcome!!!!

Community feedback

@MesrouaDjamel

Posted

c'est parfait comme projet the design is similar to the proposed design except for the title it's not the same color. the validation works you also used server action it's very professional work

0

JaceLee 240

@jaceleedev

Posted

@MesrouaDjamel Thank you for your kind words. Have a great day and enjoy your coding!

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord