-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbsAlertsE3.html
32 lines (27 loc) · 983 Bytes
/
bsAlertsE3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!--
from BOOTSTRAP 3 Alerts: Exercise 3 ( https://www.w3schools.com/bootstrap/exercise_bs3.asp?filename=exercise_bs3_alerts3 )
question:
Add the appropriate Bootstrap class to make the alert message closable.
<div class="alert alert-success _________________">
<button class="close" data-dismiss="alert">X</button>
Blah blah blah.
</div>
//-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<!-- BEGIN: answer -->
<div class="alert alert-success alert-dismissible">
<button class="close" data-dismiss="alert">X</button>
Blah blah blah.
</div>
<!-- END: answer -->
</body>
</html>