master
Matt Huntington 9 years ago
parent 1bc0e468ec
commit d035f25a01

@ -20,10 +20,12 @@ First thing we want to do is create basic `index.html` file:
</html> </html>
``` ```
Now add a link D3: Now add a link to D3 at the bottom of your `<body>` tag in `index.html`:
```html ```html
<body>
<script src="https://d3js.org/d3.v4.min.js"></script> <script src="https://d3js.org/d3.v4.min.js"></script>
</body>
``` ```
Now create `app.js`, which will store all of our code: Now create `app.js`, which will store all of our code:
@ -32,8 +34,11 @@ Now create `app.js`, which will store all of our code:
console.log('this works'); console.log('this works');
``` ```
and link to it in `index.html`: and link to it in `index.html` at the bottom of the `<body>` tag:
```html ```html
<body>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="app.js" charset="utf-8"></script> <script src="app.js" charset="utf-8"></script>
</body>
``` ```

Loading…
Cancel
Save