Peterihimire's Posts
Nairaland Forum › Peterihimire's Profile › Peterihimire's Posts
1 (of 1 pages)
From the screenshot below, I tried to explain how i linked my own. Because sometimes the problem is how to locate the JavaScript file , from the source or folder location. (1) I made a folder called JS-BASICS, that s where I create all my html, css and JavaScript files. (2) Go ahead create a JavaScript file , which will end with dorks, for example my own here is mine.js, I also created a html file, which is mine.html. They are all inside the JS-BASICS folder. (3) Now setup your html, as usual with the <!DOCTYPE html>, <head>,< body>, now inside the< body>, observe how i called my mine.js file into my html file. <script src="mine.js"></script> Save it, guess it should work. Also a little video from Mosh Hamedani about JavaScript fundamentals or beginners guide will help you to set up yours. The video is more than 40 min . I attached a screenshot below to help you locate the video easily on YouTube if you wish to go further.
|
1 (of 1 pages)