Book
Submodule 11.1: Bootstrap and jQuery
Submodule 11.1: Bootstrap and jQuery
Completion requirements
View
- JQuery
- Bootstrap's JS components
Adding JavaScript Code
Finally, we add JavaScript code to activate the buttons.
- Create in the
leChocolat
folder the subfolderjs
. - In the subfolder
js
, create a new filescripts.js
. - Link ALL the HTML files with the
scripts.js
Update the scripts.js
with the following JavaScript code: