Last but not least, you can also earn money online by building an online community, although the monetization strategies you can pursue will vary a lot depending on your goals. You can build a community with a blog, for example. You can also build an online forum and charge people for membership. You could even build up a Facebook group and use your influence there to sell and promote products.
Codeacademy offers free, interactive coding classes that take you from lesson one to building a fully-functioning website. The courses we've highlighted below are just a few of the courses; Codeacademy offers many more, depending on your organization's needs. Codeacademy classes feature lectures and a workspace in the same browser window so you can see the effect of your work live, as it's created.
Become a Freelance Writer. Another way to make money from home is to write online. There are a lot of work opportunities for freelance writers on the net. Many companies today rely on internet marketing and writers who can do SEO and web content for their websites. You can also blog for a living and earn from advertisers or blog for someone else and get paid a steady income each month. Online writers can also write news, e-books or act as ghost writers for their clients.
I may as well start with something I know well. When I started out as a freelance writer 20 years ago, things were very different. I wrote mostly for magazines, and I had to rely on snail mail to send out drafts and queries. I’d wait weeks for a response from my editors. Not many people had the patience for it, and few stuck around long enough to ever start earning a real income from it.
Find a profitable niche. Starting with your interests, write down as many niche ideas as you can. Think about topics people might search online. Ideas include passions (like surfing or body building), fears (like spiders or speaking in front of crowds) and problems (like getting out of debt). Do keyword research to see it others are interested in the topic. Find out if a domain name is available that matches the keyword 100 percent. 
Get samples. When you first start out as a freelance writer, it can be hard to get work without any published samples. However, it is possible to get quality samples if you are willing to do some writing for free. First, you can publish content on your own blog or website. Also, you can write guest posts for someone else’s blog. Finally, you can write blog posts for free in exchange for a byline.
Instead, try scratching for free using an Android app called Lucktastic. (It’s called Lucktastic Match for iOS.) Each day, it releases a new assortment of digital scratch-off tickets. Lucktastic says instant wins range from $1 to $10,000. You can also earn tokens that you can exchange for free gift cards to retailers including Amazon, Walmart, Kohl’s, Sephora and more.
22. Advertising – This is definitely the most old-school way of earning money with a blog. It’s also starting to become the least common way. You can sell advertising spots directly on your site or you can sign up with a company like Google AdSense or Media.net. Either way, you won’t see a whole lot of money from ads until your views are well into the thousands each day.