Posts

Showing posts with the label Tips

How To Make A Simple Calculator Using HTML, CSS and JavaScript

Image
A Calculator Hey guys, welcome back! Today, I'm going to be teaching you guys how to make a simple calculator which performs basic math operations such as addition, subtraction and so on with just HTML, CSS and JavaScript. This tutorial is designed for people who may have just finished learning the basics of HTML, CSS and JavaScript and wish to create a project which uses all three for optimum functionality. Prerequisites You don’t need much to be able to follow along with this tutorial. You just need a text editor; this could be Notepad , Sublime Text or Visual Studio Code . For this tutorial, we’ll use VS Code. If you already have a text editor, you can use that as well. If you don’t, go ahead and download it from the official site (the steps to install VS Code can be found in our JavaScript tutorial for beginners ). Moving on, the next thing you need is the basic understanding of HTML, CSS and JavaScript. By ”basic understanding”, I mean you should be...

Coding vs. Programming - What Are The Differences?

Image
A lot of times in our profession, we tend to interchangeably use these two terms "coding" and "programming" like they mean the same thing whereas they don't. Here, we're going to distinguish these two terms from one another. Are you excited? If so, take a glass of water; sit back and enjoy... As earlier stated, the two terms "coding" and "programming" are similar but not the same. Coding is the process of generating codes from one language to the other. It is often classified as a subset of programming because it implements the steps involved in coding. Programming is  the process of developing an executable machine-level program that can be implemented to completion without any error(s) occurring.  It is the process of formally writing codes so that the human input(s) and subsequent machine output(s) remain in sync. Below are some other differences between "coding" and "programming...

10 Tips For Writing Clean Readable Code

Image
Being a programmer is tough, no doubt Coming up with algorithms, learning new programming languages and constantly refreshing your knowledge are just a few of what a programmer faces on a daily basis. But just as Martin Fowler said, " Any fool  can write code  that a  computer can understand . Good  programmers write code  that humans   can understand . " If you want to be a successful programmer, you don't just write code, you write clean code that someone who isn't a programmer can look at and have an idea of what the code does. So you may be wandering, how do I write clean code then? We've got you covered. Tip One - Assign A Single Purpose To A Single Function : Have you ever taken a peek inside a function that was thousands of lines long? Then you'd know the amount of work and time it would take to read, edit and maintain such function. As a programmer, your job is to break down one giant impossible task into several small possible ...

Top 5 Programming Languages to Learn in 2020

Image
Programming has come to be one of the most sought after careers in recent years with the average programmer earning $120,000 or more, depending on your skills. So the next question becomes "What programming language(s) should I learn?". Out of over 700+ programming languages which are currently in existence and just over 250 of those which are popular, the pool is quite large. Well first of all, you have to LOVE programming before you start it because if you don't, it would seem almost impossible to you because it's not what you derive joy doing. Secondly before you learn a programming language, you have to ask yourself a couple of questions like "What do I hope to achieve with this language?" "What future does this language have?" "Is this language appropriate for programs I want to create?" and so on. If you have the answers to these questions, then you're ready to start learning a programming language, otherwise,...

Sponsored Links

Contact Us

Name

Email *

Message *