You are on page 1of 16
Pelt STACK DEVELOPMENT A ORR IR ALS1G INERT 4] ae a MaA-Z Csem-n) Rol rio bar What ¥s tre bor model fn cs6 9 Which es properHes are a part of it? zB Me content i aciplays tne pert, Pwnage etc frat can be syred wating Hat wate height property . > pactoling, % uid fo cptate space around tre element , facie any defineol borden . > ere i pore utel fo cover the content bk any padding » tb alco allows TO tek HAE sHYle | color ard width of phe border. : As ULeh Fo create LPAce around Mre element ,jie, He border aren. Quer 2s wrak ine culfferene Hypes of selectors Tn ces 9 iE CSS MececkOne = are itieol fo Selleck Same content you wank fo chyle. They telect HTML elements accore jo Yes Thy clace 5 type, atfTbute ere. Types of selectors are % > Prement selector + Selects the HTML element by name ge P {rene -atigns counters color? blue ; % > td selectors celecer attibute Cid abtribute) of an HTML element to elect a spectpic elermenk . ban Tel ts always untgue witnin tre page so Te To chosen fo colec unique eLenmenk- 2 written win IF, followed by Td of Phe element. Eye paral] cotort ues bi 1 ep ta="parat'> ut Ghats “selecton ag ele tts. HTML cle nieces eae ee eee ane oti bute . % tte wIhn perlock character C+) 5 follLowesl by tlass name 4 A clace name thot NOE be share wile number. Por example i CsHyle7 boay | cotor greens pes pite- line} colors Keats y Wis Ts paragraph. Tic Une will be peol- <)P7 z- Ynder ony works OV positioned elements C absolute, relarive » finest or sticky) ond flex Treme( elements tua are cfreer child of aisplay % Fler elements). > Tf wo poiitioned clenments overlapped witout a | Zr finder pectfied , Hre element positioned Last Yn the HIML code will be shown 0 top- gy ntan = Z- Taster % auto] number | fusial | Taherte 5 Property values © arttor sets the shack Order equal to Te parents. Tats Te atfault number i cette HE chaek, onder of elemene Megattve numbers are atlowrel | EEE Rartal > Sta Haris property fo detfauit vate Tnneriee > tnnerita Hair property from Tt parent CLE MEAL « BUK 6, Wwtr aoe important mean qn ess? AWLs >The [important cute M cos Te used 1 add more fmportance to value! property tran normal. = = ; ji {F we use |importanr rule, Fe will override all previous styling putes for Haat specitic property pp phat element. Ege a Hmytd f paekgrounot- colors pines y Evade) Tease oesuiclcouoser eee y PL background-color reohS Ymnportant 5 y ME | Srmportamt cule overnices ine back gro color property in SEL - 4 above Hd eases £0, all parmgraphy wilt ger rea coor. Querts What are we various format TA HIM? S yee ts Z faAAy Dip perene formatting tags are 5 chp and <¢malrrd <7 faye t THE Sralh bag use Mm sek Srall font-size whereas big hag ie use to see bly pour - size + ) Syntar i Ksub> ~.. <|tub> > Snsy aud Sel rag zp The delete the fork Te adele a SHike Une 0m He Fert . fy nkane — Sius> 2] fur --. > SMa? Hg ia mee We caw duplay any bioek- Level element as Taline element: The heigut £ witatr atrinute values Of tne element nELL not afgece . > block! aliplay any Pritne etemmre as block— cevel emurk = Tariae block 2 HLA property Is milar to futtne, excepe by | uatng Khe aisplay ad Tatine = block, ic can acttally format Hae erent using hehe — anol wile values , > Hexs displays rhe cocaine £ uement ad a flentble structure, Te follows flexton — property. > grids liaplays the HTML element ag a gericl Conran. 3 nee we an Wide He HIME element . Quad 4 how many ways ean we speciby. re cos srylet for tae rem element ? | AUSE CSS CaN be adceot HO HIME element Fa PAPE ways | > taline? fr usec ro apply a unique ctyte to a stngle HIML sement - % by watng Hre style astibute Tuulete rhe Hl elements - Oye en) atyle = Septors buce7 A buee enetiing guaterval? Ts used fo acpine a shyte for a ctngte HIML page - tots aepinesl TA cheak7 aerow of an WML rages Within a dew. primifive datatype > U1) Object s repredentl Tnatence Hrrough waicdr we ca acces members - ( Armaye represents group of Sinitar values » BD Regexp & represents regular expression, | Ques Explain Hotering Pr Tavaseript © Anas “Hotariog” Te Javawertpte aefauce benaiiour of moving aw dledarahons fo Hat bop of current ceape. Variable definecl witr Let! anol ‘cost’ are neutet fo Mre Fop OF He broek, but net jntiartier. ust, a tet variabic before TE Ts dectaed. mil rete on & y eee Buues tht Dipeerence betwee vor Ad Let key wsorel tw Jauvacentpt Aves | - 1 ee r va. ale jme vau We Hae keyword Hat) Trae ur UW aun a Keyworel Je usel tp declare a variable.) unwt ‘Ya used. to clectare varkable - > Sywrans yur wane = vatut”, fyntare Lek nae= Vale’, _5 Tue variables tak are defined Tne vartabtes phat are defined with var ckatement have Wie Lee staremuent — Kawe function Compe - | block. cape. | Ly we can decare a vorteble, aptin we cannot cectare a variable won Tp Te was been defined | more Han ance i we vowe Wertety Gy Hae came ceope. aupineh Ta previowly came ceope A Hotung Te autowsed wT var, ofetig th nok attoweot WH |e. | Guesi6 8 Explain seope 4 teope chain Tn Javaceukpt Scopes deterenines He ace essibithy of variables é feuneriows at various part In one’s pur cole. g wittin a cope Ttuelbs a variable or function , or a wetted cur be Acceddent . Oettele HAE specigiet, caope, the clk cannot be accessed 4 dure bypes of scopes are Globals wom & bine ape e used seepes 7d giv out Me Scope chain > Javascript variables Haak partiawar exact cation of procesd To Kner os Sooper ne Bie means Hat ane vatiable Mas a ceope ty sect by another variable | function having anoeer seepe - a & Tu complete chan for rnalinr goes on 4 cops Whur Ht user wires FO top accoreting to the require unert » Ques [FS Wonet Ys bom? AAS 3 DOM C Dounrerte obpect mode) i a platform 4 Language neurror fweerface Mat allows presranr A seripts to dy nartically acceu & update re concent, sHucture & stgte OF he CLOULuM EME + Oe, PS what te Hre dlaHuctian between cllent = chute 4 server~ Siete, favacertpt 2 Mus | | — ctent - store ferver— cide, >| does nok necel Wuteraction | Req lives Faxevackpn Wily He cerver, | wily Hat server, | Runs ow wert? venrpucn L. HUN OW webserver | peauces tad on the | aucun the auwer to Sewers Proceadtng unt , [provide Ayman vusb dees tallow 10 -Unn User - | | Tacceases thre provesivg | | Lord on server = hamguages wsett HTML > | Languages used PHP, | | 6s, Javacerbpt | Aspe nee, Pyrren . | | | I a | Ques Ft What are arrow funertovs ? puiz 2 Arrow function fatro amet fr €s6, wie provides more acauakt way to write me fiurctions Ta Javascript » > Te alow us fo write mau funetion syntax. > makes cote more rerolable A séructuren , > are anonynno.u Punettoou 7 Hey den! rebar any valle ane car dectare Wirnsut function Keywtoret > cannee be Useol at constreecrore . qyntax S — comt functfontiameg= (agl aya...) => f H body of Hae firnerion 3 Bues 205 Di ferences between ae cartng vart ables using var, (et anol comt ? Mali > Var cam be nasigned, whereas lee 4 cout variables cannot. — cout variables are Prmutasie while Let Ss van variables are not > Ver vartabies are Tu fuvetion eeepe we Lek couse vortapies are Ta blk, rope > var variabies art clecared wit ‘var’ Keywoora, Let variables with tet’ keyword ¢ comit variables wit conde" Keyword . Suu Ht pe fine Ansmymoce function £ AWD > st fe a funtion Har aloes nok have any yame asdoclald wir Ik > AK favarciipt, We use onty Hef Fey Key wserol witheuk phe function nawe Tn ANDY MDUs fanrctitnr . > Ts mot accessible ope Te PutGb creation, Te can onl be acceded by verrable Yr te stored Tr as a function as a vale 3 An have multiple argument , buck pal alae expression. * Syntax @ function) f 1) function baouy eS ob what Ye ust of windonr obfect 2 8& = AWS dt ole a grobat fteerface C ebfect type) wnt ¥o use FO couttrolL pre browser Wind dus Upeoycte 4 pergorm vast ocd operations on It > TE represents a window contatining a webpage Wier Te turn YS representeol bY ctouement object . = Ve Ts usec 0) cetrievecd me Wapornration Obouk he window = Haat ok wer a oper, whereas Yty mettolds are wea ID perm specific wWskI UKE openiag » maartnnta tay winolowt etc.

You might also like