# Latest

**URL:** https://forum.kirupa.com/latest.md?page=95

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 96

---

## [PWA vs. React Native](https://forum.kirupa.com/t/pwa-vs-react-native/639724)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 7\
**Last updated:** [June 26, 2020, 9:08pm UTC](https://forum.kirupa.com/t/pwa-vs-react-native/639724 "2020-06-26T21:08:46Z")

</div>

Two of the hottest technologies for building cross-platform apps these days are Progressive Web Apps (PWA) and React Native. If you are an app developer today, which one should you prioritize and build for? What decision…

---

## [JSON parsing in Express](https://forum.kirupa.com/t/json-parsing-in-express/643355)

<div class="topic-metadata">

**Author:** [@Umair\_Ashraf](https://forum.kirupa.com/u/Umair_Ashraf)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 10:37pm UTC](https://forum.kirupa.com/t/json-parsing-in-express/643355 "2020-06-24T22:37:21Z")

</div>

---

## [React using API call](https://forum.kirupa.com/t/react-using-api-call/643292)

<div class="topic-metadata">

**Author:** [@Umair\_Ashraf](https://forum.kirupa.com/u/Umair_Ashraf)\
**Replies:** 8\
**Last updated:** [June 24, 2020, 9:25pm UTC](https://forum.kirupa.com/t/react-using-api-call/643292 "2020-06-24T21:25:07Z")

</div>

Hi Guys, i am trying to build a project using React abd i was just trying to use the API calls in the React but i got stuck on the below code as it is returning an Error(items.then is not a function), i am using .then me…

---

## [Place 3 elements inside Flexbox](https://forum.kirupa.com/t/place-3-elements-inside-flexbox/643341)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 4\
**Last updated:** [June 24, 2020, 3:17pm UTC](https://forum.kirupa.com/t/place-3-elements-inside-flexbox/643341 "2020-06-24T15:17:17Z")

</div>

Hello. Can’t figure out why my code doesn’t work as I want. I have 3 elements. I want to place one element in the upper left corner, one in the right bottom corner and one element in the center using Flexbox. The cente…

---

## [JS Tip of the Day: Prototypes as Instance of Type](https://forum.kirupa.com/t/js-tip-of-the-day-prototypes-as-instance-of-type/643352)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 24, 2020, 12:34pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-prototypes-as-instance-of-type/643352 "2020-06-24T12:34:46Z")

</div>

Prototypes as Instance of Type Level: Advanced JavaScript uses prototypes for inheritance. Most of the time these prototypes are simply instances of ordinary objects, but there are some unusual exceptions. Some proto…

---

## [Cool AR Plane Takeoff/Landing](https://forum.kirupa.com/t/cool-ar-plane-takeoff-landing/643347)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 24, 2020, 12:19am UTC](https://forum.kirupa.com/t/cool-ar-plane-takeoff-landing/643347 "2020-06-24T00:19:39Z")

</div>

This was really cool to watch…and watch…and watch some more :grinning:

---

## [JS Tip of the Day: Closure Scopes Limit Closure Variables](https://forum.kirupa.com/t/js-tip-of-the-day-closure-scopes-limit-closure-variables/643340)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 4:04pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-closure-scopes-limit-closure-variables/643340 "2020-06-22T16:04:27Z")

</div>

Closure Scopes Limit Closure Variables Level: Advanced Closures are functions associated with a lexical environment. Lexical environments store variables in a scope. They also store a reference to their parent enviro…

---

## [A Visual Introduction to Arrays](https://forum.kirupa.com/t/a-visual-introduction-to-arrays/643332)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 4:28am UTC](https://forum.kirupa.com/t/a-visual-introduction-to-arrays/643332 "2020-06-22T04:28:16Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/javascript/visual\_guide\_arrays.htm

---

## [Really nice profile of Weird Al Yankovic!](https://forum.kirupa.com/t/really-nice-profile-of-weird-al-yankovic/642448)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [June 22, 2020, 4:50am UTC](https://forum.kirupa.com/t/really-nice-profile-of-weird-al-yankovic/642448 "2020-06-22T04:50:29Z")

</div>

Something lighthearted and fun! I’ve always been a big fan of his music. Amish Paradise is something I hum internally every time I see a field or am taking butter out of a fridge :stuck\_out\_tongue: Cheers, Kirupa …

---

## [ECMAScript® 2020 Language Specification Approved](https://forum.kirupa.com/t/ecmascript-2020-language-specification-approved/643311)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 20, 2020, 12:53pm UTC](https://forum.kirupa.com/t/ecmascript-2020-language-specification-approved/643311 "2020-06-20T12:53:48Z")

</div>

The 11th edition of the ECMAScript® Language Specification, ES2020, has been officially approved and published to: http://www.ecma-international.org/publications/standards/Ecma-262.htm New features include: String.pro…

---

## [JS Tip of the Day: Function Name Bindings](https://forum.kirupa.com/t/js-tip-of-the-day-function-name-bindings/643299)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 18, 2020, 1:19pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-function-name-bindings/643299 "2020-06-18T13:19:22Z")

</div>

Function Name Bindings Level: Intermediate Named function expressions have an interesting behavior where they’ll create a variable binding of the function name with the function object local to the function body. This…

---

## [Events in JavaScript](https://forum.kirupa.com/t/events-in-javascript/352071)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [June 17, 2020, 10:20am UTC](https://forum.kirupa.com/t/events-in-javascript/352071 "2020-06-17T10:20:30Z")

</div>

In this introductory tutorial, learn all about why events are useful and how you can use functions like addEventListener to take full advantage of them. This is a companion discussion topic for the original entry at ht…

---

## [Cool Text Animation](https://forum.kirupa.com/t/cool-text-animation/643267)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [June 16, 2020, 8:48pm UTC](https://forum.kirupa.com/t/cool-text-animation/643267 "2020-06-16T20:48:45Z")

</div>

It’s been a while since I saw such nice text animations in the browser without relying on Flash :stuck\_out\_tongue:

---

## [How to add support for async/await in old browsers.](https://forum.kirupa.com/t/how-to-add-support-for-async-await-in-old-browsers/643277)

<div class="topic-metadata">

**Author:** [@kn7](https://forum.kirupa.com/u/kn7)\
**Replies:** 6\
**Last updated:** [June 16, 2020, 6:52pm UTC](https://forum.kirupa.com/t/how-to-add-support-for-async-await-in-old-browsers/643277 "2020-06-16T18:52:39Z")

</div>

I want to add support for async/await in javascript for firefox v47. So that I can use async function () { await something; } \[Can I use–Browser support tables for modern web technologies.\] Async functions says that fir…

---

## [JS Tip of the Day: The debugger Statement](https://forum.kirupa.com/t/js-tip-of-the-day-the-debugger-statement/643281)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 16, 2020, 1:23pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-the-debugger-statement/643281 "2020-06-16T13:23:29Z")

</div>

The debugger Statement Level: Intermediate Code doesn’t always work the way it should and sometimes you need to step through the code line by line to figure out what’s going wrong. Debuggers provide this ability, allo…

---

## [Predictive Spam Fighting / Spam Hall of Fame](https://forum.kirupa.com/t/predictive-spam-fighting-spam-hall-of-fame/642066)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 25\
**Last updated:** [June 16, 2020, 5:56am UTC](https://forum.kirupa.com/t/predictive-spam-fighting-spam-hall-of-fame/642066 "2020-06-16T05:56:55Z")

</div>

Just like the predictive policing shown in Minority Report, I think a bunch of us have developed the skills to identify a spammer from tens of miles away. This thread will be a place to document our nearly 100% success r…

---

## [JS Tip of the Day: Mixing class and function Constructors](https://forum.kirupa.com/t/js-tip-of-the-day-mixing-class-and-function-constructors/643264)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 14, 2020, 1:46pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-mixing-class-and-function-constructors/643264 "2020-06-14T13:46:45Z")

</div>

Mixing class and function Constructors Version: ES2015 (class, Reflect) Level: Advanced For the most part, when creating your own constructor functions, you’re going to want to prefer the class syntax. It’s cleaner s…

---

## [Forums Have Themes Too!](https://forum.kirupa.com/t/forums-have-themes-too/643224)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 7\
**Last updated:** [June 12, 2020, 11:12am UTC](https://forum.kirupa.com/t/forums-have-themes-too/643224 "2020-06-12T11:12:27Z")

</div>

It’s a bit undiscoverable right now, but if you go to your user preferences, you can select from a handful of themes created by the Discourse community: There is an extension to Discourse that will get the themes to …

---

## [Creating Circles using Radial Gradients](https://forum.kirupa.com/t/creating-circles-using-radial-gradients/643242)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [June 11, 2020, 12:00am UTC](https://forum.kirupa.com/t/creating-circles-using-radial-gradients/643242 "2020-06-11T00:00:05Z")

</div>

by kirupa | filed under Web Apps This is a companion discussion topic for the original entry at https://www.kirupa.com//css/circles\_radial\_gradient.htm

---

## [Array manipulation, difference between array and array object](https://forum.kirupa.com/t/array-manipulation-difference-between-array-and-array-object/643237)

<div class="topic-metadata">

**Author:** [@Umair\_Ashraf](https://forum.kirupa.com/u/Umair_Ashraf)\
**Replies:** 3\
**Last updated:** [June 10, 2020, 3:16pm UTC](https://forum.kirupa.com/t/array-manipulation-difference-between-array-and-array-object/643237 "2020-06-10T15:16:31Z")

</div>

Hi guys, i am trying to add two values at a specific index and places it back into an array, but the compiler is coming up with some Run time error… not sure if i am doing it correct. also if any one can clarify please…

---

## [JS Tip of the Day: JSON Reviver Function](https://forum.kirupa.com/t/js-tip-of-the-day-json-reviver-function/643241)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 1:23pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-json-reviver-function/643241 "2020-06-10T13:23:15Z")

</div>

JSON Reviver Function Level: Intermediate Just as you can control how JSON is created in JSON.stringify() using toJSON() methods in your objects, so too can you control how JSON strings are converted into objects in JS…

---

## [kirupa.com - Creating an Application Bar, Page 3](https://forum.kirupa.com/t/kirupa-com-creating-an-application-bar-page-3/643238)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 10:51am UTC](https://forum.kirupa.com/t/kirupa-com-creating-an-application-bar-page-3/643238 "2020-06-10T10:51:31Z")

</div>

by kirupa | 19 September 2010 Have questions? Discuss this Windows Phone tutorial with others on the forums. This is a companion discussion topic for the original entry at https://www.kirupa.com/windowsphone/c…

---

## [Passing random generated numbers](https://forum.kirupa.com/t/passing-random-generated-numbers/643228)

<div class="topic-metadata">

**Author:** [@Isaac\_Feldman](https://forum.kirupa.com/u/Isaac_Feldman)\
**Replies:** 4\
**Last updated:** [June 10, 2020, 7:41am UTC](https://forum.kirupa.com/t/passing-random-generated-numbers/643228 "2020-06-10T07:41:16Z")

</div>

i am struggling to plug the random generate numbers into the next function - what am I doing wrong? Codepen link

---

## [Approaching the opportunity](https://forum.kirupa.com/t/approaching-the-opportunity/643229)

<div class="topic-metadata">

**Author:** [@Taryar](https://forum.kirupa.com/u/Taryar)\
**Replies:** 6\
**Last updated:** [June 10, 2020, 7:27am UTC](https://forum.kirupa.com/t/approaching-the-opportunity/643229 "2020-06-10T07:27:19Z")

</div>

Hello, I love this community and I want to thanks to you. I appreciate it and if you don’t mind can you answer me a few question?What should I prepare as a low experience person?As you know, for less developed country, i…

---

## [I can't see my image icon changing! Help me please](https://forum.kirupa.com/t/i-cant-see-my-image-icon-changing-help-me-please/643221)

<div class="topic-metadata">

**Author:** [@Taryar](https://forum.kirupa.com/u/Taryar)\
**Replies:** 8\
**Last updated:** [June 9, 2020, 4:36pm UTC](https://forum.kirupa.com/t/i-cant-see-my-image-icon-changing-help-me-please/643221 "2020-06-09T16:36:19Z")

</div>

---

## [JS Tip of the Day: Trailing Commas](https://forum.kirupa.com/t/js-tip-of-the-day-trailing-commas/643200)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 1:46pm UTC](https://forum.kirupa.com/t/js-tip-of-the-day-trailing-commas/643200 "2020-06-07T13:46:24Z")

</div>

Trailing Commas Version: ES2015 (destructuring, import, export), ES2017 (functions) Level: Intermediate In certain list-like syntaxes JavaScript supports trailing commas. Trailing commas are commas at the end of a li…

---

## [Spread operator](https://forum.kirupa.com/t/spread-operator/643197)

<div class="topic-metadata">

**Author:** [@Mrityunjay\_kumar](https://forum.kirupa.com/u/Mrityunjay_kumar)\
**Replies:** 1\
**Last updated:** [June 6, 2020, 5:11pm UTC](https://forum.kirupa.com/t/spread-operator/643197 "2020-06-06T17:11:42Z")

</div>

please help me to use of spread operator in React because i’m bit confuse where the array should put either in component or DOM.

---

## [I can't upload my image. Help me please](https://forum.kirupa.com/t/i-cant-upload-my-image-help-me-please/643195)

<div class="topic-metadata">

**Author:** [@Taryar](https://forum.kirupa.com/u/Taryar)\
**Replies:** 4\
**Last updated:** [June 6, 2020, 1:09pm UTC](https://forum.kirupa.com/t/i-cant-upload-my-image-help-me-please/643195 "2020-06-06T13:09:02Z")

</div>

---

## [Understanding Simple API call](https://forum.kirupa.com/t/understanding-simple-api-call/643189)

<div class="topic-metadata">

**Author:** [@Umair\_Ashraf](https://forum.kirupa.com/u/Umair_Ashraf)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 8:12pm UTC](https://forum.kirupa.com/t/understanding-simple-api-call/643189 "2020-06-05T20:12:12Z")

</div>

Hi guys, Currently i am trying to understand about the API calls, i am fetching the data and i understand it will return as a promise and that promise contains the data and on that JSON-data i can use .json to convert i…

---

## [Hide submenus when I scroll page](https://forum.kirupa.com/t/hide-submenus-when-i-scroll-page/643023)

<div class="topic-metadata">

**Author:** [@Mary\_Pieroszkiewicz](https://forum.kirupa.com/u/Mary_Pieroszkiewicz)\
**Replies:** 5\
**Last updated:** [June 5, 2020, 4:58pm UTC](https://forum.kirupa.com/t/hide-submenus-when-i-scroll-page/643023 "2020-06-05T16:58:25Z")

</div>

I need to do this functionality in navigation menu - submenu lists. When scrolls down the page, the submenu is to hide http://www.marypieroszkiewicz.com/3n\_solution/ This is my code for menu-submenu const menu =…

[Previous page](https://forum.kirupa.com/latest.md?page=94)

[Next page](https://forum.kirupa.com/latest.md?page=96)
