My code :
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<script language="JavaScript" type="text/javascript" >
<location.href="https://www.codecademy.com/.html";></script>
</body>
</html>
error message:
JavaScript Console
Uncaught SyntaxError: Unexpected token '<'
Line: 3
Please rectify my mistake and explain how to force load a page in JavaScript.