Skip to content

mate-academy/react_article

Repository files navigation

React article

Implement the Article component that takes title, date, and text as props and render them using the given markup. The App should render an Article with the data from the firstArticle object.

  • title is a text for data-cy="title";
  • date should be added in the next format, (you have an example of how to do it in the initial code):
    <time datetime="2022-09-08" data-cy="date">
      September 8, 2022
    </time>
  • text should be rendered inside data-cy="text"

Instructions

  • Install Prettier Extention and use this VSCode settings to enable format on save.
  • Implement a solution following the React task guideline.
  • Open one more terminal and run tests with npm test to ensure your solution is correct.
  • Replace <your_account> with your Github username in the DEMO LINK and add it to the PR description.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published