Arknights Squad Randomizer (Phase 1 Project)

Tristan Hawes
1 min readApr 12, 2021

I recently finished programming and submitted my project assignment for Flatirons phase 1. The project was rather fun to make and I learned quite a bit of technical experience while doing it as well.
The basis of the assignment was to create a single page website that uses a fetch statement and an external API. When we initially learned how to write fetch statements, I did not fully understand how they worked and thus struggled for a bit before I realized that I needed to include return statements inside the fetch to receive the data I was fetching.

Other than that, I learned how to properly use event delegation, as I had several buttons all within the same parent list that did similar things, but to different targets, so instead of writing a separate event listener for each button, I learned that I can have an event listener for the entire list, and have it just trigger the desired function for the specific button that was pressed. This allowed me to swap around my delete buttons that I used for my Operator list.

I also learn numerous new things about CSS, from how to properly align segments, to how to put lists into a neat column, change the color of text, and set the size and positions of images.

I plan to further develop this project in the future once I obtain more experience, and am excited to continue to learn.

Thank you for reading!
-TJ Hawes

--

--

Tristan Hawes
0 Followers

An up and coming programmer currently still learning the ropes from Flatiron.