Numbers and Strings
Numbers and Strings
π¨βπΌ We're building a product catalog system. Our first task is to create
variables that store product information with proper types.
We need to track:
- Product prices (numbers)
- Product names (strings)
- Product descriptions (strings with template literals)
π¨ Open
and complete the following tasks:
- Create a variable
pricewith typenumberset to29.99 - Create a variable
productNamewith typestringset to"TypeScript Guide" - Create a variable
quantitywith typenumberset to100 - Create a
descriptionvariable that uses a template literal to combine the product info
π° Template literals let you embed expressions inside a string.


