Console Input

Developer
Size
2,173 Kb
Views
6,072

How do I make an console input?

What is a console input? How do you make a console input? This script and codes were developed by Lloydwheeler on 26 January 2023, Thursday.

Console Input Previews

Console Input - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Console Input</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href='https://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
<h1 data-message="I wish I could write as mysterious as a cat.">I wish I could write as mysterious as a cat.</h1> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Console Input - Script Codes CSS Codes

body { background: #222229; font-family: 'Droid Sans Mono', sans-serif; font-weight: lighter; margin: 4em; color: #ccc;
}
h1 { font-size: 3em; max-width: 800px; margin: 0 auto; line-height: 140%;
}
h1:after { content: "▎"; -webkit-animation-name: blink; -webkit-animation-duration: 1s; -webkit-transform-origin: 50% 50%; -webkit-transition-timing-function: linear; -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes blink { 0% { opacity: 0; } 1% { opacity: 1; } 49% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; }
}

Console Input - Script Codes JS Codes

$this = $('h1');
var message = $this.attr("data-message");
var charArray = message.split('');
var short = 150;
var long = 1000;
message = "";
$this.html('');
typeLetter();
function typeLetter() { var char = charArray.shift(); var rand = Math.random(); rand = (rand+.35)*110; if(char != "/") { delay = rand; message += char; } else { delay = long; message = message; } $this.html(message); setTimeout(function() { if(charArray.length > 0) { typeLetter(); } }, delay);
}
Console Input - Script Codes
Console Input - Script Codes
Home Page Home
Developer Lloydwheeler
Username lloydwheeler
Uploaded January 26, 2023
Rating 3
Size 2,173 Kb
Views 6,072
Do you need developer help for Console Input?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Lloydwheeler (lloydwheeler) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!