To reverse the default behavior , so that the details are initially hidden , the NavContent element can be declared with style = `` display : none ; '' .
To reverse the default behavior , so that the details are initially hidden , use ( instead of ) in the outer div element . Do not add to the NavContent element , because that will make it impossible for users without Javascript to see the content .