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


< > BotCompany Repo | #1002067 // Hello Robot


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

    <meta charset="UTF-8">
    <title>Hello Robot</title>
    <link rel="stylesheet" type="text/css" href="">
    <script src=""></script>
    <script src=""></script>
        $(document).keypress(function (e) {
            if (e.which == 13) {
              var command = document.getElementById("input").value;
              var answer = document.getElementById("answer");
              answer.innerHTML = "Hi!!!! " + command;

    <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>


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
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: 557 / 269
Referenced in: [show references]