Another try with the form. This time around I have everything looking a little bit cleaner thanks to the section in the class I’ve taken recently. At least on the HTML side. This took longer than I liked because of some issues with the JavaScript, but to be fair I haven’t reached that far into the lessons yet. For future reference it seems if I ever want to work with decimals I’ll need to parseFloat and not parseInt. Changed the input from a textbox to a selection box. The values for the fractions are decimals in the option tags. Not......
The Form The code below is supposed to show the prices for different products based on the Length and Width of a screen entered. Length in inches: Width in Inches: Screen Pricing Euroscreen Price = Double Euroscreen Price = Honycomb Sunshade Price = Honycomb+Euroscreen Combo Price = Double Honycomb Price = The Code I cannibalized some code and here's the end result. If anyone ever needs something like this feel free to grab it and modify <html> <head> <article> <script> var linch, winch, tinch, total, price, temp; function screens() { linch = parseInt(document.getElementById("one").value); winch = parseInt(document.getElementById("two").value); if (linch && winch)......