+ 3
Guys please, im having a huge issue with this noobly enormous amount of lines
I have this code https://code.sololearn.com/WgmHWBswbE3N/#html and now it is in around 4000 lines, before I got I bit deeper into function parameters it was about 6000. it is still too big. if anyone could help me a bit because I am not a great self teacher myself and don't know any other method to reduce it.
2 odpowiedzi
+ 3
var x;
var y ;
var z ;
U can Write it as
var x, y, z ;
+ 2
You can try to separate your HTML CSS and JavaScript files....how?
you can copy the html part of your code and save it in a HTML file in ACODE code editor
do the same for the css and JavaScript part of your code to increase your chances of reading your code easily....
don't add unnecessary things that you don't need in your code.....
And from what I saw .....I think you are trying to create a form that collects info from the user ..so just use HTML elements that are related to login forms like <form>
<input> <textarea> e.t.c.....
and reduce the amount of colors in your code to avoid the "color riot" situation which is not attractive to people running the code ! 😅😅