Write html page to enter city current temperature

Assignment Help Programming Languages
Reference no: EM1370997

Write HTML page that asks the user to enter the city current temperature and changes the background color depending on that temperature:

• Use HTML form to display textbox as temperature field and a button to change the background color (Use HTML form, do not use JavaScript prompt messages to get user input).

• Change background color according to:

?if temperature<20 change background color to "Blue".
?If 20< temperature <40 change background color to "Yellow".
?if temperature>40 change background color to "Red".

• Validate the temperature textbox and make sure it is not empty, Otherwise display an alert message.

Reference no: EM1370997

Questions Cloud

Illustrate what impact will shift have on equilibrium gdp : Explain different conditions that can make aggregate supply curve shift to right. Explain how this shift on a graph. Illustrate what impact will shift have on equilibrium GDP.
Prepare an income statement and balance sheet : Give a brief written evaluation of Kissick Corporation 's results from operations for the year and its financial position at the end of the year.
Find the time taken to reach the window : If the ball was thrown from the street, when does it reach the street again after it passes by window on the way up.
Explain area that represents profit or loss this firm earn : On a single graph draw marginal cost curve, average total cost curve and average variable cost curve for a typical firm. Explain how area that represents profit or loss this firm will earn.
Write html page to enter city current temperature : Write HTML page that asks user to enter city current temperature and changes background color depending on that temperature.
Difference in the effective annual rates : Bank A offers to lend $10,00 at a nominal rate of 7 percent, compounded monthly. The loan must be repaid at the end of the year.
Advertising between competition and oligopoly : Consider some of products which are widely advertised on television. By what type of firm is each produced the perfectly competitive firm, an oligopolistic firm, or another kind of firm? How many major products can you think of that are not advert..
Explain how that influences marginal benefits : Provide an example for each about decision-making, interaction and workings of economy. Explain how that influences marginal benefits and marginal costs associated with decision to purchase a house.
How numerous cubic centimeters of ice antarctica contain : A pendulum clock with a brass suspension system m is calibrated so that its period is 1s. at 11*C (degree Celsius). If the temperature increases to 44oC, by how much does period change.

Reviews

Write a Review

Programming Languages Questions & Answers

  Design logic for application for company-breakdown-payroll

Design the logic for an application for a company that wants a report containing a breakdown of payroll by department.

  Write program to calculate student-s quiz average

Write a program that will calculate a student's quiz average. The program should prompt the user for the number of quizzes and then ask the user for each quiz grade.

  Expression evaluate to true if string variable equals string

Write an expression that evaluates to true if and only if the string variable equals the string "end". Suppose that the value of s were "friend".

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  Identify entities of web site used for ordering a product

Identify a web site used for ordering a product or service and then identify the various entities. As an example when you go to Amazon.com and review products.

  Write a program that bounces blue ball inside jpanel

Write a program that bounces a blue ball inside JPanel. The ball should begin moving with a mousePressed event. When the ball hits the edge of the JPanel.

  Write program to accept a list of student-s name

Write a program that will accepts a list of student's name, individual scores for quiz1, quiz2 and quiz3. Your program should then compute for the average of 3 quizzes.

  Design and write a payroll program

Design and write a payroll program that will prompt the user to enter an employee's hourly pay rate and the number of hours worked.

  Program a maze-type game using assembly language

Project requires you to program a maze-type game using Assembly Language, it is not acceptable to use any other programming language for this project

  Write the program which approximates pi using series

Your problem is to write the program which approximates pi using above series. Allow the user to specify the number, n, of terms to be used.

  Create a class-how to cash goods-give change to customers

Write class called Cashier that directs a cashier how to cash goods and give change to customers. Typical cashier operations are as follows.

  Write a method to accepts string as parameter

Write a method called wordCount that accepts a String as its parameter and returns the number of words in the String. A word is a sequence of one or more nonspace characters

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd