Tell us what’s happening:
Now you need to build your dynamic HTML string to add to the webpage. Declare a new HTMLString
variable, and assign it an empty template literal string.
Your code so far
const HTMLString = ${""}
;
Now you need to build your dynamic HTML string to add to the webpage. Declare a new HTMLString
variable, and assign it an empty template literal string.
const HTMLString = ${""}
;
Hello:)
JavaScript Template Strings (w3schools.com)
What you do is the interpolation.
This is the answer: " Template Strings use back-ticks (``) rather than the quotes (“”) to define a string".
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.