up
This commit is contained in:
parent
ab9ab64bd5
commit
97c8f22bbb
289 changed files with 195 additions and 172 deletions
|
@ -0,0 +1,27 @@
|
|||
JavaScript-code:
|
||||
|
||||
```js demo run
|
||||
let name = prompt("What is your name?", "");
|
||||
alert( name );
|
||||
```
|
||||
|
||||
The full page:
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
let name = prompt("What is your name?", "");
|
||||
alert( name );
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue