New to this and have very small experience with using arduinos. Maybe someone can help?

You've got issues with the code you didn't post