JavaScript Olaylar (Events) - Onclick Kullanımı - Zemin Rengi Değiştirme

Konuya git Çalıştır
     
<!DOCTYPE html>
<html>
<head>
<title>Sayfa başlığı</title>
</head>
<body>
<div id="kutu" style="background-color:#ffcc44"> Kutu</div>

<button 
onclick="document.getElementById('kutu').style.backgroundColor = 'blue';">
Renk Değiştir
</button>
</body> </html>