• ORBITER-FORUM will be temporarily closed at 2020-09-23 08:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

Reaction score

Profile posts Latest activity Postings Media Albums About

  • <HTML>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Beginning of JavaScript -
    function changecolor(code) {






    <input type="button" name="Button1" value="BLACK" onclick="changecolor('black')">

    <input type="button" name="Button2" value="RED" onclick="changecolor('red')">

    <input type="button" name="Button3" value="GREEN" onclick="changecolor('green')">

    <input type="button" name="Button4" value="BLUE" onclick="changecolor('blue')">

    <input type="button" name="Button5" value="YELLOW" onclick="changecolor('yellow')">

    <input type="button" name="Button6" value="WHITE" onclick="changecolor('white')">


    <form name="calculator" >
    Solution<input type="textfield" name="ans" value="">
    <input type="reset" value="Reset">
    <input type="button" value="=" onClick="document.calculator.ans.value=eval(document.calculator.ans.value)">

  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…