basicUI is a front end JavaScript framework created by Bekhruz Niyazov.
Here is an example of how you can use basicUI
:
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<!-- importing basicUI -->
<script src="https://cdn.jsdelivr.net/gh/BekhruzSNiyazov/basicUI@2.1.3/src/basicUI.js" crossorigin="anonymous"></script>
<!-- your JavaScript code -->
<script src="index.js"></script>
</body>
</html>
index.js
let navbar = createNavBar();
navbar.setTitle("Example");
Or, you can write all code in one file:
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<!-- importing basicUI -->
<script src="https://cdn.jsdelivr.net/gh/BekhruzSNiyazov/basicUI@2.1.3/src/basicUI.js" crossorigin="anonymous"></script>
<!-- your JavaScript code -->
<script>
let navbar = createNavBar();
navbar.setTitle("Example");
</script>
</body>
</html>
This code is licensed with MIT license.