Introduction
You must’ve always wondered how Google, Facebook, Youtube or your favourite android game was built and needless to say, you’ve had better ideas than those. But you thought ‘oh that’s programmers work’ and ended the thought right there because you didn’t know how to code. Whether you want to learn to code for serious work or just as a hobby, the Internet is your best teacher. A programming language can be a boon that gives rise to a new hobby. Here, we hope to help you out with a beginners guide to learn how to code online.
Before you start programming keep in mind the final goal you are into, either you are learning to code for passion or profession. Do not limit yourself to a particular language, be flexible and try your hand on different languages. What programmers will not tell you is that learning a programming language is very easy once you get to know the basics of the particular language.
Starting – The Hardest Part
Programming is basically commanding your computer to do specific tasks through a language that the computer understands. Learning a programming language is an easy task, what matters is your problem-solving capabilities and how creative you are with your approach towards solving problems. Selecting particular tasks, with which you want code makes a difference here. So before choosing a language, select a project that interests you and then accordingly opt for a language best suited for it.
To start with, you have to know the syntaxes, operators, and functions. So starting with an ancient but powerful language like C++ will give a better idea of these factors. Then once you get a hang of the concepts you can tackle the more recent languages easily. Now as said previously, first choose a project and then a language that serves the purpose of the project. If you wish to improve a website’s looks or want to build a website of your own from the ground up you definitely should learn HTML/CSS and then move on to JavaScript, PHP, etc. to add functionality. If you wish to create software for computers or build apps and games for mobile then C++, Java, Python and Swift for iOS are the languages you’d want to consider. There many sites that can give you an overview of these objectives and help you learn these languages efficiently. Here are some sites you can try out to learn the basics of programming.
Learning resources
Gone are those days where you would have to enrol for a Computer Science course in order to learn programming. Apart from college degrees, students would avail the services of a private tutor or join private coaching classes for mastering their programming skills and thus, gain advantage over their peers. The Internet then comes into the picture, after all, why confine yourself to the restricted timing of your coaching class or private tutor. Instead, learn and master your skills online according to your convenience, here we have some websites that you should consider if you are starting off with a new programming language.
1. Codeacademy
Codeacademy provides a free learning platform to beginners by presenting a variety of courses on their site. There is a dedicated forum with specialised threads where you can seek help if are stuck on a certain project.
Codeacademy
So you can easily get help from members of the forum. At the end, you can build a website of your own. However, there are no video instructions provided, so users have to solve all queries on the forums. Courses offered are HTML, CSS, JavaScript, jQuery, PHP, Ruby, Python, API.
2. Code school
Code School offers the basic lectures for free followed by the advanced lectures being part of a paid service. But it provides video tutorials with even for the most basic terminology. You can execute your code in the browser itself and along with the video tutorials you have occasional quizzes thrown in.
Code School
3. Khan academy
Khan academy is a no-brainer when it comes to learning online and it has an excellent set of lectures for programming. There are machine-graded assignments and video tutorials to help you get started and provide help if you are struck. Khan academy does not offer a set of programming languages, but it deals with programming basics and approaches to coding that could be applied to a vast array of languages.
Khan Academy
4. Udacity
Udacity provides video tutorials along with quizzes interspersed to make you think about the code. Video tutorials are 2-3 minutes long and that is a good thing because short lectures don’t bore you. Courses offered are Web Development, HTML5, Python, Java, Computer Science, Algorithm, AI.
Udacity
5. Tutorials Point
Tutorials Point has on offer free beginner level educational resources for almost all major programming languages used today. Their catalogue for tutorials and courses is very vast with languages segregated to the projects. In the ‘Coding Ground’ section of the website you can practice, edit, run, compile and share your results.
Tutorials Point
6. W3Schools
W3Schools is a free tutorial website that offers tutorials for web development and design to beginners. It has neatly segregated sections according to the tasks for which particular programming languages are used. Courses offered are HTML/CSS, XML, JavaScript, SQL, PHP, ASP.NET.
W3schools.com for quick reference
Get a better idea of overview of programming languages from this Lifehacker article http://dgit. in/WhichLang
Basic Web Development Languages
If you wish to work over web development building interactive websites or even a simple website page, you need to have knowledge about the programming languages that are used to code for web development. You also need to decide whether you want to work on front-end or server side development. Basically, it means if you want work on how a website would look to users(front end) or managing the database(server side). Here some languages you can learn to give a start to your web development dream.
JavaScript
JavaScript is one of the most popular and dynamic programming languages used for creating and developing websites. This language is capable of achieving several things including controlling the browser, editing content on a document that has been displayed, allowing client-side scripts to communicate with users and also asynchronous communication. It is one of the languages that is accepted by all major browsers.
PHP
PHP is a free server-side programming language that is used for not only web development but also as a general purpose programming platform. It is one of the easiest programming language s because of its simple and clear syntaxes and for having few keywords. Facebook uses a lot of PHP and WordPress, the popular CMS is also programmed using PHP.
HTML/CSS
HTML/CSS are not programming languages but are markup languages that are used to design web pages. HTML is used to design a static pages and CSS is used to style your page. If want to work in front-end development then you should familiarise yourself with these languages.