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

Tell us what’s happening:

I donot know what wrong with this code.

Your code so far

<!-- file: index.html -->

/* file: script.js */
// User Editable Region

const date = {
  Date: new Date()
};

// 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/131.0.0.0 Safari/537.36

Challenge Information:

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

Hi there! Follow the given example:

const currentDate = new Date();