<< Chapter < Page | Chapter >> Page > |
I recommend that you also study the other lessons in my extensive collection of online programming tutorials. You will find a consolidated index at www.DickBaldwin.com .
I explained in the earlier module titled Introduction to Accessible Physics Concepts why you will need an introductory understanding of JavaScript programming ( (External Link) and (External Link) ) to understand the modules in this collection. I won't repeat that explanation here. Instead, I will simply launchinto the material to help you gain that understanding.
The goal of this module is to provide an introductory JavaScript programming tutorial that isaccessible to blind students with no programming experience.
I chose JavaScript for use in these modules for several reasons.
Free
First, JavaScript is free. The capability to program in JavaScript is available to anyone who has a modern browser installed on their computer. Therefore, cost is not an excuse for not learning to program with JavaScript.
If you are reading this module using a modern browser, you have the ability to program using JavaScript immediately. You don't have to go out and buy anything, so that isn't an excuse for putting it off until tomorrow.
If you don't have a modern browser, you can download a free copy of the Firefox browser at (External Link) .
Fun
Also, programming with JavaScript can be fun. There are a lot of reallyinteresting things that you can do with JavaScript such as playing sound files (see (External Link) ).
OOP
JavaScript encompasses modern programming concepts. For example, JavaScript is based on the concept of objects. Object-Oriented Programming (OOP) is here to stay. (For an extensive discussion of OOP, see the early lessons in my online programming tutorials at (External Link) .)
A free audible, tactile scientific calculator
Most importantly, I chose JavaScript because you will be able to use it, along with a screen reader and a Braille display to create your own scientificcalculator. You can use JavaScript to create solutions to many of the exercises in the modules in this collection of physics concepts.
To use JavaScript for its intended purpose in the modules in this collection, you will need the following:
Listing 1 shows a minimal JavaScript script.
Listing 1 . A minimal JavaScript script. |
---|
<!-- File JavaScript01.html --><html><body><script language="JavaScript1.3">document.write("Insert JavaScript between script tags.","</br>")
document.write("Hello from JavaScript")</script></body></html> |
Notification Switch
Would you like to follow the 'Accessible physics concepts for blind students' conversation and receive update notifications?