CrowdforThink : Blog -Building a carousel component in React using Hooks