Learn coding in simple steps

posted in: Blog | 0
(Last Updated On: 23. Oct 2019)

learn codingFor someone who has never seen a single line of code it may look like and alien language and to learn programming seems like impossible idea. For a travel writer like myself, to learn coding was essential, as it gave me a lot of freedom in terms of organizing and managing my blog. To be honest, it did scare me at first too. It is, however, an important skill and should be learned by many people. Ideally it should be included in school curriculum so that kids would get comfortable and learn coding from early age.

In fact, young generation is already mastering technology better than us, adults, and can easily learn coding in days. Kids nowadays have tablets, smartphones and other tech gadgets that can help them learn programming. Learning to code is an important tool that can be used for future development of a person. Everybody knows how to read and write and so they should learn to code as well.

Online resources to learn coding

Many resources to learn coding are available online for newbies to develop their skills. While some may require a small fee, most of them are free for everyone.

Codeacademy is a great place to learn JavaScript, HTML and CSS. They are also offering Python and Ruby classes.

Udacity is Stanford Univercity’s course offered for free to anyone. College courses are available, one of the opular one sis Introduction to Computer Science.

– Code School has great online resources with many programming languages, as well as design and web tools.

Code Racer is a great new learning platform where newbies can build websites using HTML and CSS.

These are just a few examples as there are many more resources to help people learn coding. For instance, searching in Youtube may bring up several coding tutorials. One of the great ones is thenewboston channel with tons of useful videos on different programming languages. Another great channel is PhpAcademy. Make sure to check them out if learning by doing is the right way for you.

learn coding

Make a website with CodeAcademy

CodeAcademy.com is a great place to learn coding basics. Probably the simpliest tutorial they are offering is called “Make a website”. It gives an overview of some basic HTML, as well as CSS and bootstrap. The course is easy to follow for a complete beginner, as it features a lot of great examples and explanations of the code. The great thing about this tutorial is the possibility to try to code “hands-on” – it features an interactive window where you can type the code. If in trouble, there is a helper on the left. By the end of the tutorial, anyone should be able to make a simple website. The course should take around 2-3 hours, for someone familiar with coding it takes about 30 minutes. I would recommend this course to anyone, who is willing to learn how to make a website. Once the course is finished, its best to continue practice. One of the great code editors is NotePad++ – its free and great for writing and editing code, creating HTML pages and custom CSS files. Files can be saved with respective extensions, like MyPage.html and MyStyle.css and viewed by any browser.


Easy to follow
Good examples
Instant feedback

Allows missing semicolons ( ; ) and brackets ( } )
A bit confusing sometimes
Some parts can be easily skipped

Hello, world!

Learning any programming language usually starts with mastering the most simple and basic things – making a program write “Hello, world!”. The reason is simple – first, you get to know the syntax of a language you are going to learn in more depth. Second, because it allows you to test if the system is working properly and no errors pop up.

Here are a few examples of “Hello, world!” written in different programming languages.

Learn coding:”Hello, world!” in ASP.NET, C, C++

"Hello, world!" in ASP.NET, C, C++
Learn coding: “Hello, world!” in C#
"Hello, world!" in C#
Learn coding:”Hello, world!” in HTML, Java
"Hello, world!" in HTML, Java
Learn coding:”Hello, world!” in JavaScript
"Hello, world!" in JavaScript
Learn coding:”Hello, world!” in PHP
"Hello, world!" in PHP
Learn coding:”Hello, world!” in Python and Ruby
"Hello, world!" in Python and Ruby

Programming language is a lot like human language. When you write a program, no matter what language it is, you basically tell computer what to do. Your PC then translates your code into binary form (0-s and 1-s), language only PC can understand. It then executes the command you have entered and displays the result. The process is really simple. Every language has its own specifics and syntax that should be followed. However, to read the code is quite easy. It is almost like reading a book. For example, consider this piece of code:

if else statement in java:
if else statement in java

Do not worry about everything in the code, but have a look at this conditional statement. First, a variable user is declared. User equals 21. This could mean user age, for example. Now we are testing if condition is met. IF user is 18 or less, following sentence will be printed: “User is 18 or younger”. In the same way we test if user is between 18 and 40. In that case we print “User is between 19 and 39”. Last part – ELSE statement checks for all other conditions including negative numbers.

 Useful tutorial on HTML & CSS

How to start?

Everybody had to start somewhere. If you feel you are unsure where to start try joining support groups and evening classes. Many language communities organize special events for newbies to learn the basics. For instance, Ruby community is organizing events called “Rails Girls”. These are special events held once or twice per year and designed to introduce women to the basics of programming and web design. During this two day workshop women of all ages get a chance to try what it feels like to write a code and run it. For some it will be enough to just learn the basics but others might be interested in pursuing it further and studying computer science at college or university.

Either way it a great experience and a chance to meet people just like yourself – curious and eager to learn.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.