HTML 网页,按照题目内容,编写1个HTML网页。详细在图里,求HTML、CSS 和 JavaScript代码,急用

(如图所示,内容以英文为准。图1-3是任务内容,图4-5是任务内容的中文翻译)Task1:Createawebpagenamedcompound-interest.htm... (如图所示,内容以英文为准。图1-3是任务内容,图4-5是任务内容的中文翻译)Task 1:Create a web page named compound-interest.html that calculates the compound interest based on the given initial deposit, annual interest rate, and years to grow. For example, given the initial deposit (often referred as the “principal”) of $1000 and the interest rate of 10%, the interest earned in the first year is $1000*10%=$100, and the ending value is $1000+$100=$1100. In the second year, the interest earned will be $1100*10%=$110, and the ending value becomes $1100+$110=$1210. The layout of the page is:(图)Here are some requirements:1. Use a loop to show the results in a table, including year, starting value, interest earned and ending value2. Add value check for three input boxes, e.g., non-negativity3. Show both of your name and student id in the page4. Try to use jQuery for page interaction, and use separated CSS and JavaScript documents, namely compound-interest.css and compound-interest.js.5. Add these documents in your local web server and request this page by entering a valid URL Hints:(1) The parseFloat() method converts a string to a float number. 展开
 我来答
紫薇参星
科技发烧友

2022-09-21 · 有一些普通的科技小锦囊
知道大有可为答主
回答量:5983
采纳率:92%
帮助的人:3541万
展开全部

按照题目要求编写的利率计算的HTML程序如下(见图,图中有重复的地方只需写一次)

要求compound-interest.css文件,compound-interest.js文件,compound-interest.html文件放在同一文件夹中.

下面是compound-interest.html文件(见图)

下面是compound-interest.css文件(见图)

下面是compound-interest.js文件(见图)

更多追问追答
追问
可以把全部代码都贴上来吗?参考容易些,谢谢
追答
全部代码贴在你提的另一个相同问题上了.正在等待审核.
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式