Log_b(a)
html
Math
<p>Log : <input id="a" type="text"/>(<input id="b" type="text"/>)= <label id="result"></label></p>
<button onClick="logCalc()">validé</button>
<script>
function logCalc(){
let a = document.querySelector('#a').value;
let b = document.querySelector('#b').value;
document.querySelector('#result').innerHTML = Math.log(a) / Math.log(b);
}
</script>
Log : ()=