47,635 views
6 votes
6 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 MertG
by
2.7k points

1 Answer

10 votes
10 votes

Answer:

i cant see it clear ma'am / sir.

User Ok
by
2.6k points