I am currently utilizing Twitter Bootstrap to construct my webpage.
Here is the snippet of HTML code I have:
<div class="btn-group">
<button type="button" class="btn btn-success">Connect</button>
<button type="button" class="btn btn-success dropdown-data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<li><a href="#"> Connect 1</a></li>
<li role="separator" class="divider"></li>
<li><a href="#"> Connect 2</a></li>
</ul>
</div>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>
</div>
<div class="alert alert-success" role="alert">Well done! You successfully connected. <a href="#step2" class="alert-link">Next</a></div>
My goal is to create an animation for the progress bar, transitioning from 0% to 100% when the user clicks either the connect button or the dropdown button (either one). Once the progress bar reaches 100%, a previously hidden alert message should be displayed.