Tell us what’s happening:
I tried as much to ensure to implement required task but can’t pass the code.
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
const formattedDate = `Today is a new ${day}`;
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Challenge Information:
Learn the Date Object by Building a Date Formatter - Step 10
the question to ask yourself whenever you run into a problem like this is:
-did I complete what was asked of me?
The request in this case was:
add an embedded expression that contains the day
variable.
I do not see though anything about that expression containing anything --other-- than the day variable?
1 Like
i would think the expression i implemented contained the variable ${day}
?
yes but what else was there?
It’s the extra stuff that needs to go.
1 Like
An expression which i think are words(or strings), which i added to complement the variable day.
sure that would work fine on your computer. But in fCC, where the testcases are written with certain expectations, there is no room for creativity.
1 Like
That was helpful, thank you very much.
1 Like