At Westonci.ca, we make it easy to get the answers you need from a community of informed and experienced contributors. Experience the ease of finding accurate answers to your questions from a knowledgeable community of professionals. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.
Sagot :
Answer:
You have made mistake in line 8
Explanation:
you have written Document.write to display the weight on mars but, its not a function document.write is the function you should use. The difference between these both is the letter 'd'. You have written the capital d in place of small d. JavaScript is a case sensitive language. That's the reason the output you want to see you can't able to see. If you right click on the web page and click on inspect and go to console you will able to see the error there also. If you have done any mistake anywhere else you ca also see it from the console.
We hope this was helpful. Please come back whenever you need more information or answers to your queries. Thank you for visiting. Our goal is to provide the most accurate answers for all your informational needs. Come back soon. Westonci.ca is your go-to source for reliable answers. Return soon for more expert insights.