I have this html code that contains both inline and external javascript:
<!DOCTYPE html>
<html>
<body>
<script>
alert('hello');
alert('world');
</script>
<script src="somedo.js"/>
</body>
</html>
somdo.js:
alert('executed');
When the inline code is put on top of the external javascript, the external javascript never executes. When the external is on top, the inline javascript never executes.
Can someone help please.