<!DOCTYPE html>
<html>
<head>
<title>脚光企業予想アプリ</title>
</head>
<body>
<h1>脚光企業予想アプリ</h1>
<button onclick="predictFuture()">予測する</button>
<script>
function predictFuture() {
var futureDate = new Date();
futureDate.setMonth(futureDate.getMonth() + 1);
var companies = [
{ name: "株式会社テクノワールド", reason: "新開発の画期的なAI技術により業界をリードしています。" },
{ name: "XYZグローバル株式会社", reason: "ブロックチェーン技術の活用により業界全体に革新をもたらしました。" },
{ name: "株式会社イノベイト", reason: "VR/AR技術を用いた新しいエンターテイメントコンテンツの開発に成功しました。" }
];
var randomIndex = Math.floor(Math.random() * companies.length);
var prediction = companies[randomIndex];
if (futureDate.getMonth() === new Date().getMonth() + 1) {
document.write("1ヶ月後の脚光企業予測:<br>");
document.write("<b>企業名:</b> " + prediction.name + "<br>");
document.write("<b>理由:</b> " + prediction.reason + "<br>");
} else {
document.write("エラー: 予測に失敗しました。もう一度試してください。");
}
}
</script>
</body>
</html>
ジョーク:
なぜエンジニアはジョブチェンジが多いのか?
→エンジニアは常に最新の技術を追い求めているから、他の会社で新しいチャンスを見つけるのです。