Created
October 3, 2013 04:28
-
-
Save chikoski/6804987 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| p{ | |
| font-size: 48px; | |
| color: #666; | |
| } | |
| span{ | |
| display: block; | |
| font-size: 18px; | |
| color: #999; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var now = new Date(); | |
| var now_in_string = now.getFullYear() + "年" + now.getMonth() + "月" + now.getDate() + "日" + now.getHours() + "時" + now.getMinutes() + "分" | |
| var todo; | |
| todo = prompt("やることはなにかね?"); | |
| document.write("<p>" + todo + "<span>(" + now_in_string + "入力)</span>" + "</p>"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment