Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

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

Try your code in this preview. Submit marks it done.

<!doctype html> <html></html>

Document

To view the HTML changes, please type the code within the editor