<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>JavaScript on Junihh Blog</title><link>/categories/javascript/</link><description>Recent content in JavaScript on Junihh Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>©2020 Junihh Blog.</copyright><lastBuildDate>Tue, 19 May 2020 16:00:00 +0000</lastBuildDate><atom:link href="/categories/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Follow these easy steps to react google login</title><link>/post/follow-these-easy-steps-to-react-google-login/</link><pubDate>Tue, 19 May 2020 16:00:00 +0000</pubDate><guid>/post/follow-these-easy-steps-to-react-google-login/</guid><description>Can&amp;rsquo;t find react google login page? By official links provided below you will get an easy access to your account.
Follow these easy steps to react google login:
Step 1.Click on an official link provided below.
Step 2.In special fields fill in your react google login data by providing your user account and password.
Step 3.Use your account ;)
Useful: If there are any problems with logging in to your account, please send massage to customer service or online chat to solve your problem.</description></item><item><title>Capture parameters passed by url with javascript</title><link>/post/capture-parameters-passed-by-url-with-javascript/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/capture-parameters-passed-by-url-with-javascript/</guid><description>I did not like to pass variables with important data through the location bar for security reasons, but working on a project, I had to use javascript to capture the variables sent. Until then I had not needed the effect, so I searched - unsuccessfully - how to do it. The examples I found were useless to me, because they were very specific to the cases studied. Here is my version of how to capture such parameters.</description></item><item><title>Filter json data from a key</title><link>/post/filter-json-data-from-a-key/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/filter-json-data-from-a-key/</guid><description>You have a large flat JSON made up of many objects, made up of several key-values ​​(normal). You need to recompose that JSON so that the objects are filtered by one of its keys. It may sound extremely complex but trust me, with this feature you will reconsider.
Let&amp;rsquo;s start with this sample:
var miData = [ { category: 'animales', name: 'Perro', pic: 'http://url.a/la/foto' }, { category: 'cosas', name: 'Silla', pic: 'http://url.</description></item><item><title>Forget about concat and start using concat</title><link>/post/forget-about-concat-and-start-using-concat/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/forget-about-concat-and-start-using-concat/</guid><description>It may sound crazy but Array.prototype.concat()from javascript I think it is the worst implementation that we can find in any modern language to concatenate variables or portions of texts to another text string.
We can concatenate in two ways:
var mensaje = &amp;quot;Buenos días, &amp;quot;; var nombre = &amp;quot;Junior&amp;quot;; console.log( mensaje.concat(nombre) ); // RESPUESTA: &amp;quot;Buenos días, Junior&amp;quot; var mensaje = &amp;quot;Buenos días, &amp;quot;; var nombre = &amp;quot;Junior&amp;quot;; console.log( mensaje + nombre ); // RESPUESTA: &amp;quot;Buenos días, Junior&amp;quot; Don&amp;rsquo;t they look good?</description></item><item><title>Saving data in localStorage</title><link>/post/saving-data-in-localstorage/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/saving-data-in-localstorage/</guid><description>Along with the arrival of HTML5 we have seen many improvements in the way how to save data in the user&amp;rsquo;s browser, such as localStorage and sessionStorage , the latter coming to replace the obsolete cookies.
Both cookies, sessionStorage and localStorage have limitations on the length of data that we can have. Thus, cookies only allow up to 4095 bytes to be saved, while sessionStorage and localStorage support between 8MB and 10MB depending on the browser (just the true beauty of these), so that we can transfer data between pages temporarily while the user browses our site (sessionStorage) or we can leave locally saved data indefinitely -or until the user cleans their browser- (localStorage).</description></item><item><title>Search in a text string with 'in'</title><link>/post/search-in-a-text-string-with-in/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/search-in-a-text-string-with-in/</guid><description>After JavaScript (EcmaScript), Python is my second favorite programming language. It has a very low learning curve, making it quite intuitive compared to other languages ​​and its list of basic keywords is short. Any individual can quickly adapt, even those who have never written a line of code (but who understand English).
One of the basic Python keywords is in, used to search for portions of text within a text string, list, dictionary or tuple.</description></item><item><title>Subtract or add hours to a date</title><link>/post/subtract-or-add-hours-to-a-date/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/subtract-or-add-hours-to-a-date/</guid><description>We have all seen you obliged to save the date / time of a transaction. For security, it is preferable to make this calculation in the back-end, but if security is not so important, here is the tool you need to subtract or add hours or days to the current date.
First the following function, which will allow us to show the hours, minutes or days of the date with two characters instead of one:</description></item><item><title>Templates for lists without templates engines</title><link>/post/templates-for-lists-without-templates-engines/</link><pubDate>Mon, 18 May 2020 16:00:00 +0000</pubDate><guid>/post/templates-for-lists-without-templates-engines/</guid><description>I must admit that it has always been heavy and boring to integrate resources not programmed by me in my work stack, so many of the functions and utilities are my responsibility.
Some time ago we were hired by a client to create a project that required a panel to create and update content, a mobile application and a web application. One of the strengths of this project was the lists since it involved a product catalog.</description></item></channel></rss>