Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write HTML / JavaScript web page called convertusdtocad.html in assignment 1 folder, that has the following items: a . Two text items labeled as USD
Write HTMLJavaScript web page called convertusdtocad.html in assignment folder, that has the following items: a Two text items labeled as "USD Dollar" and "CAD Dollar", the first USD dollars is enabled with id"usd", while the latter is disabled with id"cad" b One button is named convert c Functionality: when the user clicks on the button, a JavaScript function named "convert" will be called to convert the value is entered in the "usd" item to the "cad" item using the currentdaily conversion rate. The JavaScript function must be written in a file named currencyconvert.js Create form.html and successfullysubmitted.html files in assignment folder, in form.html you will be creating the form that is shown in Figure below. The form is redirected to successfullysubmitted.html once you submit the form using the POST method. All fields must be required. For id if you choose Yes a file field must appear in the form. If you choose No the file field must be removed. For now, you dont need to implement the file field to upload any files. Use the function JavaScript document.getElementById to show the file field. You may use internal or external JavaScript function. Note: the "name" attribute of both radio buttons should be the same. This is because they are part of the same radio group, and you want to allow only one option to be selected at a time. The HTML file successfullysubmitted.html should only have one line: The form data has been successfully submitted
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