What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

'defer>' is throwing an error

hohown

New member
I don't really understand a lot of html and I'm following a tutorial atm... I'm following the tutorial one to one and this 'defer>' next to my script source keeps throwing an error and I don't understand why. please help!

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Understanding TypeScript</title>
<script> src = "app.js" defer></script>
</head>
<body>
<input type="number" id="num1" placeholder="Number 1"/>
<input type="number" id="num2" placeholder="Number 2"/>
<button>Add!</button>
</body>
</html>
 
Back
Top