CSS Border Properties
The goal of this coding exam is to quickly get you off the ground with the CSS Border Properties.
Use the below reference image.
<!DOCTYPE html>
<html>
<head>
<title>Hello html</title>
</head>
<body>
<button class="btn btn-primary" type="button">
Change border...
</button>
<p class="description">Hello Css</p>
</body>
<script src="https://code.jquery.com/jquery-3.5.0.js"></script>
<script>
$('.btn').click(function(){
$('.description').css('border-color', 'blue')
});
</script>
<style>
.description {
border: 1px red solid;
}
</style>
</html>
Comments
Leave a comment