I been learning Javascripting and I know know the basics. Where can I find tutorals for medium learning.

Example of what I want to learn is Form Validation.

PHP Code:
if(dig.test(alt_wtg.value)&&dig.test(utime.value)&&dig.test(alt_dd.value)&&dig.test(alt_cost.value)){
var 
kw=new Number(alt_wtg.value)/1000;
result.innerHTML='<center><p style="width:250px;text-align:left"><b>Item:</b>&nbsp;&nbsp;&nbsp;'+alt_item.value+'<br /><b>Wattage:</b>&nbsp;&nbsp;&nbsp;'+kw+'kW<br /><b>Used:</b>&nbsp;&nbsp;&nbsp;'+utime.value+' hrs per a day<br /><b>Days of use:</b>&nbsp;&nbsp;&nbsp;'+alt_dd.value+'<br /><br />'
result.innerHTML+='<b>Total cost</b> is $'+(kw*new Number(utime.value)*new Number(alt_dd.value)*new Number(alt_cost.value)).toFixed(2)+'</p></center>';

else{result.innerHTML='<span style="color:Crimson;">Wrong data given</span>';}

That also what I want to learn... IDK what it means :P (aka innelhtml and shiz..)