Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Javascript file should read the input values, do the calculations, the display the results a. html file 1. Include a form for

image

Write a Javascript file should read the input values, do the calculations, the display the results a. html file 1. Include a form for both entering input and displaying the output values. 2. The output values can be displayed in read only text boxes or as labels. 3. Primary javascript functions for performing calculations should be in the the js file. 4. You can include minimal, inline javascript to call the appropriate functions when a button is clicked or a form is submitted. 5. The page should link to an external javascript file b.js file:This file holds the primary javascript for calculating the proper output. What to do: 1. You do not need for your code to validate your data for this quiz, but a good idea to set default values if you use textboxes for input. 2. Javascript should read the input values, do the calculations, the display the results input w:12ft l:14ft thickness:4 in bag size:60lb output values cubic yard:2.074 # of bags:124.196 cost:351.47 Background information: 1. Inputs: slab width in feet, slab length in feet, slab thickness in inches. One of three concrete bag sizes: 80 lb., 60 lb., and 50 lb. 2. Outputs: cubic yards of cement in the slab, the number of bags needed, the estimated cost of the bags of concrete mix. 3. Cubic yards = width in yards x length in yards x thickness in yards. Note: your formula should include the appropriate conversions for input units in order for the output to be in cubic yards. 4. The number of bags and estimated costs should be calculated based on the following: Bag size cu yard per bag 80 lb .022 60 lb .0167 50 50 .0138 cost per bag $3.75 $2.83 $2.45

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elements Of Chemical Reaction Engineering

Authors: H. Fogler

6th Edition

013548622X, 978-0135486221

More Books

Students also viewed these Programming questions

Question

What is a make-or-buy decision?

Answered: 1 week ago