So you want to learn to code but don’t know where to start and are possibly feeling overwhelmed by all the options available. You’ve probably read and heard about hundreds of different websites, courses, books, and other resources. Maybe you’ve spent hours looking at reviews but you still don’t know which programming language to learn or which learning resource to choose.
I know how it feels because I’ve been there before and gone through the struggle of learning how to code on my own and made a lot of mistakes that slowed me down on the way. This is basically the guide I wish I’d had when I was starting out. …
Learn Selenium by making a Reddit bot
In this tutorial you’ll be making a simple Reddit bot using Python and Selenium Webdriver. While this tutorial uses Python specifically, the code can be easily modified to work with other programming languages like Javascript because of Selenium’s consistent API and client libraries for numerous languages like Javascript, C#, PHP, and more.
Selenium is a tool designed for automating web browsers programmatically. Selenium’s primary use is for automated software testing but it is also commonly used for scraping content where rendering Javascript is necessary and any other activity requiring automation in the browser such as bots. …
If you’ve ever used some sort of messaging app in your browser, you’ve probably noticed how the browser tab icon(favicon) will suddenly change when you get a message to notify you even if you are in another tab. This kind of effect is helpful to users and also can boost engagement rates for your application, a win-win. The best part is that adding a cool effect like this only takes a few lines of code!
Video Tutorial and Example
If you prefer a video tutorial to reading, you can watch this, otherwise the written tutorial continues below.
The only thing you’ll need for this tutorial…
Making a Discord bot can be pretty confusing and intimidating, but don’t worry! This step-by-step guide will have your own bot running in just a few minutes using Javascript and the DiscordJS library to make it easy.
First, you’ll connect your bot and have it notify you that it’s online, then you’ll gradually add the following functionality: