1.5k views
4 votes
I am currently stuck on an assignment that is in the book JavaScript Web Warriors Series in Chapter 2. I cannot get the estimate to work and I cannot get the page to refresh back to default without holding shift. I copied from the book exactly but it wouldn't work, my professor had a few things different like instead of: document.getElementById("estimate").innerHTML = "$"+ totalCost;

she put
document.getElementById("estimate").textContent = "$"+ totalCost;

Here is my code:

I am currently stuck on an assignment that is in the book JavaScript Web Warriors-example-1
I am currently stuck on an assignment that is in the book JavaScript Web Warriors-example-1
I am currently stuck on an assignment that is in the book JavaScript Web Warriors-example-2
I am currently stuck on an assignment that is in the book JavaScript Web Warriors-example-3
I am currently stuck on an assignment that is in the book JavaScript Web Warriors-example-4
I am currently stuck on an assignment that is in the book JavaScript Web Warriors-example-5
User Stemadsen
by
5.2k points

1 Answer

4 votes

Answer:

i cant see it clear ma'am / sir.

User GoannaGuy
by
5.2k points