Cats 03/27/26

Today I decided to work on a simple API website where the button gets me random pictures of cats

I did very simple codes

This html code is responsible for the buttons and the image

the code div id is a button where you can click to get random pictures

This is the Java part of the code where it does the most important part

the line 3 of code is responsible for getting the pictures from a api website and the await tells the code to wait before

running the other codes and to wait until the pictures are loaded first then start so the codes don’t get messed up

the line 9 and 10 are for catching the errors

the document is responsible for button and when you click you get the picture

The style is responsible for look of the website

I Changed fonts and the color of the website to more appealing one

I can’t seem to have Access to my videos I recorded of my website so I can’t post it here for the moment

Leave a Reply

Your email address will not be published. Required fields are marked *