? ??? ?? Rails Designer? ???????
SaaS ???? ?? ??? ?? ???? ?? ??? ???? ?? ?? ??????. ?? ??, ?? ??, ???? ??/?? ?? ????.
(? SaaS? ? ?? ?? ??? ??? ?????)
?? ?? ??? ?? ???? ?? ??? ???? ?? ?? ?? ??? ????? ??? ? ????. Rails? ??? ?? ??? ???? ??? ?? ? ??? ??????. ??? ??? ??? ??? ??? ??? ?? ?? ???? ??? ?????.
?? ??? ??? JavaScript ??? ????? localStorage? ?????. ?? ??? ?????.
? ???? ??? ??? ??? ??? ???????. ????? html-element? ??? ???? ?????. ?? ?? ?? ??? ????? ? ??? ? ????(?: Tailwind CSS? ??? ? dark:bg-gray-950 ??).
Stimulus?? ?? ???? HTML? ?? ??? ?????. ??? ??? ?? ??? ??????.
<div data-controller="theme"> <!-- You can show/hide these buttons based on the .dark class --> <button data-action="theme#update" data-theme-value-param="dark"> Lights Off </button> <button data-action="theme#update" data-theme-value-param="light"> Lights On </button> </div>
?? ?? ????? ??? ????.
// app/javascript/controllers/theme_controller.js import { Controller } from "@hotwired/stimulus" export default class extends Controller { update({ params: { value } }) { this.#setClass(value); } // private #setClass(theme) { document.documentElement.classList.toggle("dark", theme === "dark"); } }
?????? ????? ??? ???? ? ? ?? ??? ????. ?? { params: { value } } ??? ?? ???? ? ?????.
?? update ??? ?????. ???? ?? ?????. ??? ???? ??? ????. ?? JavaScript? ?? ?? ?????. ? ???? ?? ??? ???.
????? ???? ????? ??? get ??? ?????. ?? ? ?? ? ? ??? ???.
get(event) { log(event.params.value) // => "light" or "dark" }
??? event ??? ?? ?? ???? ??? ??? ?? ??? ? ????.
get({ params }) { log(params.value) // => "light" or "dark" }
?? ??? ????? ?? ??? ?? ? ? ????.
get({ params: { value } }) { log(value) // => "light" or "dark" }
???? ?? ?? ??("dark", theme === "dark")? ?????. ? ?? ????(theme === "dark")? ??? ??? ???? ?? ??? ???? ???? ???(true) ???? ???(false) ????? ???? ?? ?? ???????
? ? ?? ?? ??? ????? ?? ???? ??????? Rails ???? ?? JavaScript? ??? ???. ?
?????. ????. ?? ????? ???? ?? ??? ??? ?? ??? ??? ? ????. ?, CSS? ?? ?? ???? ??? ??? ?? ???? ?? ???? ???? ?? ? ? ????. ??? ??? ???? ????!
?? ?? localStorage? ???????! ?-? ?(???)? ????? ??? ? ?? ? ???? API???.
??? ?("???" ?? "??")? ????? ????? ????? ?????.
<div data-controller="theme"> <!-- You can show/hide these buttons based on the .dark class --> <button data-action="theme#update" data-theme-value-param="dark"> Lights Off </button> <button data-action="theme#update" data-theme-value-param="light"> Lights On </button> </div>
?? ?? ????? ???? ?? ?? ????.
// app/javascript/controllers/theme_controller.js import { Controller } from "@hotwired/stimulus" export default class extends Controller { update({ params: { value } }) { this.#setClass(value); } // private #setClass(theme) { document.documentElement.classList.toggle("dark", theme === "dark"); } }
??? ?? ???? ?? ??? ???? ?? ?? ????. ??? ?? ????? ??(????? ??)???. ??? ?? ????? ???? ??? ???? ????. ??? ????? ?? ??? ??? ?????(???? ?? ?).
setItem ? getItem ??? localStorage API? RemoveItem ? Clear()? ?????.
? ??? Stimulus? ???? UI ??? localStorage? ??? ?? ?????. ??? ??? 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)

??? ??











Java ? JavaScript? ?? ?? ????? ??? ?? ?? ?? ???? ????? ?????. Java? ??? ? ??? ?????? ??? ???? JavaScript? ?? ? ??? ??? ?????.

JavaScriptCommentsareEnsentialformaining, ?? ? ???? 1) Single-LinecommentsERUSEDFORQUICKEXPLANATIONS.2) Multi-linecommentSexplaincleClexLogicOrprovidedEdeDDocumentation.3) inlineecommentsClarifySpecificPartSofcode.bestPractic

JavaScript?? ??? ??? ?? ? ? ?? ??? ???????. 1. ?? ??? ??? ???? ?? ??? ????. ISO ?? ???? ???? ???? ???? ?? ????. 2. ?? ??? ?? ???? ??? ?? ???? ??? ? ??? ? ?? 0?? ????? ?? ??????. 3. ?? ?? ???? ???? ???? ?? ?????? ??? ? ????. 4. Luxon? ?? ???? ???? ?????? ???? ?? ????. ??? ?? ???? ????? ???? ??? ????? ?? ? ????.

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

JavaScriptIspreferredforwebDevelopment, whithjavaisbetterforlarge-scalebackendsystemsandandandoidapps.1) javascriptexcelsincreatinginteractivewebexperiences withitsdynatureanddommanipulation.2) javaoffersstrongtypingandobject-Orientededededededededededededededededdec

javascriptassevenfundamentalDatatatypes : ??, ???, ??, unull, ??, ? symbol.1) ?? seAdouble-precisionformat, ??? forwidevaluerangesbutbecautiouswithfatingfointarithmetic.2) stringsareimmutable, useefficientconcatenationmethendsf

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

Java? JavaScript? ?? ????? ?????. 1. Java? ???? ???? ??? ? ??? ?????? ?????? ? ?? ???? ?????. 2. JavaScript? ?? ? ?? ?? ? ??? ?? ??? ???? ??? ? ?? ? ?? ?????.
