A repo containing real life frontend challenges which you can use to practice frontend!
This repository contains real life frontend challenges which you can use to practice frontend! You can use any framework/library to solve these challenges. These are created for the fun and practice purpose to go beyond to-dos.
If you like these challenges, would appreciate getting a star to this repository 🌟
You can also contribute to these challenge lists or share your solutions. We can create a solutions section too for those links!
Here is the list of all challenges -
Twitter like textarea with character count
If you have ever used twitter, you must know your tweet will have a character count limit of 280 characters and once you cross that character limit twitter starts marking your characters with red background and you will see a character count going in a negative value! That's it, that is the task. You can build the same textarea with a customised character count limit.
Features to include in it -
@
or #
made them as a link with relevant href.A component with select/multi select feature, similar to React Select
Dropdowns are part of most applications and they are smart to implement components. React Select is one of those libraries which I heavily trust on for any type of dropdown I need. But while learning if we can create a simple dropdown component, it will have so many benefits over going for the library.
Features to include in it -
esc
key, on clicking outside and after selecting any element.We all have tried Google search input. It's pretty cool how it shows you some suggestions based on your typing. We need to create exactly the same. Consider a search location feature, where you are adding names to your city and country. Implement a search feature with a list of cities and countries and show user options based on what the user is typing.
This is one of the most frequently asked questions in the interviews. So that is a bonus point.
Features to include in it -
Ever opened a website and saw an annoying pop-up asking to accept cookies or manage your preferences? We need to build that! A custom pop-up component for creating and managing cookies in an application.
Features to include in it -
Progress bars showing progress of something are commonly seen. Here you can develop 3 types of progress bar
Ever seen a website where you scroll and one of the sections gets fixed at a certain point and the remaining website keeps scrolling? You can see the example here where the products sidebar gets fixed at the left for some time till we scroll the right side section. That is exactly the challenge.
Doesn't it look cool that your password strength and password criteria is getting checked as you type the password? That is the task in this challenge.
Features to include in it -
Many registration processes need multi-step forms. This is a good use case to maintain data between steps and managing steps transition using javascript. To understand the multistep registration form you can refer to this dribbble shot. Image below
Features to include in it -
Ever noticed a long webpage with a "Back To Top" button? This makes it easier to go back to the top of the webpage. That's the challange.
Features to include in it -
In most of the course webpages, there is a sidebar with chapter names, which can be toggled between show and hide state.
Two examples:
Features to include in it -
Copy to clipboard button is very common either on code heavy websites or for copying links. You need to create a copy to clipboard feature where on clicking the button the content should get copied to your clipboard along with a small pop-up with text copied!
. That's the challange.
Features to include in it -
copied!
text.A timeline component has a lot of use cases. It is used to show work experience on resumes, job profiles or portfolios. It can also be used as a vertical stepper component. The challenge is to create a Timeline Component using HTML
and CSS
.
A codepen link has been provided below for your reference.
Example:
Features to include in it -
HTML
and CSS
.A floating sidebar has a modern touch to it compared to a traditional sidebar. The challenge is to create a floating sidebar with navigation links. The current page link should be highlighted and have an indicator next to it.
Example:
Features to include in it -