This is a solution to the Job listings with filtering 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
- Filter job listings based on the categories
- react - JS library
- styled-components - For styles
I learned how to add dynamic padding to give space to an absolute element as such: padding-top: ${(p) => 60 + p.length * 15 + "px"};
.