var quantity_in_stock_S = 10
I am wanting the HTML to print out the number 10 but it doesn't seem to be working. Any ideas?
var quantity_in_stock_S = 10;
When the src attribute is present on a script tag, it ignores the code between the opening and closing tag.
Anyways... what the other posters said is correct. Put all your code in that script.js file, or use a separate script tag.