jQuery Pro forecast


Hello, can you please provide me a hint for the the third step of the project. In particular I do not exactly know how to handle siblings in jQuery

var main = function() {

$(".day row").click(function() {
$(".day row").sibling().toggle();





In your jQuery selector
you are point to the HTML element carrying the class-attribute with class-name "day"
what is the kind of attribute is row a class .row or an **id-attribute #row

To manipulate the DOM by traversing through siblings
you use the next() or prev() Method's of jQuery.



could you please show the correct code? because I am doing it wrong.


Please present the FULL code you are using