HOME

Teaching Online Journalism

Posts tagged ‘javascript’

Introducing the HTML5 canvas element

In a Web coding class, in which students work with HTML, CSS and JavaScript, they should also have some exposure to the canvas. Here are the materials I’ve developed for a basic introduction: PowerPoint (on Slideshare): Introduction to HTML5 canvas GitHub repo (all examples and code) Live examples (Web pages to view) Exercises: Example files […]

Get started with Web coding. Part 2: JavaScript and jQuery

I’m not willing to say every journalism student needs to learn JavaScript. But I believe strongly that journalists and educators and students need to understand how the Web works, and what must happen before you see something you can interact with — on a mobile phone or a tablet or a website.

So that’s how I’m going to start — with something simple and basic that you should understand.

When you see things that move or react to your clicking and typing in any Web-based story or feature or app, that’s probably JavaScript making it all happen. Only JavaScript. Even the control buttons on an audio player or a video player — now that Flash is far out of favor, even those little buttons are created with a combination of CSS and JavaScript.

Programming and journalism students: A conversation

I think it’s pretty cool to use Storify to sort out the threads of a bunch of simultaneous conversations on Twitter: [View the story “Programming and journalism students: A conversation” on Storify] Please join in — on Twitter, on Facebook, or here.