JavaScript Basic Operations Part 1

Objectives

  • Create a webpage that contains a script tho display the following (using document.write()):
  • The letters "xy" in strong (bold) font, with font family Times New Roman, and the color red
  • The numbers "12" written in blue color, and font family Arial
  • The numbers "89" written in green color, emphasized (in italics), and font family Impact
  • Each of these pairs is separated by one blank space

Part 1


Create a webpage that contains the script document.write() to add stylized text to the wepage.

View Part 1

Part 2


Use input fields and Math Object Methods to calculate sum, average, and product of three integers.

View Part 2

Part 3


The objective is to create a tool that allows the user to see the currency exchange rate of the US dollar.

View Part 3