I've included my code in the picture below. Best of luck.
It loses power and most likely stops working
Linear search
You implement this algorithm by iterating over each item, and checking if the item matches what you are searching for.
It is linear because it takes a linear amount of time to search for an item.