Week 1: Introduction to Programming

Course Overview


Learning JavaScript

Computers are deterministic machines. They do exactly what they are told to do. Programming is the process of problem-solving with a computer, on its terms. Programming is not exactly a language but a way of thinking.

The Challenges of this Class:

Types of Projects with JavaScript

Student 477 Projects

Tools & resources


HTML Review and JavaScript Intro


Computational Thinking

computation in everyday life:

1-200 sum?

drawing three triangles: humans vs computers

Main Programming Concepts 

How do you play Tic Tac Toe? Explain to a five year old. Tic Tac Toe

How do you play Hangman? Explain to a five year old. What is the set up needed? What are the logic steps?

Dynamic Page Example:

Student Pairings Shuffle

Opening the Console to Check Errors:


FTP Instructions

uploading files using an FTP (file transfer protocol) client

Steps to upload to remote server:
  1. In your free FTP client (Cyberduck or Filezilla) “Open Connection”
  2. Enter the following info: servername: dtc-wsuv.org username: first initial + last name +year started + @dtc-wsuv.org , all in lowercase, no spaces or symbols (so, “Sam Jones” who started DTC355 in 2026 would be “sjones26@dtc-wsuv.org”) password: random password sent to you by Greg - it should be saved for you, look in history - the clock icon.
  3. If successful, you should be in your personal server directory that has the same name as your username (without the @dtc-wsuv.org) . Now you can either drag the folder and files in that directory or use the “action” menu to “upload”
  4. Upload folders and files in all lowercase with no spaces
  5. Make sure that your default page for the project is “index.html”
  6. Check how everything looks on the live absolute URL. Example: http://dtc-wsuv.org/sjones26/project/
  7. If you cannot see images, make sure that your file names and calls to access those files are all lowercase. Servers are case-sensitive!