Skip to content

v1.0.0

Choose a tag to compare

@JuriRappold JuriRappold released this 23 Oct 10:30

Clean code for the post page html.

Requirements from Canvas

  • Dynamically display posts fetched from the API.X
    
  • Include for each post:X
    
  •     Title
    
  •     Body
    
  •     Username (Link the post's userId to the username via the users API).
    
  •     Tags
    
  •     Reaction Count
    
  • Include comments attached to each post (fetched via the comments API).X
    
  • Add pagination or infinite scrolling for posts.X --> fetch more post btn
    
  • Use asynchronous functions (async/await) for all API requests to ensure smooth data fetching.X
    
  • Organize the fetched data into JavaScript objects for efficient manipulation and reusability.X