Simple vanillajs fetcher for posts&comments from https://jsonplaceholder.typicode.com/

  1. I used webpack to make dev easyer

  2. Project uses MVC pattern

  3. When localhost is initiated, it will fetch for all comments, paginated

  • number of articles rendered on page could be changed in: src\js\config.js
  1. In model is state management with additional fetch requests

  2. Assignation was to render comments&posts that are called by get function in: js\utils\index.js

  3. The project uses fontawesome 5

How to run?

yarn & yarn dev

!! This will not work on IE do to javascript fetch, css variables