Write a JavaScript program that calculates the sales tax and total price of an item. Assume a sales tax rate of 8%, which means you will multiply the cost of the item by .08 in order tocalculate the tax amount. Use prompt and parseFloat to ask the user to input the item’s cost and convert it to a numeric format. Declare a variable salesTax and use the formula above to calculate the sales tax amount. Declare a variable totalCost, add the item’s cost plus the sales tax amount, and store it in totalCost. Output the Item cost, tax amount, and total cost on separate lines in the form of a receipt. Use document.write to display your output.Note: This assignment requires you to use document.write to display the output. Do not use console.log!!! If the tutoring center tells you to use console.log, you have to refuse it. You need to show you know how to use document.write. You will lose points for using console.log. I didn’t teach console.log and you should not use it. If your excuse is that tutoring center told you to use console.log, you will lose points for not using document.write. If the tutor says “it is ok to submit it” you will still lose points. The tutoring center is the help you meet the requirements for the homework, not creating new requirements.
Personalize the page with your photo on the top.
FTP/Publish the file to the webpage.pace.edu server and submit the link on Blackboard.
If you don’t FTP/Publish you will get a zero.
If you did FTP/Published and you don’t submit the http:// link to your assignment, you will get a zero also. (Because I won’t know if you published it or not and I need a direct link to your assignment.)
Rules are the same as HTML assignments.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more