1
I’m trying to recover the color of my div but I can’t, I’d like to know why this is happening
My code
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<style type="text/css">
#conteudo{
height: 200px;
width: 200px;
border-radius: 100%;
background-color: #610B38;
}
</style>
</head>
<body>
<div id="conteudo">oi</div>
<script type="text/javascript">
let div = document.getElementById('conteudo')
console.log(div.style.backgroundColor)
</script>
</body>