JavaScript JavaScript Basics Hello, JavaScript! Add JavaScript to HTML

Clayton Bailey
Clayton Bailey
1,196 Points

Am I skipping a step?

I feel like I am entering the info correctly into the files. In the index.html file I have the <script scr="js/script.js"></script> and in the Scripts.js file I have the alert("Hey, you're back for more?"); I have saved both files and when I click the preview button and hit refresh it doesn't seem to execute because the dialog box doesn't appear. Any Ideas?

1 Answer

Clayton Bailey
Clayton Bailey
1,196 Points

I figured out what the issue was. I named the file with a "S" and then in the code i referenced with a "s"