For a complete beginner, I'd recommend hooking up a regular limit switch on your alarm clock disable button.
You didn't tell us how your alarm clock operates. If it has disable button, it will be a simple job to create bypass switch for it. If it's mechanical switch, it might be a bit trickier.
Google search, "micro limit switch". You can possibly find these from all sorts of devices.
I wouldn't recommend a complete beginner to MCUs and optocouplers, before even knowing how simple electric circuits operate.
I like the idea though, good way to avoid snoozing for 2 hours
