If you are very new to programming / writing addons this might be too complex a project to be your first one.
Doesn't mean you can't do it but you'd need to familiarize with basic addon concepts, .toc and file structure, registering for and responding to game events etc.
Perhaps this
https://wowpedia.fandom.com/wiki/HOWTOs could be a starting point.