Giter Site home page Giter Site logo

karimaoulallay / job-listings-react-tailwind Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 526 KB

Job listings project built with react router and tailwindcss

Home Page: https://job-listings-react-tailwind.netlify.app

JavaScript 93.96% HTML 5.03% CSS 1.01%
job-listings react-hoo react-router reactjs tailwindcss

job-listings-react-tailwind's Introduction

Frontend Mentor - Job listings with filtering solution

In this Frontend Mentor job listings project, I focused on making things work smoothly using React hooks. I used hooks like useState and useEffect to handle the app's actions and data effectively. With the help of useLocation, useSearchParams, and useParams, I managed the URL information to let users easily filter job listings. Though design was simple, the project taught me how to create a user-friendly experience by prioritizing functionality. It improved my React skills and showed me the power of hooks for dynamic web apps.

Screenshot

Home page

Show listing page

Links

Built with

  • Reactjs Router
  • React hooks [useState, useeffect, useLocation, useSearchParams, useParams]
  • Tailwindcss
  • Flexbox
  • Semantic HTML5 markup
  • Mobile-first workflow

What I learned

In this job listings project, I learned how to use useLocation and URLSearchParams in React. These tools helped me manage query parameters from the URL and create a user-friendly job search experience.

Some code of URLSearchParams()

function removeFilter(filterName) {
  const newQuery = new URLSearchParams("");
  searchParams.forEach((value, key) => {
    if (value != filterName) {
      newQuery.append(key, value);
    }
  });

  setSearchParams(newQuery);
}

Useful resources

  • URLSeachParams - This helped me for working with SearchParams JavaScript

Author

job-listings-react-tailwind's People

Contributors

karimaoulallay avatar

Watchers

 avatar

Forkers

malekaloui1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.