Latest solutions
Latest comments
- @ritwikdurga@sanju321GH
keep going bro
- @JulienLach@sanju321GH
yo hi, can i know your problem i couldn't understand what you were saying.
- @ParvizAzeroglu@sanju321GH
yoo hi, this is just my opinion but i think it would be good
html-
<p id ="average"></p> <p id ="reaction">80</p> <p id ="memory">92</p> <p id ="verbal">61</p> <p id ="visual">72</p>
JavaScript-
let reactionScore = document.getelementbyID("reaction"); let menoryScore = document.getelementbyID("memory"); let verbalScore = document.getelementbyID("verbal"); let visualScore = document.getelementbyID("visual"); document.getelementbyID("average").innerHTML = reactionScore + memoryScore + verbalScore + visuaScore / 4
- @yulich81@sanju321GH
yo hi, i think there is a mistake in you code i mean the code is just checking for "@" and "g" but not "mail.com" when i typed "wd@g" it worked. to avoid this you could do this
JS-
let gmailholder; document.getelementbyID("btn").onclick = function(){ gmailholder = document.getelementbyID("inputfield").value; let gmail = gmailholder; //i dont know y but if i dont write this code it gives me error let gmailchecker = slice(gmail.indexof("@")); if(gmailchecker == "@gmail.com"){ (give them the result) } else{ (give them the error) }
}
hope you dont make the mistake you have made now in the future.😊 also keep it up👍
Marked as helpful - @bdal90@sanju321GH
yo hi, In the project you have done ,there is a minor mistake done, i cant even call it mistake as it is so minor. that is that the line has different color than that of the design. if you dont know how to change the color of a hr tag .
HTML- <hr> CSS- hr{ border: 1px/2px solid (color they have given); }
(😵-this is you if you dont mark this comment helpful)
bye😊
- @ccccchriz@sanju321GH
every thing is good but i think its good to keep "transition: 0.3s;" to buttons
(its your wish to keep it or not but it will look good if you keep it)
(😵-this is you if you don;t mark this comment helpful )thnx😊