?? ???? ????? ? ??? ??? WordPress, JQuery, Gatsby, Eleventy ? Vue? ?? ???? ???? ?????. ???? ???? ?? ???? ???? ?? ??? ???? ??? ???? ?? ???? ? ????? ????? ?? ?? ??? ?? ? ????. ? ??? JavaScript ???? ???? ???? ?? ??? ?????.
?? ???? "??"??? ?? ? ? ??? Betacalc?? ??? JavaScript ???? ?? ?? ?????.
?? ??? ?? :
// ??? const betacalc = { currentValue : 0, setValue (newValue) { this.currentValue = newValue; Console.log (this.currentValue); }, Plus (??) { this.setValue (this.currentValue addend); }, ???? (Subtrahend) { this.setValue (this.currentValue -Subtrahend); } }; // ??? Betacalc.setValue (3) ??; // => 3 betacalc.plus (3); // => 6 betacalc.minus (2); // => 4
? ???? ??? ???? ??? console.log
???? ??? ?? ? ? ????. ???? ???? ???? ?????.
?? ??? ???? ??? :
?? ???? ????? ?? ? ??? register
???? ????. ? ???? ????? ?? ?? exec
??? ???? ???? ??? ???? ?????.
// ??? const betacalc = { // ... ?? ??? ?? ???? (????) { const {name, exec} = ????; ? [??] = exec; } };
??? "????"?? ????? ? :
// ???? ?? const squaredplugin = { ?? : '??', exec : function () { this.setValue (this.currentValue * this.currentValue); } }; // ???? ???? betacalc.register (squaredplugin);
?????? ????? ??? ?? ??? (??, ??, ?? ??, ??? ?)? ? ??? ???? ????. ? ??? exec
???? ??? ???? ??? name
?? ??????. ?? ?, exec
??? ???? betaCalc
??? ?? ?????.
?? Betacalc?? ??? "??"??? ????.
betacalc.setValue (3); // => 3 betacalc.plus (2); // => 5 betacalc.squared (); // => 25 betacalc.squared (); // => 625
? ??? ???? ???? ?? ????? NPM? ?? ?? ???? ??? ? ????. ??? ??? ????. ????? betaCalc
?? ?? this
?? ?? ??? ?? ? ??? ??? ??? ?? ? ?? ??? ?????. ?? squared
??? ???? ?? ???? ????? ????.
?? ? ???? ???? :
??? ??? ???? ?? ???? ????? ??????.
// ??? const betacalc = { currentValue : 0, setValue (value) { this.currentValue = value; Console.log (this.currentValue); }, ??: { '???': (CurrentVal, Addend) => CurrentVal Addend, '????': (currentVal, subtrahend) => currentVal -subtrahend }, ???? : {}, ??? (ButtonName, NewVal) { const func = this.core [buttonname] || this.plugins [buttonName]; this.setValue (func (this.currentValue, newval)); }, ?? (????) { const {name, exec} = ????; this.plugins [name] = exec; } }; // ???? const squaredplugin = { ?? : '??', exec : function (currentValue) { currentValue * currentValue? ?????. } }; betacalc.register (squaredplugin); // ??? Betacalc.setValue (3) ??; // => 3 betacalc.press ( 'plus', 2); // => 5 betacalc.press ( 'squared'); // => 25 betacalc.press ( 'squared'); // => 625
??:
- ????? ?? ????? ????
plugins
??? ???? ??? ??????. -
press
??? ???? ??? ?? ???? ???? ??? ??? ???? ???? API? ????? ??? ??? ? ?? ?? ????.
? ????? ? ?????? ? ???? ??? ? ????. ????? ?? ??? ???? ?? ?? ? ? ????. ???? ??? ??? ???? ??????? ????? ???? ?? ??? ??? ??? ??? ? ????.
?? ?? :
?? ?? ? ? ????. ?? ?? ??, ???? ?? ?? (?? ??? ??? ??, ???? ?? ?) ? ???? ?? ???? (?? ??, ?? ?? ?)? ??????.
?? :
??? ???? ???? ???? ?? ?? ??? ??? ??? ???? ???????. ?? ???? (? : jQuery, Gatsby ?) ? JavaScript ??? ??? ???? ???? ????? ?? ?? (? : ?? ? ?? ??, ??? ?? ?, Dimitter ??, ??? ??)? ???? ????? ?? ??? ??? ????? ???? ???? ?? ? ? ????. ?? ???? ???? ??? ????? ??? ???? ?? ??? ?? ? ? ????.
? ??? JavaScript ???? ??? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

CSS?? ????? ??? ? ?? ??? ????. 1. HTML ? CSS? ?? ??? ?????? ???? ?? ???? ?? ???? ??????. 2. ?? ??? ??? ?? ???? ???? ?? ?? ??? ?? ?? ??? ??????. 3. ??? ????? ???? JavaScript? ?? ???? ?????? ??? ?????. ? ?? ??? ??? ??? ????? ?? ??, ??, ??? ? ?? ???? ?? ?? ?? ??? ???? ?????.

CSS ???? ??? ? ??? ??? ????? ???? ??? ???? ???? ?? ?? ???? ????? ???????. 1. Flexbox ? ??? ??? ?? ???? ??? ??, ?? : ??? ?? ? ????? ??? ????. 2. Caniuse ?? ?? ?? ??? ??????. 3. -webkit-, -moz-, -ms-, -o- ? ?? ???? ???? ???? ?????. 4. AutoPrefixer? ???? ???? ???? ???? ?? ????. 5. ?? ????? ????? PostCSS? ???? BrowsersList? ??????. 6. ?? ? ???? ???? ?????. 7. Modernizr ?? ??? ??? ????? ??? ? ????. 8. ?? ????? ???? ?? ? ??? ????.

CSS? ?? ?? ??? ??? ??? ???? ???? SVG? ???? ?? ???, ?? ????, ??? ?? ?? ??? ?? ???? ??????. ??? ??? ????. 1. ?, ??, ??? ?? ?? ??? ?? ??? ?????. 2. ?? ?? ? ??? ???? ??? ? ????. 3. ?????? ?? ?? ?? ?? ????? ???? ?? ??? ?? ? ? ????. 4. ???? ???? ??? ??? ??? ????? ?? ? ??? ????. ???? ???? ?? ?? ?? : ? (50pxatcenter) ? ??? ?? ?? : ??? (50%0%, 100 0%, 0%)? ?? ????. ????

themaindifferencesbetweendisplay : ???, ??, andinline-blockinhtml/cssarelayoutbehavior, spaceusage ? stylingcontrol.1.inlineElementsFlowWithText, do n'tStartonnewlines, ingorewidth/height, andonlyapplyhorizontalpadding/margins —IdealforIneTeTexting

??? ?? ???? ???? ??? ??, ?? ??? ??? ? ? ????? ??? ??? ???? ???? ? ? ?? ? ? ????. 1. CSS ?? : ?? ??? ???? ???? ?? ??; 2. ????? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 3. ?? ??? ??? ??? ??? ?? ?? ???? ????????. 4. ??? ????? ??? ???? ?? ? ??? ??? ?? ??? ?? ?? ??? ????? ???? ?? ????.

CSS? ???? ?? ? ???? ???? ??? ?? ??? ?? ?? ?? ? ? ????. 1. Max width : 100% ? ?? : Auto? ???? ???? ??? ????? ???? ??? ??? ? ??????. 2. HTML? SRCSET ? ?? ??? ???? ?? ??? ??? ??? ??? ???????????. 3. ?? ?? ? ?? ??? ???? ??? ??? ? ?? ?????? ??????. ? ??? ?? ???? ?? ???? ???? ???? ????????.

CSS ??? ??? ?? ?? ?? ? ?? ? ?? ??? ?? ????. 1.px? ?? ??? ????? ?? ??? ??? ?? ??? ?????. 2.EM? ?? ????, ?? ?? ??? ??? ?? ?? ???? ??, REM? ?? ??? ???? ? ????? ??? ????? ?????. 3.VW/VH? ?? ? ???? ??? ??? ??? ??????? ?? ???? ?????? ???????. 4. ??? ?? ?? ? ??, ?? ?? ?? ? ??? ???? ???? ???????. ???? ??? ???? ??? ? ?? ??? ???? ? ????.

?? ????? CSS ?? ??? ????? ?? ?? ??? ??, ?? ?? ?? ??, Flexbox ? ??? ???? ?? ?? ? ?? CSS ??? ????? ??? ???? ???? ?? ????? ??? ?????. 1. ?? ??? ??? ???? ????. ???? CSSRESET ?? NALLER.CSS? ???? ?? ???? ???? ????. 2. IE? ?? ??? ?? ?? ?? ??? ????. ?? ?? : ?? ? ???? ??? ??? ???? ?? ????. 3. Flexbox ? Grid? Edge Case ?? Old ???? ??? ?????. ? ?? ??? ? AutopRefixer ??; 4. ?? CSS ?? ??? ???? ????. Caniuse? ???? ?? ?????????.
