using this code snippet : AssessmentsTM252 25B | TMA01 Show details You need to extend the JavaScript in index.js to implement the following functionality: Initial display The card bodies for the two completed assessments need to be hidden.The toggle buttons for the two completed assessments must have the text Show details.The card body for the upcoming assessment needs to be visible.The toggle button for the upcoming assessment must have the text Hide details. Toggle buttons For each assessment card, clicking on the toggle buttons must show or hide the card’s body.When the card’s body is hidden, the button must have the text Show details.When the card’s body is visible, the button must have the text Hide details.The button’s aria-expanded attribute must reflect whether the card’s body is currently visible or hidden.