This commit is contained in:
Ilya Kantor 2016-03-04 19:06:22 +03:00
parent e78e527866
commit 05a93ced80
212 changed files with 3213 additions and 3968 deletions

View file

@ -1,12 +1,8 @@
The HTML code:
```html
<!--+ src="index.html" -->
```
[html src="index.html"]
For the file `alert.js` in the same folder:
```js
//+ src="alert.js"
```
[js src="alert.js"]

View file

@ -1,7 +1,9 @@
importance: 5
---
# Show an alert with an external script
[importance 5]
Take the solution of the previous task [](/task/hello-alert). Modify it by extracting the script content into an external file `alert.js`, residing in the same folder.
Take the solution of the previous task <info:task/hello-alert>. Modify it by extracting the script content into an external file `alert.js`, residing in the same folder.
Open the page, ensures that the alert works.