It's goingtohave a labelhereofwhy, andthenameandthe I d arebothgoingtobe y position.
Next, we'regonnadoanotherinputhere.
Thisoneisgoingtobeforourbowler.
Soit's justmakesureyouchangethistobefor a blur.
OurlabelisBlairhopesnotBlue.
Whereandournameandour i d areallgoingtobetheexactsameofBlurjustlikethat.
What's copythisdownagain?
We'regonnadothisfirstspread.
Makesurethissaysspreadhereandtherewego.
Weeverspreadvaluedone.
Andthenextthingwecanworkonthoseareactualcolor.
Sowe'regonnahaveanotherlabelhere.
Thisone's gonnabeforShadow.
It's gonnahave a labelofshadowandwhatwe'regonnadoinsideofthislabelhere, we'regonnahave a inputwhichisgoingtobe a typeofcolor, anditcausesthatnicecolorpickerthatyousawontherighthandside.
Andweclickonthisthisfancycolorpickerthat's byusingtypeofcolorandwe'regonnasetthisnametobeshadow, colorandthe I d tobeshadowcolor.
Let's selectourlabelsfromoursidebar, soit's a sidebarlabel, soeverysinglelabelthat's gonnabe X y andsoon.
Whatwewanttodoisaddsomemarginonthetop.
Willdo 0.75 r e m Andwe'realsogonnaadd a littlebitofmarginonthebottomof 0.15 R e m Thatwaywehaveouractualinputsspacedoutfromoneanother, andthelabelisjustslightlyoffsetfromtheactualinput.
Andontheleft, we'realsogonnahavenegativeone R e m.
Butfornow, I'llshowyouwhatthatlookslikewithzero, andthenwe'rejustgonnause a borderforthisWillsaveborderbottomisgoingtobeonepixelsolid.
Andwe'regonnasetthiscolorheretobe 999 Andif I save, youcanseewegetthatdivider.
Butas I mentioned, it's one r e m awayfromtheedgeonbothsidesbecauseofthispadding.
Sowewanttodoismakesurethatwehaveherearenegativeone r e m ofmargin, whichisgoingtopushthisallthewayuptotheedgeofbothofthesesides.
Andthereasonwehave a differentmarginonthetopthanwehaveonthebottomisbecauseofthemargintopandmarginbottomthatyouseeonourlabel.
Wehave 0.75 yearand 0.15 year, whichis a 0.6 difference.
Soactually, thisshouldbepointfor R E m onthebottomlikethat, sothatwhenwehaven't evenamountofspacebetweenthetopportionofourdividerandthebottomportionofourdividernowallofthatspacingdonewhat's workonstylingourinputs.
Andwe'regonnafirststyleournumber, inputsandthenstyleorcolorinputsbecausethey'reobviouslygonnalookquite a bitdifferent.
Sowhat's gonnahappeninourJavascriptiswe'regonnaset a bunchofvariablesonourrouteelement, andthenwe'regonnabeabletousethoseinsideof, forexample, ourbox.
Soherewecanuse a backgroundcolorvariabletosetourbackgroundcolor.
Butbydefault, thisbackgroundcolorvariableisgoingtobeblank, soweactuallyneedtoput a placeholdervalueinsideofhere, andwe'regonnause a placeholdervaluehereof F f D 700 Thisisgoingtogiveusthatyellowcolor.
Inputsaregoingtobelinkedupatthebeginningbecausewhenourpageloads, wewanttomakesureinputsandourdisplayareexactlythesameevenbefore a Javascriptstartsworking.