Note:
id हर बार कुछ अलग होनी चाहिए जैसे की कुछ भी हो सकती है बस हर बार अलग होनी चाहिए<div class="container" id=""> <h1 class="h1"> Q. </h1> <button class="button redButton" onclick="changeColor(this, '')"> </button> <br> <button class="button redButton" onclick="changeColor(this, '')"> </button><br> <button class="button greenButton" onclick="changeColor(this, '')"> </button><br> <button class="button redButton" onclick="changeColor(this, '')"> </button> </div>
Comments
Post a Comment