-
Notifications
You must be signed in to change notification settings - Fork 0
/
87-modules.html
25 lines (20 loc) · 915 Bytes
/
87-modules.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modules</title>
<link rel="stylesheet" type="text/css" href="">
</head>
<body>
<!-- stop unnecessary extension for using module -->
<h1>Modules</h1>
<script src="js/87-3-modules.js" type="module"></script>
<!--module import export k liye type="module" likhna jaruri-->
<script src="modules/user.js" type="module"></script>
<script src="modules/account.js" type="module"></script>
<!--type="module" isse js engine ko pata chlta h ki user.js module wise work kar raha h i.e module use kar raha h.-->
<!-- hum js/87-3-modules.js m user.js aur account.js ka variable aur function access karenge. i.e hum kisi v chij ko export import kar sakte hain.-->
</body>
</html>