You're not stupid, this happens all of the time when making software. The next time you try this you will already know how to do it, that's what learning is all about.