/zenclass-callback-hell-task

zenclass-callback-hell-task

Primary LanguageJavaScript

Countdown and Independence Day Message

This project displays a countdown from 10 to 1 and then displays "Happy Independence Day" on the screen.

Task Requirements

  • Display countdown from 10 to 1.
  • Display "Happy Independence Day" after countdown.
  • Constraints:
    • Do not use named functions.
    • Do not use a set interval function.
    • Do not use recursion.
    • Do not use IIFEs and named functions.
    • Do not use looping.
    • Use callback hell to deploy the timer.

Files

  • script.js: JavaScript code for countdown and message display.
  • index.html: HTML file to display the countdown and message.