npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bryt-designs/create-bd-frontend-challenge

v2.0.16

Published

Starter template for building a multi-step form

Downloads

3

Readme

Bryt Designs Front-end Tech Challenge

React Multi-step Forms

Hello fellow candidate! 👋

Today's challenge is to build a multi-step form using Nextjs/Reactjs, Zod, and CSS/Tailwindcss. The styling is completely up to you, feel free to get creative 😎!

Why a multi-step form? 🤔

We believe it's the best challenge to demonstrate your technical skills, problem solving and your knowledge of HTML and CSS basics.

What's the goal of this challenge? ⚽

I'm glad you asked! We want to get an understanding of your abilities by measuring how creative you can be, how readable your code is and how you approach problems.

What's the process like?

You have 4 hours from project start to complete this challenge and submit your repo via email for review.

Requirements:

  1. Node version 20

Commands:

Depends on the package manager you prefer using! npm run dev

Resources:

  1. Figma Mock-up
  2. Font Awesome
  3. Next.js
  4. React.js
  5. Tailwindcss
  6. Zod

While we love dependencies and the ability to use other libraries created by amazing developers. For this challenge, please only stick to using the provided dependencies. You may install whatever icon library necessary. Although this challenge comes pre-setup with Fontawesome Icons.

Requirements:

  • [ ] Please ensure you have all of the required fields and follow the structure of the provided wireframe.
  • [ ] The form should be broken up into multiple steps and only one step should be visible at a time.
  • [ ] Every step outside of the first step SHOULD have a next and back button.
    • [ ] The first step should not have a back button.
    • [ ] The next button goes to the next step.
    • [ ] The next button should be disabled if the user has not filled out all of the required fields.
    • [ ] The back button should go back to the previous step.
  • [ ] Going back to the previous step should not require the user to fill out the required fields again.
  • [ ] Submitting the form should not refresh the page.
  • [ ] Once submitted, the form data should be sent to the following endpoint /api/register which is located at the following path ./src/app/api/register/route.ts.It should be possible to see a success message with your multistep form when submitting to the aforementioned endpoint.
  // Success message
  const result = {
    data: {
      message: "You've successfully registered!",
    },
  }

Extras:

These are just nice haves if you have more time. Do not prioritize otherwise

  • [ ] Transition animations between each step.
  • [ ] Active, Focus and Hover styling for input fields and buttons.
  • [ ] Input field values saved to local storage. EXCEPT FOR PASSWORD RELATED INFORMATION
    • [ ] On page load all of the fields should be populated with their respective values from local storage.
  • [ ] Form validation
    • [ ] Should display the error message if the value the user entered is invalid.
    • [ ] Every field should type check what the user is inputting.

TIME STARTS NOW!