Robotics can be dangerous, don’t jump into the deep end of robotics without learning how to use electronics first. Definitely start with electronics and move up to robotics once you have a lot of electronic failures under your belt. I would suggest that you keep robotics in mind as you learn.
Many people provided you with great places to start with electronics. Start there, because robotics are electronics with motion and that’s more dangerous. Motion can hurt someone or start a fire. Especially for as a hobby I’d be most concerned about accidentally starting a fire because of bad code and poor failure planning.
If you pick this up and get some experience with electronics, you’ll begin to understand a lot of the things that can go wrong with robotics before they start a fire. Also this can get very expensive, you will destroy components. It’s inevitable. I may be speaking from experience.