Skip to main content

Posts

Showing posts with the label JS

JS: Cheatsheet

   Datatypes Difference Between Var, Let and Const Functions and its types Asynchronous operations in JS

JS: Change Node version on windows

  You may need to change your current node version to some old or new version for the compatibility of a project someday, So here is a guide to do so on windows PC, let's just check it out.  Step 1: Visit this link  https://github.com/coreybutler/nvm-windows Step2: Just click on  latest installer link in the bottom Step3: Download the  nvm-setup.zip from here and install the setup. Step4: After the installation open cmd with administrative mode . Step5: Execute the command nvm install the_version_you_want Step6: Now nvm use  the_version_you_want Step6: Hurray the version is changed you can check by this command nvm list Now Cheers !😊

JS: Integrate WhatsApp Chat on your website

Want to know how can you easily integrate WhatsApp chat on your website just follow the steps below and I am sure you will find this pretty easy. There is no rocket science to crack it you just need basic code knowledge only.  Step 1: Just paste the following code before body tag on your website and replace the dummy number with your actual number and place any whatsapp icon <a href =" https://wa.me/yourmobilenu?text=Hey%21%20%20 " class =" whatsapp-chat " target =" _blank "> <img src =" img/whatsapp.png "> </a> Step2: Paste the following code in your style CSS .whatsapp-chat { position: fixed; left: 25px; bottom: 24px; z-index:9; } Now Cheers !😊

JS: Fetch the dynamic instagram posts on your static website

Got Stuck, Want to fetch the Instagram Posts on your static website and have no clue how to do that, No worries you are at the right place just follow the steps, and you are done, enjoy the hassle-free automated posts from your Instagram account to your up and running website. No more embedded iframe manual Instagram posts.  Step 1: Include the following script after the jquery library <script type="text/javascript"  src="https://www.jqueryscript.net/demo/Instagram-Photos-Without-API-instagramFeed/jquery.instagramFeed.js?v8"></script> Step2: Add the following code in footer and place your Instagram username in place of following bold marked text $(window).on('load', function(){     $.instagramFeed({         'username': ' Your Instagram Username ',         'container': "#instagram-feed1",         'display_profile': false,         'display_biography': false,         'display_gallery': true,