Submodule 11.1: Bootstrap and jQuery
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: