Minecraft technical issue, anyone have a solution?

Ok so i recently attempted to create a mod for minecraft and downloaded all the necessary items and added the path ect but i then i kinda gave up and decided to just delete the recently installed items, but as i kind of expected it ruined my minecraft. I used the minecraft installer to repair and i even re-installed minecraft after uninstalling it with the same installer, the issue that i'm having is that i'm no longer able to load mods to my minecraft. And after doing the things i stated to no avail i'm still unable to use mods. If anyone is able to assist me it d be greatly appreciated. If you need any further info please feel free to ask and I ll try and answer as thoroughly as I can

What version were you running before uninstalling and reinstalling? When you reinstall it it should bump you to the newest update, which might have a different way of installing mods. Have you tried completely deleting all folders and files that have to do with minecraft? Maybe that would make a difference rather than the uninstall?