Webkata HTML Excercise: 24 Border test case failed problem
Created 1 year ago
312
Views
2
Comments
Surround a text 'I am surrounded by a border' with a dotted border of 10px and space the border and text with 15px and set the background color of text to light blue
HTML CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Static Template</title>
</head>
<body>
<div id="example1">
I am surrounded by a border
</div>
</body>
</html>
CSS Code:
#example1{
border:10px dotted black;
border-spacing:15px;
word-spacing:15px;
background-color:lightblue;
}
bur still getting test case failed. please solve this issue
