GithubHelp home page GithubHelp logo

aokmen / nba-legends-app_react Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23.73 MB

This project is an NBA Legends web application that showcases information about famous basketball players from the NBA's history. The application allows users to search for players and view their statistics and images. It is designed to provide a visually appealing and interactive experience.

HTML 18.20% JavaScript 57.69% SCSS 24.11%

nba-legends-app_react's Introduction

NBA Legends Web Application

alt_text

Description:

This project is an NBA Legends web application that showcases information about famous basketball players from the NBA's history. The application allows users to search for players and view their statistics and images. It is designed to provide a visually appealing and interactive experience for basketball enthusiasts.

Features

Header Component (Header.js)

  • The Header component displays the application logo and the title "NBA Legends."

Main Component (Main.js)

  • The Main component is the central content container of the application.
  • It includes a search input that allows users to search for players by name.
  • The component renders individual player cards using the Card component and filters the data based on user input.

Card Component (Cards.js)

  • The Card component receives data for each NBA legend and renders their details in a card format.
  • Initially, only the player's image is displayed on the card.
  • When clicking on the card, additional details, including the player's statistics, are revealed.
  • Clicking on the card again hides the additional details.

Styling (App.scss)

  • The application uses SCSS for styling, providing a clean and organized stylesheet.
  • Custom styles are applied to components to achieve an attractive and responsive design.
  • The background image of NBA Legends is set for a visually appealing appearance.

Data (data.js)

  • The project uses a data array that contains information about various NBA legends.
  • Each player has a name, image URL, and an array of statistics.
  • The statistics include points scored, rebounds, assists, and the number of All-Star appearances.

Search Functionality

  • The Main component handles the search functionality, allowing users to search for specific players by name.
  • As the user types in the search input, the application filters the players' data based on the input and displays the relevant results.

Getting Started

To run this application, follow these steps:

  1. Clone the repository.
  2. Install the required dependencies using npm or yarn.
  3. Start the development server with the appropriate command.
  4. Open the application in your web browser.

Contributing

Contributions are welcome! Please fork the repository and create a pull request for any changes.

nba-legends-app_react's People

Contributors

aokmen avatar

Watchers

 avatar

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.