Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

29
LINES

< > BotCompany Repo | #1002067 // Hello Robot

HTML

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Hello Robot</title>
    <link rel="stylesheet" type="text/css" href="http://tinybrain.de:8080/getraw.php?id=1002068&contentType=text/css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/2.5.0/math.js"></script>
    <script>
        $(document).keypress(function (e) {
            if (e.which == 13) {
              var command = document.getElementById("input").value;
              var answer = document.getElementById("answer");
              answer.innerHTML = "Hi!!!! " + command;
            }
        });
    </script>
</head>

<body>
    <h1 id="header">Yo.</h1>
    <input autofocus id="input" type="text" placeholder="Talk to the robot..." value="get unix time"></input>
    <a href="howto.html" style="display:block; margin-top:20px;">How to use?</a>
    <h3 id="answer"></h3>
            <h4 id="footer"></h4>
</body>

</html>

download  render html  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002067
Snippet name: Hello Robot
Eternal ID of this version: #1002067/1
Text MD5: d17ccf9b660766559c4fb20259187451
Author: stefan
Category:
Type: HTML
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-16 01:03:07
Source code size: 1057 bytes / 29 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 643 / 295
Referenced in: #3000190 - Answer for stefanreich(>> t 20 questions)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)