Project Type: Work | 2 Min Read
I only worked on the code part of this website and had no input on the content or design of this site.
This website is one of the two websites that I got to build from the beginning (not including the content or design).
The Search function
My main struggle with the search function was keeping all the data in the URL so if someone wanted to send their search results to someone else they could. This was challenged me because I had to base all the form data off the url and keep the url updated when the search results changed. This was also a challenge becuase of the different form inputs there are like radio buttons and checkboxes. This meant that I had to keep almost everything in arrays for the checkboxes. At the time of making this website there was also a string search function so you could search by company title. The search function can be viewed in action on the ApparelData Directory page.
Search Results Pagination