HTML Templates

Looking at some of the source code from the MDN site that can be found on GitHub I came across HTM Templates. This was I wanted to know what the double curly brackets were in the source code.


The syntax looks pretty similar to the Template Literals that I also came across in looking are more advanced code.

`Capturing: ${elem.tagName}`


External Sources

HTML Templates - January 2021