Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

help with Javascript Price Calculator?

Hi i wrote a code for a price calculator where you are supposed to enter you price state residence etc on a pop-up prompt, but i dont know how to get the pop up to work or how to display my final sum

any help tonight would be greatly appreciated

https://paste.ofcode.org/hnEBQHENPyz6dMkUmiguQE

1 Answer

Relevance
  • John
    Lv 7
    3 years ago

    . replace all "/" with "//" for comments

    . replace "initial price" to "initialPrice" in line #27

    . replace all "clubmembership" to "clubMembership"

    . replace all "toUppderCase ()" to "toUpperCase()" no whitespace in between

    . replace the "+finalPrice" to "finalPrice" in line 51

Still have questions? Get your answers by asking now.