• How can create user preferences in JavaScript by storing the choice when the user clicks something, and then reloading it whenever the page is opened again

    You can create user preferences in JavaScript by storing the choice when the user clicks something, and then reloading it whenever the page is opened again. The usual way is to use localStorage or cookies.

    Here’s a step-by-step example:


    Example: Save User Theme Preference (Dark/Light Mode)

    HTML

    
    

    Hello! This text will change theme.

    JavaScript

    // Get saved preference (if any)
    let userPref = localStorage.getItem("theme");
     document.cookie = "theme=light; path=/";
    
    // Apply saved preference
    if (userPref === "dark") {
      document.body.classList.add("dark");
      document.cookie = "theme=dark; path=/";
    }
    
    // Button click event
    document.getElementById("themeToggle").addEventListener("click", () => {
      document.body.classList.toggle("dark");
    
      // Save user preference
      if (document.body.classList.contains("dark")) {
        localStorage.setItem("theme", "dark");
     document.cookie = "theme=dark; path=/";
      } else {
        localStorage.setItem("theme", "light");
     document.cookie = "theme=light; path=/";
      }
    });
    

    CSS

    body {
      background: white;
      color: black;
    }
    body.dark {
      background: black;
      color: white;
    }
    

    How It Works

    1. When the user clicks the button → we toggle a CSS class.
    2. Save the preference in localStorage.
    3. Next time the user reloads, we restore the preference from localStorage.
  • how to create user preference in JavaScript on webpage click
    
    

    Hello! This text will change theme.

    body { background: white; color: black; } body.dark { background: black; color: white; } // Get saved preference (if any) let userPref = localStorage.getItem("theme"); document.cookie = "theme=light; path=/"; // Apply saved preference if (userPref === "dark") { document.body.classList.add("dark"); document.cookie = "theme=dark; path=/"; } // Button click event document.getElementById("themeToggle").addEventListener("click", () => { document.body.classList.toggle("dark"); // Save user preference if (document.body.classList.contains("dark")) { localStorage.setItem("theme", "dark"); document.cookie = "theme=dark; path=/"; } else { localStorage.setItem("theme", "light"); document.cookie = "theme=light; path=/"; } });
  • iPhone 17: The thinnest and lightest

    आईफोन 17 : सबसे पतला और हल्का

    लॉन्च

    क्यूपर्टिनो, एजेंसी। आईफोन एयर 5.6 मिमी पतला है। इवेंट में आईफोन 17 और आईफोन 17 प्रो भी लॉन्च किया गया है। इसके अलावा एयरपॉड 3 प्रो पेश किया जिसमें रियल-टाइम ट्रांसलेशन फीचर मिलेगा। एपल वॉचलाइन अप में वॉच एसई, वॉच सीरीज 11 और वॉच अल्ट्रा 3 भी लॉन्च की गई है। आईफोन 17 की शुरुआती कीमत 799 डॉलर, आईफोन एयर 999 डॉलर, आईफोन 17 प्रो 1099 डॉलर है।

    एयरपोड्स-प्रोउ : एयरपोड्स-प्रोउ में लाइव भाषा अनुवाद की सुविधा दी गई है। नई एयरपोड्स-प्रोउ की कीमत 249 डॉलर होगी और यह 19 सितंबर से बाजार में उपलव्ध होंगी।

    एप्पल वॉच : नई एप्पल वॉच में ब्लड प्रेशर मॉनिटर की सुविधा है, लेकिन यह फीचर अभी नियामक मंजूरी का इंतजार कर रहा है। एप्पल ने अपने इवेंट में नई एं19 आईफोन चिप पेश की है।

    12 सितंबर से आईफोन-17 सीरीज के फोन ऑर्डर किए जा सकते हैं

    79 हजार से ज्यादा में भारत में मिलने शुरू होंगे आईफोन-17 के फोन

    भारत में 19 सितंबर से प्री बुकिंग

    आईफोन-17 एयर अब तक का सबसे पतला और हल्का आईफोन

    5.5 एमएम मोटा लगभग 145 ग्राम 6.6-इंच डिस्प्ले

    24 एमपी फ्रंट कैमरा

    48 मेगा पिक्सल रियर कैमरा टाइटेनियम-एल्यूमिनियम बॉडी

    12 जीबी तक की रैम

    256 जीबी स्टोरेज

    3149 एमएएच बैटरी

    लगभग : 99,900 रुपये (भारत में) आईफोन-17 प्रो और प्रो मैक्स आईफोन-17 (बेस)

    1. 6.3 इंच प्रो मोशन डिस्प्ले
    2. 24 मेगापिक्सल (एमपी) फ्रंट कैमरा
    3. डुअल रियर कैमरा, 48 एमपी (वाइड)
    • 12 एमपी (अल्ट्रा-वाइड)
    1. रैम आठ जीबी
    2. ए19 चिपसेट
    3. 25 डब्ल्यू क्यूआई वायरलेस चार्जिंग
    4. कई कलर विकल्प
    5. 128 जीबी स्टोरेज
    6. 3692 एमएएच बैटरी
    7. लगभग 79,900 से 89,900 रुपये

    24 एमपी फ्रंट कैमरा ट्रिपल रियर कैमरा, सभी प्रोमैक्स में 5088 48 एमपी (वाइड, अल्ट्रा- एचएएच बैटरी फोन लगभग वाइड, टेलीफोटो) 1,24,900 रुपये एल्यूमिनियम-ग्लास फ्रेम प्रो में 4252 एमएएच बैटरी प्रो मैक्स 1,64,900 रुपये

    Launch

    Cupertino, Agency. iPhone Air is 5.6 mm thin. iPhone 17 and iPhone 17 Pro have also been launched in the event. Apart from this, AirPods 3 Pro was introduced in which real-time translation feature will be available. Watch SE, Watch Series 11 and Watch Ultra 3 have also been launched in the Apple Watch line up. The starting price of iPhone 17 is $ 799, iPhone Air is $ 999, iPhone 17 Pro is $ 1099.

    AirPods-Pro: AirPods-Pro features live language translation. The new AirPods-Pro will be priced at $ 249 and will be available in the market from September 19.

    Apple Watch: The new Apple Watch features a blood pressure monitor, but this feature is still awaiting regulatory approval. Apple has introduced the new A19 iPhone chip in its event.

    iPhone 17 series phones can be ordered from September 12

    iPhone 17 phones will be available in India for more than 79 thousand

    Pre-booking in India from September 19

    iPhone 17 Air is the thinnest and lightest iPhone ever

    5.5 mm thick, about 145 grams, 6.6-inch display

    24 MP front camera

    48 megapixel rear camera, titanium-aluminum body

    Up to 12 GB RAM

    256 GB storage

    3149 mAh battery

    Approximately: Rs 99,900 (in India) iPhone 17 Pro and Pro Max iPhone 17 (base)

    1. 6.3 inch Pro Motion display
    2. 24 megapixel (MP) front camera
    3. Dual rear camera, 48 MP (wide)
    • 12 MP (ultra-wide)
    1. RAM 8 GB
    2. A19 chipset
    3. 25 W QI wireless charging
    4. Multiple colour options
    5. 128 GB storage
    6. 3692 mAh battery
    7. Approx Rs 79,900 to Rs 89,900

    24 MP front camera Triple rear camera, all ProMax 5088 48 MP (wide, ultra-wide, telephoto) Approx Rs 1,24,900 Aluminium-glass frame Pro 4252 mAh battery Pro Max Rs 1,64,900

  • Quiz feature on channels soon

    चैनल्स पर जल्द क्विज फीचर

    व्हाट्सऐप अपने यूजर्स के लिए समय-समय पर नए फीचर्स लाता रहता है। इस क्रम में ऐप के चैनल्स में जल्द ही क्विज फीचर आने वाला है। इससे चैनल के एडमिन को क्विज बनाने की सुविधा मिलेगी, जो फॉलोअर्स की भागीदारी कोह फीचरबीटा टेस्टिंग में है। एडमिन एक प्रश्न के साथ कई विकल्प दे सकते हैं। इसका फीडबैक भी मिलता है कि उसका जवाब सही था या नहीं

    WhatsApp keeps bringing new features for its users from time to time. In this sequence, the quiz feature is going to be introduced in the channels of the app soon. This will allow the channel admin to create quizzes, which are in beta testing with the participation of followers. Admins can give multiple options with a question. Feedback is also received whether the answer was correct or not

  • Users will be able to save posts

    यूजर्स सेव कर सकेंगे पोस्ट

    एक्स की प्रतिद्वंद्वी प्लेटफॉर्म ब्लूस्काई यू ने एक बुकमार्किंग फीचर जोड़ा है। इस सुविधा के जरिए यूजर्स किसी भी पोस्ट को निजी तौर पर सेव कर सकते हैं। यह अपडेट ब्लूस्काई की वेबसाइट और मोबाइल ऐप दोनों पर उपलब्ध है। फिलहाल सेव किए गए पोस्ट्स को फोल्डर में व्यवस्थित करने का विकल्प मौजूद नहीं है। इससे पहले ब्लूस्काई यूजर्स पोस्ट्स को सेव करने के लिए एक वैकल्पिक तरीका अपनाते थे।

    X’s rival platform BlueSky U has added a bookmarking feature. Through this feature, users can save any post privately. This update is available on both BlueSky’s website and mobile app. Currently, there is no option to organize saved posts into folders. Earlier, BlueSky users used to adopt an alternative method to save posts.

  • Many languages ​​added to search

    सर्च में जुड़ी कई भाषाएं

    गूगल अपने आर्टिफिशियल इंटेलिजेस सर्च फीचर पहले केवल अंग्रेजी में उपलब्ध था, लेकिन अब कंपनी ने इसे हिंदी, इंडोनेशियाई, जापानी, कोरियाई और ब्राजजीलियाई पुर्तगाली भाषाओं में भी शुरू किया है। यह फीचर अब 180 से ज्यादा देशों में यूजर्स के लिए उपलब्ध है। नई भाषाओं में यह तकनीक अब और अधिक प्रासंगिक और उपयोगी साबित होगी, जिससे यूजर्स का अनुभव और आसान बन जाएगा।

    Google’s artificial intelligence search feature was earlier available only in English, but now the company has also launched it in Hindi, Indonesian, Japanese, Korean and Brazilian Portuguese languages. This feature is now available to users in more than 180 countries. This technology will now prove to be more relevant and useful in new languages, making the user experience easier.

  • Microsoft may take help from Anthropic

    माइक्रोसॉफ्ट ले सकती है एंथोपिक की मदद

    टेक दिग्गज कंपनी माइक्रोसॉफ्ट अपने यूजर्स को आर्टिफिशियल इंटेलिजेंस फीचर्स का लाभ देने के लिए ओपनएआई के अतिरिक्त अन्य कंपनियों से भी मदद ले सकती है। रिपोर्ट के अनुसार, माइक्रोसॉफ्ट ऑफिस 365 के कोपायलट फीचर्स को चलाने के लिए एंथ्रोपिक के नए क्लाउड मॉडल का इस्तेमाल करने की तैयारी कर रही है

    Tech giant Microsoft may take help from other companies besides OpenAI to give the benefit of artificial intelligence features to its users. According to the report, Microsoft is preparing to use Anthropic’s new cloud model to run the copilot features of Office 365

  • Free storage will be available for backup

    बैकअप के लिए मिलेगा फ्री स्टोरेज

    प्राइवेसी पर जोर देने वाला मैसेजिंग ऐप सिग्नल अपने यूजर्स के लिए नया बैकअप फीचर लेकर आया है। इसमें फ्री स्टोरेज के साथ आपकी प्राइवेसी और डाटा दोनों पूरी तरह सुरक्षित रहेंगे। अब यह आसान व सुरक्षित हो गया है। नए फीचर के जरिए यूजर्स अपनी चैट्स और मीडिया का बैकअप ले पाएंगे। पहले सिग्नल पर यह सुविधा नहीं थी।

    Privacy-focused messaging app Signal has brought a new backup feature for its users. With free storage, both your privacy and data will be completely safe. Now it has become easy and safe. Through the new feature, users will be able to backup their chats and media. Earlier this feature was not available on Signal.

  • The female is ready for another mating after one mating.

    मादा एक संभोग के बाद दूसरे को तैयार है।

    इसी नियम पर दुनिया के वेश्याघर चलते हैं ….

    जबकि नर के दो संभोगों के बीच अंतराल होगा ही होगा…..

    वो पहले संभोग के बाद झटके से मादा से अलग हटेगा

    और सो जाना चाहेगा ये उसकी प्रकृति है।

    जबकि मादा की प्रकृति इसके बिल्कुल विपरीत है।

    वो संभोग के तुरंत बाद उसके मुँह से वो शब्द सुनने को आतुर होती हैं जो उसे गुदगुदा दें……

    वो ये नहीं जानती कि नर प्रेम के बाद प्रेम नहीं कर सकता

    वो युद्ध के बाद प्रेम को लालायित हो सकता हैं।

    वो मूल रूप से शिकारी की भूमिका ही अदा करता है?

    हाँ सभ्य समाज में उसकी इस प्रवृत्ति को खुबसूरत लिबासों में ढका जाता है।

    दुनिया का सबसे बड़ा तानाशाह हिटलर रोजाना पाँच सौ आदमियों को कटवा कर अपनी प्रेमिका की गोद में सर रख कर प्रेमगीत लिखता था।

    उससे जुदाई के बीते लम्हों का वर्णन करते उसके गाल भीगते थे …..

    अशोक कलिंग युद्ध में हुई मारकाट से दग्ध होकर प्रेमालिंगन को तड़प उठा था …

    उसने बौद्ध दर्शन को अपने अंदर यूँ समाहित किया

    आज अशोक और बौद्ध दर्शन को अलग किया ही नहीं जा सकता॥

    नेपोलियन बोनापार्ट भी अपने बख़्तरबंद कवच को उतार प्रेम रस में डूबता था इतना रोमांटिक या प्रेयसी को समर्पित होता था।

    इस समय जितना कोई कवि शायर या मासूम दिल का नर भी समर्पित नही हो सकता॥

    सामान्य नर इस प्रकार के न युद्ध कर सकता हैं

    ना ही प्रेमातुर हो सकता है…..

    वो न घृणा के चरम पर जाएगा न प्रेम तल की गहराई में आएगा….

    वो कुछ दस मिनट का खेल करेगा।

    जो उसे किसी रूप संतुष्ट नहीं करेगा……

    इसी संतुष्टि प्राप्ति हेतु वो साथी को बदलने को उत्सुक हो सकता है….

    जहाँ जहाँ सामाजिक बंधन कमजोर ये बदलाव लगभग छह महीने के अंदर हो जाता है…..

    पर इन बदलावों से न परिस्थिति बदलती है न उसकी मनोरचना …

    यानि वो प्रेम पाने में प्रेम करने में असफल रहता है।

    यदि नर के जंगली पन को निकलने का रास्ता बन जाएँ

    तो वो प्रेम कर सकता हैं पा सकता है दे सकता है…..

    यही एक कारण है मादा हमेशा समाजिक रूप सभ्य की अपेक्षा उद्दंड नर की तरफ झुकती है ….

    इसलिए बिगड़े हुए लड़कों को समर्पित प्रेमिकाएँ मिलती है

    बजाएं सामाजिक दृष्टि से सभ्य का टैग पाएँ लड़कों को …

    The female is ready for another after one sexual intercourse.

    The brothels of the world run on this rule….

    While there will be a gap between the two sexual intercourses of the male…..

    After the first sexual intercourse, he will suddenly move away from the female

    and will want to sleep, this is his nature.

    While the nature of the female is exactly the opposite.

    Immediately after sexual intercourse, she is eager to hear those words from his mouth which will tickle her……

    She does not know that the male cannot love after love

    He can crave for love after war.

    He basically plays the role of a hunter?

    Yes, in civilized society, this tendency of his is covered in beautiful clothes.

    The world’s biggest dictator Hitler used to get five hundred men killed every day and write love songs with his head in the lap of his girlfriend.

    His cheeks would get wet while describing the moments of separation from her…

    Ashoka was burnt by the carnage in the Kalinga war and was yearning for a loving embrace…

    He imbibed Buddhist philosophy in himself in such a way that

    Today Ashoka and Buddhist philosophy cannot be separated.

    Napoleon Bonaparte too would take off his armour and get immersed in the love juice and would be so romantic and devoted to his beloved.

    At this time, no poet or innocent-hearted man can be as devoted as he is.

    A normal man cannot fight such a war

    Nor can he be in love…

    He will neither go to the extreme of hatred nor will he reach the depth of love…

    He will play a game of some ten minutes.

    Who will not satisfy him in any way……

    To get this satisfaction, he may be eager to change his partner….

    Wherever the social bond is weak, this change happens within about six months…

    But these changes neither change the situation nor his mindset…

    That is, he fails to love or get love.

    If a way is found to get rid of the wildness of the male

    Then he can love, get it, give it…

    This is one reason why the female always leans towards the unruly male rather than the socially civilized one…

    That is why spoiled boys get devoted girlfriends

    Instead of boys getting the tag of socially civilized…

  • EMI Calculator Privacy Policy

    Privacy Policy

    Effective Date: 11-Sep-2025

    EMI Calculator (“we”, “our”, or “us”) provides a free mobile application that includes:

    • EMI Calculator
    • Basic Calculator
    • Advanced Calculator
    • Clock & Alarm Services

    We respect your privacy and are committed to protecting it.


    Information We Collect

    • Our app does not collect, store, or share any personal information.
    • We do not require users to create accounts or provide any personal data.

    How We Use Information

    Since no personal information is collected, we do not use or share any user data.


    Third-Party Services

    • Our app does not integrate with third-party analytics, ads, or tracking services.
    • Your usage remains private to your device.

    Children’s Privacy

    Our app is safe for all age groups and does not knowingly collect data from children.


    Changes to This Privacy Policy

    We may update this Privacy Policy if necessary. Any updates will be posted within the app or on our website.


    Contact Us

    If you have any questions about this Privacy Policy, you can contact us at:

    [adityaypi@yahoo.com]