Programming Exercises

Design a modal window using HTML and inline CSS, which displays a message and has a close button.

Hard

Problem Statement

Design a modal window using HTML and inline CSS, which displays a message and has a close button.

Sample Input

A modal window with a close button.

Sample Output

The webpage displays a modal window that can be closed by clicking the close button.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!doctype html> <html></html>
Log in or sign up to run or submit your code.Log inSign up
Input
A modal window with a close button.
Expected Output
The webpage displays a modal window that can be closed by clicking the close button.