Exercise:

Add a footer to the panel with the words "I ROCK!".

Hint: Use the .panel-footer class.

Edit This Code:
x
 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
  <div class="panel panel-default">
    <div class="panel-heading">Good Job</div>
    <div class="panel-body">You're Good!</div>
    <!-- Add Panel Footer Here -->
  </div>
</div>
</body>
</html>
Result:
Correct Code:
xxxxxxxxxx
 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
  <div class="panel panel-default">
    <div class="panel-heading">Good Job</div>
    <div class="panel-body">You're Good!</div>
    <div class="panel-footer">I ROCK!</div>
  </div>
</div>
</body>
</html>
Correct Result:
Exercise - © w3schools.com