My first problem was about the fiddle not working. Now it works, but if I copy it into my brackets file it doesn\'t work anymore. I did include the link that I placed in the ext
Put
$(".trigger").click(function() { $(".content").toggleClass("open"); });
Inside
$(document).ready(function(){ $(".trigger").click(function() { $(".content").toggleClass("open"); }); });