Hello, what’s wrong with my code? Any help will be very appreaciated
script>
var showButton = ("#showButton");
// Create the variable 'hideButton' to store #hideButton
var hideButton = ("#hideButton");
var image = $("#image");
function showElement() {
image.show();
}
function hideElement() {
// Use the “hide()” function on the image variable:
image.hide();
}
showButton.on(“click”, showButton);
// Add an event listener to the hideButton variable.
// It should perform hideElement when a “click” occurs:
hideButton.on(“click”, hideButton)