Question
Add JavaScript code to DollarConvert.html WHERE IT SAYS // Add your code here so it converts an amount in dollar to another currency. In particular,
Add JavaScript code to DollarConvert.html WHERE IT SAYS "// Add your code here" so it converts an amount in dollar to another currency. In particular, the converted amount should be updated as the user types the dollar amount, and it should also be updated whenever the user selects a different currency.
HINT:
Add event handlers to the keyup event of the input field and the change event of the dropdown list.
.val() can be used on a
DollarConvert.html, the code to be modified:
-------------------------------
Only code where the comment is marked, changing anything else is not allowed.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started