CSCI 102T

The Socio-Techno Web

Home | Calendar | Labs | CS@Williams

Practice Makes Perfect!

In this lab, you will have a chance to practice many of the concepts you have already learned! This lab will not be graded! I encourage you to complete it, however, in preparation for the midterm next week.

Exercise 1

Design a webpage (similar in structure to cipher.html) that has two text areas and two buttons. The left text area will be for decimal numbers, and the right text area is for binary numbers. The buttons will convert between the two text areas. This will give you practice with HTML, Javascript, for loops, if-else statements, and binary-decimal conversion.

Here is a working version!

Tasks for lab

  1. Complete Exercise 1!