function Show(){
var text = document.querySelectorAll("input");
for (var i = 0; i < text.length+1; i++) {
if(elem.hasAttribute('password') && text[i].getAttribute("type") == "password"){ // Тут происходит ошибка
text[i].setAttribute("type", "text_show");
};
};
};function Show(){
var text = document.querySelectorAll("input");
for (var i = 0; i < text.length+1; i++) {
if (!elem.hasAttribute('password')) return;
if(text[i].getAttribute("type") == "password"){ // Тут происходит ошибка
text[i].setAttribute("type", "text_show");
};
};
}; :after {
position: absolute;
content: '';
height: 1px;
width: 100%;
background: black;
top: 50%';
} .center {
/* position: absolute; удалить
top: 50%; удалить
left: 50%; удалить
transform: translate(-50%, -50%); удалить */
margin: 0 auto;
text-align: center;
width: 400px;
} const webp = require("gulp-webp");
gulp.task("webp", function () {
return gulp.src("source/img/**/*.{jpg,jpeg,svg}")
.pipe(webp({quality: 50}))
.pipe(gulp.dest("app/img"));
}); <div style="positon relative">
<img style="positon absolute">
<div style="positon absolute"> </div>
</div> <a href="tel:+375 (29) 16 44 000" <a href="tel:+375291644000"<input type="mail" нет type="mail", есть type="email"


<body id="app">
<nav></nav>
<div class="content"></div>
<footer></footer>
</body> .owl-item.active {
pointer-events: none;
}