Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript shows me TypeError saying my variable is undefined

<head>
<title>Hello</title>
<link rel="stylesheet" href="main.css">
<script src="main.js" defer></script>
</head>
<body>   
<h1 class="GB"> Holla</h1>
</body>
</html>
 
PREVIOUS NEXT
Tagged: #Javascript #shows #TypeError #variable #undefined
ADD COMMENT
Topic
Name
3+6 =