What do i need? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 4

What do i need?

what do i need to make my code better? [https://code.sololearn.com/WA21vgecOeud/?ref=app]

16th Feb 2018, 1:54 PM
H*.
H*. - avatar
5 Antworten
+ 3
Loads you could do to improve this code. Firstly the style, secondly, use javascript differently to how you've currently done it. So try something like the below. var button1 = document.getElementById("button1"); var button2 = document.getElementById("button2"); var button3 = document.getElementById("button3"); $(button1).click(function () { });
16th Feb 2018, 2:35 PM
ihateonions
+ 2
@ihateonions Actually i try This before i share this code It didnt work i dont know why anyway thank you for your comment
16th Feb 2018, 2:30 PM
H*.
H*. - avatar
+ 2
I will! Thanks😀
16th Feb 2018, 2:31 PM
H*.
H*. - avatar
+ 2
You can separate the JavaScript code from the HTML for easy reading of your code.
16th Feb 2018, 2:34 PM
Connor Hunter
Connor Hunter - avatar
+ 2
@C0NN0RHUN73R hmm i dont know how And if i know how HTML Lines will be more than 500 line
16th Feb 2018, 2:47 PM
H*.
H*. - avatar