<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Shipping and Handling Charge</title>
var purchasePrice= 25.00;
var shippingPrice= 1.50;
var totalCost= purchasePrice + shippingPrice;
window.alert("<p>The purchase price is $"
+ purchasePrice + "<br/>"); // prints successfully
window.alert("The shipping price is $"
+ shippingPrice + "<br/>"); // prints successfully
window.alert("The purchase price plus shipping is $"
+ totalCost + "</p>"); // prints successfully