This project is a simple web application that features a navigation bar with a "Get Users" button. When you click the button, it makes an API call to fetch user data from (https://reqres.in/api/users?page=1) and displays the data in a user card grid. A loader is shown while the data is being fetched.
- A navigation bar with a brand name.
- "Get Users" button to fetch user data from an API.
- Loading spinner while data is being fetched.
- Display of user data in a grid layout.
- Click the "Get Users" button in the navigation bar.
- A loading spinner will appear while the data is being fetched.
- Once the data is retrieved, user cards will be displayed in a grid format.
To run this project locally, follow these steps:
-
Clone this repository:
git clone https://github.com/your-username/navbar-and-user-cards.git