Learn the Date Object by Building a Date Formatter - Step 23

Tell us what’s happening:

i put all the appropriate text in the field but it still isnt taking

Your code so far

currentDateParagraph.textContent = ${month}-${day}-${year} ${hours} Hours ${minutes} Minutes

error says it isnt right


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn the Date Object by Building a Date Formatter - Step 23

Inside the case for mm-dd-yyyy-h-mm , set the textContent property of currentDateParagraph to ${month}-${day}-${year} ${hours} Hours ${minutes} Minutes .

You have deleted the backticks given by default in this challenge, and the semi-colon after the right backtick.