I am super newby in JS, and have a problem.
I want to write a script in a separate file and link it to html, but it`s doesnt working.
here is code
- <!DOCTYPE html>
- <html>
- <head>
-
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="js/zenit.js"></script>
- <style type="text/css">
- @import url("styles.css");
- </style>
- </head>
- <body>
- ...
- </body>
- </html>