Cats Taking Over: How to Make a Random Cat Image Generator With React and Cat API

Written by TheHardwaron | Published 2020/11/17
Tech Story Tags: reactjs | react | javascript | learn-to-code | html5 | css3 | front-end-development | random-cat-image-generator

TLDR An easy guide to filling your life with (more) internet cats by making a random cat image generator with React and Cat API. Prerequisites: Node.js installed in your system (PC) and any other code editor (or any other editor) installed in PC) Create two new files (components) inside the. src folder and name them ‘Cat.js’ and ‘Head.js. Add both the. components into App.js and Cat.js. Create a function called fetch_data in which we determine the logic to fetch the data from the Cat API.via the TL;DR App

no story

Written by TheHardwaron | Tech enthu | YouTube| Blogger |Curious
Published by HackerNoon on 2020/11/17