Create from image

Report a typo

As shown in the image below, a dialog box has been created. Modify and edit the code below so that the output of the code results in the following dialog box:

Layout template with heading, paragraph and fieldset bordered by red dashes with two buttons bordered by green dashes

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>Create and apply styles to dialog box.</title>
</head>
<body>
<h1>Dialog box</h1>
<p>
We've created a brand new dialog box, and some CSS will also be applied to it.
Now you know how to create such a dialog box.
</p>
</body>
</html>

Completed 1 of 6
Create a dialog box and it should be visible.
Create a "Hello" button inside the dialog box with the id as "hello".
___

Create a free account to access the full topic