Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633038 Views

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

eye-off.svg cody/atherosai/ui/input-02/eye-off.svg
95 Views
0 Comments
Media file
eye.svg cody/atherosai/ui/input-02/eye.svg
146 Views
0 Comments
Media file
material-ui.html cody/atherosai/ui/input-02/material-ui.html
271 Views
0 Comments


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

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

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

script.js cody/atherosai/ui/input-02/script.js
158 Views
0 Comments

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

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

inputIcon.setAttribute(