Electric guitar: Well the world of electric guitars is in some ways more complex, as there are all kinds of different looks and technologies. And it’s not good enough to just have a guitar, you need to buy an amplifier as well. I will just recommend mid-level stuff that’s worked for me based on my preferences, but if you like “stuff” and collecting gear, you’ll find playing the guitar to be a deeply satisfying hobby :)
I got all involved with Guitar Tricks and bought a full access membership several years ago. Then I spent MUCH more money on “packages” to learn the songs of specific artists (Eagles, Clapton, etc.). Those packages were housed online, but I was supposed to have access forever in return for the rather large sums I was paying. After a few months, I completely got cut off from my packages. They disappeared. No access. I emailed and emailed – no response. I never posted on their chat room, so I couldn’t have said anything that upset them or gave them reason to cut me off. I talked to a lady several times who didn’t help me at all. In fact, she acted like their site is flawless and I must be wrong. No help. I ended up paying them hundreds and getting ripped off. I would warn everyone to proceed with caution.
As a beginner, it is best to avoid making a pawn shop, flea market, or yard sale purchase unless you are shopping with somebody who has experience in purchasing a guitar. Having never purchased a guitar, you may not know what to look for in terms of damage or guitar quality. With that being said, a local music retail shop is your best bet. You may also shop online with a reputable company, although be sure to review the business’ return policy.