<html lang="fa" dir="rtl">
<head>
<title>speed test</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="./style.css" rel="stylesheet">
</head>
<body>
<header>
<h1 class="title">تست سرعت تایپ</h1>
<p class="title_intro">فرایند سنجش سرعت تایپ با شروع تایپ کاربر، تایمر شروع به کار کرده و با تایپ هر حرف توسط کاربر مطابقت متن کاربر با متن نمایش داده شده چک می شود.</p>
</header>
<main class="test_area">
<p class="patern">متن الگو:</p>
<p class="patern_origin">the text to test.</p>
<div class="test_wrapper">
<textarea class="text_input" rows="6" placeholder="با تایپ اولین حرف تایمر شروع به کار میکند"></textarea>
</div>
<div class="flexcontainer">
<button class="start">شروع مجدد</button>
<div class="timer">00:00:00</div>
</div>
</main>
<script src="./script.js"></script>
</body>
</html>
* {
font-family: iranyekan;
margin: 0;
box-sizing: border-box;
}
.title {
text-align: center;
background-color:aquamarine;
padding: 2.5em;
}
.title_intro {
padding: 2em;
background-color: darkgreen;
text-align: center;
color: aliceblue;
}
.test_area {
margin: 1em auto;
width: 80%;
padding: 3em auto;
}
.patern_origin {
background-color: antiquewhite;
direction: ltr;
border: 1px solid green;
border-radius: 4px;
padding: .5em 1em;
margin-bottom: 1em;
width: 100%;
}
.test_wrapper{
border: 10px solid grey;
border-radius: 5px;
}
.text_input {
width: 100%;
font-size: 1.5em;
direction: ltr;
text-align: center;
}
.flexcontainer {
align-items: center;
display: flex;
justify-content: space-between;
}
.start {
margin-top: 20px;
font-family: inherit;
padding: 0.5em 1em;
font-size: larger;
height: fit-content ;
border-radius: 5px;
box-shadow: 3px 3px 3px black;
background-color: aquamarine;
}
.timer {
direction: ltr;
font-size: 3em;
padding: 5px 20px;
margin-top: 20px;
color:brown;
background-color: antiquewhite;
border: 1px solid green;
border-radius: 5px;
}
Output
This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account
Dismiss xKeyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |