es6

09. Template Literals πŸ‘©β€πŸŽ“πŸ‘¨β€πŸŽ“

πŸ—οΈ Implement Template Literals

Implement the following user story:

  • As a developer, I want to know how to use template strings render HTML.

Acceptance Criteria

  • It’s done when I have created a music object in starter/index.js.

  • It’s done when I have added title, artist, and album properties to the music object.

  • It’s done when I have used template strings in the div tags to output data from the music object.

  • It’s done when I open index.html and see the results.

πŸ’‘ Hint

  • Can we use template strings in place of string concatenation?

πŸ† BONUS

If you have completed this activity, work through the following challenge to further your knowledge:

  • It’s easy to get confused about which syntax belongs to which technology. The dollar sign ($) is used a lot in JavaScript. What are some other places you have seen the dollar sign used?

Use Google or another search engine to research this.


βœ… Solutions

Solutions Click Here