Tell us what’s happening:
how do i solve this???
what does empty template mean
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const formattedDate = '';
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Challenge Information:
Learn the Date Object by Building a Date Formatter - Step 9
Next, create a const variable named formattedDate and assign it empty template literals.
Template literals are delimited with backticks (`), not quote marks. You use them to create strings which can contain expressions or variables, amongst other things.
Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.
system
Closed
November 13, 2024, 9:55pm
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.