Что у меня не так с кодом, что он у меня не отображается (js)?
MrPoleg1 ответов
Это мой html
<!DOCTYPE html>
<html>
<head>
<title>Document</title>
<meta charset="utf-8">
</head>
<body>
<div id="test"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="myjs.js"></script>
</body>
</html>
Это мой Js
var one = "Моя первая переменная";
//alert(one);
console.log(one);
document.getElementById("test").innerHTML = one;