// Function to handle the "Go Back" button click function goBack() { // Check if there is a referrer (previous…
ADD CODE :