I'm new to ASP.NET MVC and I'm working on a project based on an online course. I'm trying to call a js file to run and it's not working. Here is the call at the end of index.cshtml
@section scripts {
alert("before");
<script src="~/js/product.js">
alert("inside");
</script>
alert("after");
}
I can't get the window.alert message at the beginning of product.js (see screenshot below) to show up on runtime.
Any ideas?
