Mark has created a webpage and he wants to add a dialog box to it. He is not sure where the bug is and why the dialog box is not displayed on the webpage. Help Mark to solve his bug.
The Dialog tag
Edit the code
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Edit the code</title>
</head>
<body>
<h1>Dialog box</h1>
<p>This is a test example. Help out Mark here please.</p>
<dialog>
<p>Hello! I am a dialog box</p>
<dialog>
</body>
</html>
Completed 0 of 2
The code is valid.
Modify code such that the dialog box is visible.
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.