Skip to content

Commit

Permalink
resolved task 1 from chapter 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
moiseenkov committed Jun 22, 2022
1 parent 4d26b15 commit 1cf5baf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
5 changes: 5 additions & 0 deletions exercises/chapter_2.4_task_1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<body>
<script src="./vars.js"></script>
</body>
5 changes: 5 additions & 0 deletions exercises/chapter_2.4_task_1/vars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';
let admin;
let name = 'John';
admin = name;
alert(admin);

0 comments on commit 1cf5baf

Please sign in to comment.