score:1

Try this:

<p>
  <span style="display:block">${new_data[i].name}:</span> ${new_data[i].val} 
</p>

score:2

try this.

var _html = "<p>" + ${new_data[i].name}: ${new_data[i].val} + "</p>";

POPULA POST