---
title: "Discussion on \"Template Literals\" | Hashnode"
description: "Discussion on \"Template Literals\". JavaScript used to have two ways of writing a string: using single quotes or using double quotes. With template literals, we now have a third way: using backticks. Looks something like this:\nlet myBelovedString = `A dance under the moonlight.`;\n\nOnce..."
url: "https://hashnode.com/posts/jsymk-1-template-literals/6154a1bf414f78089df3d38e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Template Literals](https://blog.bracketsinstitute.com/jsymk-1-template-literals?utm_source=hashnode&utm_medium=feed)

JavaScript used to have two ways of writing a string: using single quotes or using double quotes. With template literals, we now have a third way: using backticks. Looks something like this: let myBelovedString = \`A dance under the moonlight.\`; Once...

Sep 29, 2021 · 9 min read · blog.bracketsinstitute.com  
Updated Dec 28, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)
-   [#es6](https://hashnode.com/tag/es6)
-   [#es2015](https://hashnode.com/tag/es2015)
-   [#string](https://hashnode.com/tag/string)

## Written by

[NRF](https://hashnode.com/@therealnrf)

@therealnrf

  
[View profile](https://hashnode.com/@therealnrf)

React Developer

I'm a front-end web developer mostly focused on JavaScript. Specifically, React.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
