Javascript file is not used in the html file despite linking it
I am unable to use the javascript file and validate my HTML form. I am wondering if the issue is the linking of the src directory is wrong or could it be that I am missing something in my javascript codes. File Directory Image
<html>
<head>
<title>Registration Page</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/validation.js"
type="text/javascript">
</script>
</head>
<body>
<form action="validate" method="post" name="register">
Full Name: <input type="text" name="name" required/><br/>
Email Address: <input type="email" name="email" required/><br/>
Address Line 1: <input type="text" name="address1" required/><br/>
Address Line 2: <input type="text" name="address2"/><br/>
Postal Code: <input type="number" name="postal" required/><br/>
Mobile Number: <input type="number" name="mobile" required/><br/>
Password: <input type="password" name="password" required/><br/>
Confirm Password: <input type="password" name="cfpassword" required/><br/>
<input type="submit" value="Submit"/>
</form>
</body>
</html>