Forum Discussion

NikkiLowin-3dc2's avatar
NikkiLowin-3dc2
Community Member
2 months ago
Solved

JavaScript help

Can someone help me with coding javascript to display a current date in the following example format: Monday, July 8, 2025.  Appreciate any help and many thanks!
  • Nedim's avatar
    2 months ago

    I don’t think holding the current date value in a text entry field is a good idea, as it can be easily overridden by the learner’s input. Instead, you can display the current date in a text box by referencing the current_date variable.

    The JavaScript code for setting the current date is included in the attached .story file.