Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633065 Views

Latest files of /cody/atherosai/ui/input-01

eye-off.svg cody/atherosai/ui/input-01/eye-off.svg
126 Views
0 Comments
Media file
eye.svg cody/atherosai/ui/input-01/eye.svg
155 Views
0 Comments
Media file
material-ui.html cody/atherosai/ui/input-01/material-ui.html
317 Views
0 Comments


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Input 01</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
style.css cody/atherosai/ui/input-01/style.css
106 Views
0 Comments

@import url(https://fonts.googleapis.com/css?family=Roboto);

html {
font-family: 'Roboto', sans-serif;
font-size: 14px;
}

script.js cody/atherosai/ui/input-01/script.js
172 Views
0 Comments

const input = document.querySelector(".input__field");
const inputIcon = document.querySelector(".input__icon");

inputIcon.addEventListener("click", (e) => {
e.preventDefault();

inputIcon.setAttribute(