fetch the data from the cat fact api 'https://catfact.ninja/fact'
Requirements
split you app into components (e.g. <Loading/>, <CatFact/>
)
hint
to simulate the loading time, you could use setTimeout()
fetch the data from the cat fact api 'https://catfact.ninja/fact'
Requirements
split you app into components (e.g. <Loading/>, <CatFact/>
)
hint
to simulate the loading time, you could use setTimeout()