M150 Data, Computing and Information
Unit 7
Introduction to programming using JavaScript
JavaScript Notes home
MyOpenUnivPage
my first JavaScript

1 Introduction High level programming language.  Formal language to
communicate with a machine.  Languages have syntax; grammar; vocabulary; meaning.  JavaScript has reserved words - if - while - for.
www.w3schools.com/js/
www.programmersheaven.com/
2 Getting Started <script> document.write('welcome to programming')</script>
                object . method    argument
3 Programming for selection: the if statement
4 Programming for repetition: the while statement
5 Programming for repetition: the for statement
6 Unit summary

Valid HTML 4.01 Transitional