Create Strings using Template Literals, Learn JS ES6

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=jxgYqgjZeWc



Duration: 8:18
1,095 views
17


In this lesson from freeCodeCamps ES6 Challenges, we look at template literals. Using template literal syntax will make your code easier to read and will save time and redundancy. With template literal strings we can use a special syntax to interpolate parameters into our strings without having to use quotes (' or ") and + when concatenating. We do not have to worry about concatenation when using template literal syntax. It is important to remember that in order to use template literal syntax when creating a string, we must use backticks around our string instead of quotes. Once one practices template literals and implements template literals a couple times it becomes a lot easier to understand template literals. Template literal help can be hard to find but if you practice it more than a couple times it should become a lot simpler to comprehend template literals.




Other Videos By We Will Code


2019-12-22Import a Default Export, freeCodeCamp's ES6 Lessons and Explanations
2019-12-21Create an Export Fallback with export default, freeCodeCamp's ES6 JS Syntax
2019-12-21Use * to Import Everything from a File, freeCodeCamp
2019-12-21Reuse Javascript Code Using import, freeCodeCamp's ES6 Challenges, Javascript Help 2020
2019-12-20Use export to Share a Code Block, ES6 Challenges freeCodeCamp, WebDev Tutorials
2019-12-18Create a Module Script, Learn JS ES6 Syntax on freeCodeCamp, Learn to Code Free Online Tutorial
2019-12-17Use getters and setters to Control Access to an Object, freeCodeCamp's Learn ES6 Syntax Challenges
2019-12-03Use class Syntax to Define a Constructor Function, ES6 tutorial, Learn ES6 Syntax
2019-12-02Write Concise Declarative Functions with ES6, Learn ES6 Syntax
2019-11-29Write Concise Object Literal Declarations Using Object
2019-11-28Create Strings using Template Literals, Learn JS ES6
2019-11-26Use Destructuring Assignment to Pass an Object as a Function's Parameters,Learning Destructuring ES6
2019-11-24Use Destructuring Assignment with the Rest Parameter to Reassign Array Elements, Learn JS 2020
2019-11-23Use Destructuring Assignment to Assign Variables from Arrays, Learning JS ES6 2020, Web Dev
2019-11-22Use Destructuring Assignment to Assign Variables from Nested Objects, Learning the ES6 Syntax
2019-11-21Use Destructuring Assignment to Assign Variables from Objects, An ES6 Course Introduction
2019-11-20Use Destructuring Assignment to Extract Values from Objects, freeCodeCamp tutorials for ES6
2019-11-19Use the Spread Operator to Evaluate Arrays In-Place, An ES6 Teaching
2019-11-18Use the Rest Parameter with Function Parameters, freeCodeCamp Course on ES6 Syntax, Learn JS 2020
2019-11-17Set Default Parameters for Your Functions, ES6 Courses on
2019-11-16Write Arrow Functions with Parameters, freeCodeCamp's ES6 Course, ES6 Challenges FreeCodeCamp



Tags:
understand template literals
using template literals
learn template literals
es6 template literals