GithubHelp home page GithubHelp logo

vitalypasechnik / react_people-table-basics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mate-academy/react_people-table-basics

0.0 0.0 0.0 702 KB

License: GNU General Public License v3.0

Shell 0.82% JavaScript 83.13% TypeScript 7.91% HTML 7.57% SCSS 0.57%

react_people-table-basics's Introduction

React - People table

If you don't use Typescript

  1. Rename .tsx files to .jsx
  2. use eslint-config-react in .eslintrs.js

Basic tasks

  1. Install all the NPM packages you need and types for them.
  2. Use HashRouter on src/index.tsx
  3. Implement HomePage available at / with just a title Home page
  4. Implement PeoplePage available at /people with a title Peope page
  5. Redirect to / from /home (use Navigate)
  6. Implement NotFoundPage with a title Page not found that is shown for all the other URLs
  7. Add a Header visible everywhere with navigation links to both pages
  8. Create getPeople method fetching people from API when PeoplePage is opened
    • Find a mother and a father by motherName and fatherName and add them to the person for future use
  9. Implement PeopleTable component accepting an array of people as a param and rendering them in a table It should show these columns:
    • name
    • sex
    • born
    • died
    • mother
    • father
      <PeopleTable people={people} />
      <table className="PeopleTable">
        <th>...</th>
        <tbody>...</tbody>
      </table>
    • add border-collapse: collapse style to the table
  10. Implement PersonRow component accepting a person and displaying all the data described above
    <tr class="Person">
      <td></td>
      ...
      <td></td>
    </tr>

react_people-table-basics's People

Contributors

yuriiholiuk avatar vpolets avatar oablokhina avatar alinamatuschak avatar mgrinko 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.