Are there really more ways to skin a cat!
Always. There are ways to skin a dog, too. And a deer, and a variety of other animals.
It looks kind of simple but I can't code what I am trying to achieve in my head. I have no logic
I suspect that is because you are trying to write the whole program at once.
What I like to do is write a whole lot of comments in loop, describing what the whole program is going to do. Then, in between some of the comments, I write some code to perform a specific task. When that works, I write some more code. After a while, loop() is too long, so I move some working code into functions.
Sometimes I get stuck on how to do something, so I create a function that does nothing, and call it in the place I'm stuck. I just have it return a value that makes it seem like it actually did something complex.
Then, I'll go back and make that function do what it is supposed to do, one step at a time. Each time I get stumped, I write a lot of comments.