Convert Celsius to Fahrenheit
π₯ 1. Convert Celsius to Fahrenheit - convert celsius to fahrenheit in javascript β What It Does This JavaScript one-liner converts a temperature from Celsius to Fahrenheit using the standard conversion formula: F = (C Γ 9/5) + 32 It's concise, readable, and reusable as a utility function. π§ Why Itβs Useful[ βΊ ]
πͺ Get the Value of a Browser Cookie via JavaScript
πͺ 2. Get the Value of a Browser Cookie β What It Does This one-liner retrieves the value of a specific cookie by name from the browserβs document.cookie string. It enables access to stored session data like tracking IDs (_ga), user preferences, auth tokens, or flags set by JavaScript or the server.[ βΊ ]