DEV Community

RikiYadav
RikiYadav

Posted on • Updated on

Where am I Wrong?

<!DOCTYPE html>





<br> .container{<br> margin-left: 20rem;<br> margin-top: 15rem;<br> margin-right: 20rem;<br> padding: 3rem;<br> border: 2px solid red;<br> text-align: center;<br> }<br>
Practice


&#128540 Write a number to display that number 😜





The number is


<br> function show() {<br> var i = parseInt(document.getElementById(&quot;num1&quot;).value)<br> document.getElementsByClassName(<br> &quot;no&quot;).innerHTML = i;<br>

Top comments (0)