Back

Webkata HTML Excercise: 24 Border  test case failed problem

Created 1 year ago
312 Views
2 Comments
NareshS5u8v8
@NareshS5u8v8
NareshS5u8v8
@NareshS5u8v8Profile is locked. Login

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

Comments (2)
Please login to comment.