It's fine as long as you do it with money you can afford to lose. Unless you dedicate your life to it you will come up against people that spend all their time meeting companies and investigating what they're up to, researching what governments will be doing with interest rates etc etc and you will struggle.
Historically the yield from the stock market has been greater than the yield from bonds or other investments to it is a good place to put money - as others have suggested it is a good idea to use a fund to benefit from the better return that stocks typically give without over-burdening you with the hassle of valuing companies/countries/industries on a daily basis.
If you really want to get into it a good starting resource (that's free) is
www.investopedia.com - there are 101 courses for a variety of instruments (stocks, bonds, options, etc) on there that should bring you up to speed and give you more to think about. There is also a glossary/dictionary of terms that will help you understand if you're a complete beginner. If you're serious about doing it I'd suggest investing in a professional qualification (that you can do in your spare time) like the CFA - this will give you a complete grounding in the financial services rather than a focus on stocks. There are so many variables OUTSIDE of what the company chooses to do and how it is run to think about that you can't view stocks in isolation. They are inextricably linked to the rest of the financial world.
As an aside I was a money broker for 5 years during which time I learned a lot about how the markets work, and I don't invest my own money in stocks at the present time. This is because I don't have the time to dedicate to doing it properly (it's your money - give it due consideration) and I don't have the money to lose (as I said to set out - only bet what you can afford to lose).
Many people have become very rich and successful from the markets, most of them have had some formal training and experience though. Be cautious and try to keep a level head (don't let early success get you carried away) - you will also learn more from your losses than you ever learn from your gains. Good luck!