I am preparing for MS exam 70-480 and practicing JavaScript - made an test example with different variations of .click events, but it none are working (buttons are not applying styles not at all).
What is missing/wrong is this code? https://jsfiddle.net/svguetq7/
// part of code
$("#btn3").click(function(){
$("article:first-of-type") .css("background-color", "blue");
});
Update
Embaring moment - all buttons had identical IDs, so that was a problem too. Message to others - please check your code extra one more time before asking something to StackOverflow :)