Created
October 3, 2013 03:28
-
-
Save Restar9/6804424 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
div{ | |
color:red | |
} |
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 todo = prompt("直近で最も大事なTo Doを入力してください:") | |
now = new Date(); | |
var s = now.getFullYear()+"年"; | |
s+= now.getMonth()+1 + "月"; | |
s+= now.getDate()+"日 "; | |
s+= now.getHours()+"時"; | |
s+= now.getMinutes()+"分"; | |
s+= now.getSeconds()+"秒"; | |
document.write("<div>" + todo + "</div>" + "<br>(" + s + "に登録)" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment