You are on page 1of 16
Enlist Features oF Tavascript 2 YD Liqnk wergnted = I> EcIeaa Language seen IS thierpreer Based | Event Handing “e 5S) if --- else stotement © Moalidating user's gers put _ a ed bject-bosed caiphvy lerquage, Client Side antics ) Conte) stoternent J Assqnnent -} \ ae 8) Sy- Built function = I) COs Sensifive- leyplain +44 witin Cxample- _ [cls cvipte ee Lsen te ters. esenpr> 3 Javascvipt iS implemented with HTML 44g In webpage . The tthe bre waver Ei ote ISGP E is coming = not Htmp hence brewster processes the < opr seperately The eseripl> tay Gnserted- ostthin ‘eh “page addjoqieeseip eee by — OS ) script. jn toy Dsoipr in ebody7 tg escriph? +44 ae foto vsing oe 5 Language \anquage odtibete Soe Semanipr” uhh Anta — [Spat ese exiting —_longuse_is_—Tawasesipt Scanned with CamScanner Qa - Tupe '- The type attribute tele tne scvipt is in__plain text and organized inthe foirneeie of _ Savosurip \ Example. __ehtm> Shead > 2 —___|_ - __ best. L 3 OD Wena th the terms _ method, Prnperty __pame a —> |) Method |= method isa cet _Of instru On object when I \Ye A massa TOn the foim then you _clide on _subbro): — the — fon _is _submi the Submit button O_ Value @sy6 cia has i ow propel wid heiaht hos projpert by Scanned with CamScanner OQ a sas ID Events ete i > An event js thi . _ start executing Your E BSA Mile lami. ith ce eben clicialee - Tay wascrip$ yeactS +o event with help © oF || event handling . a te The function pen For event handling known Os event handler [Tomijecr = ~ aa 8 - “The Tava sey i bis sbject i is ui ane ee EE Saar thease \taiues are _propertres of object |_| Javascript supports Various “object Jike | dteument Ferns butte n rusindou eich = To Javias aipt esi 0 Fores wiph. objert Cen be created csith _ 2 (curly bracket’ { }" sith an spHional List of —___properhies _ | rau] FE ) what is operat; in “Tyasei +2 explaia an be | —+ Tn Tavaseript , an operaty P x_i§ _Q pei cial type ao eee | |). Prithemotic operator: Dt Addr 4dwo numecatic operands: he [a= subject wight operand from left operant, TK muatiply tee numeraic operand - I S pivide left eperand by viqnt operand. to moduluf operator. ee — a Scanned with CamScanner Syntaye LOondit\sn >7 dyatue 1s pevaluez>} BLS, Whot if Conditional stetement - > Conditienal Getemens are used do decide of Execution based on different cendjtiens*. | 2_Cend {tenis |—— ies _ ei: were Explain if eicciand mame if Statement - = | Dake syntax t a a iF Ceonditic 0) _ | S i Lines of code fo be executed I si ] else i I, Nines ef code jo be evecubed = _ Scanned with CamScanner epee ae shimi> < bodys