This css page is where you'll put all your styles. If you're working with a JavaScript library, you might import it here otherwise it is linked to from the index.html file./src/style.css All the functionality you wish to build is in here. It contains links to both external library sources (CDNs) or to local files–those in the src folder.Īdditionally, the JavaScript is imported from the index.js file.Īnd finally, the tag contains the elements that will be rendered on the page and possibly manipulated by the JS./src/index.js It's the file that gets loaded when the user visits the page. This file is the main file for the web page. Let's look at these files in more detail. And these files are linked either to the index.html file or to the index.js file. The src folder is where you'll put any additional. In the src folder, there's a index.js file and the style.css file. There's an index.html file at the top level of the directory. While a lot will be added to this, what comes out of the box is sufficent for you to begin to work with JS. The JS Dev Environment (JDE) runs on the barest of items.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |