JS Screen Program Using Javascript

<!DOCTYPE html>

<html>

<body>

<p id="ScreenColorDepth"></p>

<script>

document.getElementById("ScreenColorDepth").innerHTML = 

"Screen color depth is " + screen.colorDepth;

</script>

</body>

</html>


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *