Tool of the week for journalists - Codeacademy, for those who want to start to code
Codeacademy provides free online training for those who want to learn JavaScript
Codeacademy provides free online training for those who want to learn JavaScript
This article was migrated from an old version of our website in 2025. As a result, it might have some low-quality images or non-functioning links - if there's any issues you'd like to see fixed, get in touch with us at info@journalism.co.uk.
Free tutorials in basic JavaScript
The rise in data journalism, an interest in Hacks/Hackers meetups and collaboration between journalists and developers has led to many journalists to express a wish to start coding. But where to start? Codeacademy is a learning tool that offers tutorials to get you started. So far there are only a couple of courses on the site but they are free and superbly designed.
The homepage gets you to begin entering a bit of JavaScript and you soon find yourself progressing though the tutorial. There is a progress bar to show you how much of the course you have completed and reward badges to give you the equivalent of the teacher's gold star. <img alt="" class="alignnone size-full wp-image-39998" height="241" src="?cmd=ShowAsset&assetID=43873&nosurround=true&fakeExtension=.jpg" style="border: 1px solid black;" title="Codeacademy" width="540"> You might well find you quickly learn simple JavaScript that has a useful application for you as a journalist. For example, within the first five minutes you learn that writing ".length" at the end of a word or phrase gives you the character count. You can then open an editor (using Chrome from a Mac the command is ALT+CMD+J), paste the headline of a news story, add ".length" and you will have the character count of the headline. <img alt="" class="alignnone size-full wp-image-39999" height="96" src="?cmd=ShowAsset&assetID=43874&nosurround=true&fakeExtension=.jpg" style="border: 1px solid black;" title="JavaScript" width="540">