Interactive Web Design

computer science

We can make our web pages interactive by using a programming language called Javascript.

We can:

  1. ask the user to input some data using a prompt.
  2. store the data in our Javascript program by using variables.
  3. process the data by writing some code.
  4. output the result onto the webpage.

This Introduction to Javascript is going to introduce us to these basic ideas:

  1. input
  2. store
  3. process
  4. output
  • Focus 1

  • Intro to <script>
  • Focus 2

  • User input
  • Focus 3

  • innerHTML