Respuesta :

The paragraph element containing the value of summarize(mypizza):

var cartbox = document. getElementById("cart-box");

var mypizza = "The best pizza in town!";

var para = document. createElement("p");

var node = document. createTextNode(mypizza);

para. appendChild(node);

cartbox. appendChild(para);

Code Explanation:

  1.    We first create a new <p> element.
  2.    Then we create a text node.
  3.    Then we append the text node to the <p> element.
  4.    Finally, we append the <p> element to the <div> element with id="cart-box".

Learn more about programming:

https://brainly.com/question/16397886

#SPJ4