ISGB 7905– Programming Assignment Three
Due—End of day Friday 07/12/2019
Description
Your candy shop, Confiserie Velours Pourpre, sells chocolates, brittles, toffees, and other treats.
You just received an order for ten (10) boxes of assorted chocolates. All candies in your shop are hand-made and each assorted chocolate piece weighs in between 0.55 and 0.75oz.
For each box, there should be:
(At least) Half a pound (8oz.) of chocolate
(At least) Twelve pieces of chocolate
Even number of chocolates for good omen (no 13!)
You are to create a web page to track the weight and the number of chocolate piece in each box.
Requirements
You need to have:
(1 point) Proper page title, a page header, a text box of size 6, and a named paragraph to show result
(1 point) A separate CSS file to specify:
obackground color
odifferent font families, sizes, colors between page header and page text
(3 point) JS function that uses for loop, while loop, random numbers, and two arrays (to store the weight and count for each box of chocolate)
(1 point) Padded zero in the box index for the first nine orders; two decimal places for the weights
Submit: Zipped HTML file, CSS file, and a localhost screenshot showing ten orders
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。