Align the given text "Code well" to center and give a green border to it.
Created 2 years ago
384
Views
1
Comments
My 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>
<p class="title">Code Well</p>
</body>
</html>
My css:
.title{
text-align: center;
border:1px green solid;
}
i dont know whats the error..Failed on three test cases..