Time Teller
How do I make an time teller?
What is a time teller? How do you make a time teller? This script and codes were developed by Kenny Mark on 28 September 2022, Wednesday.
Time Teller - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Time Teller </title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <h1>Time and Postion Teller</h1> <div class="container"> <i class="fa fa-refresh"></i> <div class="popup round"></div> <div class="message round"> </div> <input type ="text" class="textbox " placeholder="Type in anything to get current time"> <i class="fa fa-paper-plane"></i> </input>
</div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Time Teller - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
* { margin: 0; padding: 0;
}
body { font-family: 'Josefin Sans', sans-serif; background: #95E1D3; font-size: 18px;
}
h1{ text-align: center; position: absolute; top:40px; color:#fff; margin: 120px auto; left:0; right:0; font-size: 40px;
}
.container { width: 400px; height: 350px; background-color: #d5efff; margin: 250px auto 0 auto; border-radius: 20px; background-clip: padding-box; position: relative; left: 0; right: 0; box-shadow: 0px 0px 0.2pc 1px #d5ffff;
}
.round { border-radius: 20px; background-clip: padding-box; color: white;
}
.popup { font-size: 13px; padding:5px 8px; background: #53CDD8; position: absolute; top: 200px; left: 2%; border-radius: 20px; height:18px;
}
.message { height:18px; background: #78BBE6; position: absolute; top: 250px; right: 5%; padding:4px 10px; font-size: 15px;
}
.textbox { width: 90%; height: 35px; background: white; position: absolute; top: 305px; margin: 0 20px; border-radius: 10px; border: 0px; outline: none; font-family: 'Josefin Sans', sans-serif; font-size: 17px; transition: all .3s ease-in-out; padding-left: 10px;
}
.textbox:focus{ background-color: #95E1D3; transition: all .3s; color:white;
}
.fa-paper-plane{ position: absolute; top:308px; left: 355px; border: 1px solid #d5ffff; padding: 5px; background-color: #efefef; border-radius:50%; transform:rotate(15deg); color:#F06868; cursor:pointer; transition: all 0.3s ease-in;
}
.fa-paper-plane:hover{ color:#FF304F;
}
.fa-refresh{ position: absolute; left:360px; top:10px; border:grey 1px solid; padding: 6px 8px; border-radius:50%; color: grey; background: ; cursor:pointer; transition: all .7s ease;
}
.fa-refresh:active{ transform:rotate(360deg); background: #f2f2f5;
}
.disabled{ opacity: 0.5;
}
Time Teller - Script Codes JS Codes
$(document).ready(function(){ var time = Date(); $('.popup').hide(); $('.message').hide(); $('.container').delay(500).hide().fadeIn(1000).effect('bounce', {times:6},400); $('.fa-paper-plane').click(function(){ var text = $('input').val(); var emptyInput = $('input').val(''); $(".popup").html(time).delay(500).effect('bounce').fadeIn(200); $(".message").html(text).effect('bounce').fadeIn(200); emptyInput; }); $('.fa-refresh').click(function(){ $('.message, .popup').slideUp(200); }); $('input').keypress(function(event){ if (event.which === 13){ $('.fa-paper-plane').click(); $(this).val(''); } });
function getLocation() { var x = $(".popup").text(); if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else { x.text("Geolocation is not supported by this browser."); }
} function showPosition(position) { x.text("Latitude: " + position.coords.latitude + "<br>Longitude: " + position.coords.longitude);
}
});
Developer | Kenny Mark |
Username | kennymark |
Uploaded | September 28, 2022 |
Rating | 3 |
Size | 2,862 Kb |
Views | 26,312 |
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!
Name | Size |
Flexbox grid | 1,993 Kb |
FseRec | 7,122 Kb |
Shopping | 3,852 Kb |
Beautiful Weather App | 4,447 Kb |
Login FSe | 1,947 Kb |
Blog Post M | 3,964 Kb |
Davon | 2,784 Kb |
A Pen by Kenny Mark | 5,574 Kb |
Twitter Todo List | 2,792 Kb |
Get Movie Cast App | 4,884 Kb |
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!
Name | Username | Size |
Twitch Live Channels | Inkblotty | 4,956 Kb |
Heatmap Color Scales | Stevepepple | 2,331 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
RollOver Effect 2 | Lmack90 | 2,162 Kb |
Border image | JohnRiordan | 2,120 Kb |
Multicolumns 2 | Raphaelgoetter | 1,857 Kb |
SCSS Unit Conversion | Jakob-e | 8,210 Kb |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Pure CSS Menu | Bronsrobin | 3,321 Kb |
UI Challenge - Budget Selector | AgentRR007 | 3,547 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!