What is wrong with the function computeTotal()?

<html>
 <head>
   <script
 src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
   <script src="script.js"></script>
 </head>
 
 <body>
   <ul>
     <li>10</li>
     <li>50</li>
     <li>10</li>
   </ul>
   <div id="total">  
   </div>
 </body>
</html>

You have only posted HTML.

[What is wrong with the function computeTotal()?]

yes i wont this html answer above html program

If you want help with the JS code you have to actually post it. Post the content of the script.js file.


Also, please try to be a little more descriptive when asking for help.