Hi, so I wanted to make an image change when clicked, seemed simple enough, but when I run the page and click the image- nothing happens. Worse still, I think I understand what's going on, which means I clearly don't if it isn't working!

Here is my HTML:

Code:
<!DOCTYPE html>
<html>
<head>
<!-- References the external stylesheet -->
<link rel="stylesheet" type="text/css" href="design.css">
<title>SECTION - WELCOME</title>
</head>

<body>
    <div> 
	<h1>WELCOME</h1>
    <section> 
	<!--Central Image-->
	<img src="./images/button_unpressed.jpg" alt="FORBIDDEN WEBSITE" id="displayed" onclick="imageChange(./images/button_pressed.jpg)"/>
	    <script type = "text/javascript" src="functionality.js"></script>
	
	    
	</section>
    </div>
</body>

</html>
Here is my Javascript:

Code:
imageChange(sourceVar)
{
document.getElementById("displayed").src = sourceVar;


}
Thank you to anyone who helps