# Latest

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

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

**Page:** 79

---

## [What would you use for making an Interactive Timeline?](https://forum.kirupa.com/t/what-would-you-use-for-making-an-interactive-timeline/653124)

<div class="topic-metadata">

**Author:** [@VaiFanatic](https://forum.kirupa.com/u/VaiFanatic)\
**Replies:** 8\
**Last updated:** [August 20, 2022, 12:02am UTC](https://forum.kirupa.com/t/what-would-you-use-for-making-an-interactive-timeline/653124 "2022-08-20T00:02:18Z")

</div>

Say a timeline of events in a legal case for a defense firm; something that’s a “one-pager” where you can get a macro level view of the timeline, but is also easy enough for anyone without any knowledge to operate. Embe…

---

## [Chrome heap snapshot](https://forum.kirupa.com/t/chrome-heap-snapshot/653097)

<div class="topic-metadata">

**Author:** [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 7:04pm UTC](https://forum.kirupa.com/t/chrome-heap-snapshot/653097 "2022-08-16T19:04:33Z")

</div>

Hey guys, I have a function that: parses some JSON builds some objects then diffs some DOM nodes (50k for testing) I had a memory leak that I have fixed but for some reason: performance.memory() logged before and …

---

## [Need some clarification from the react course todo list!](https://forum.kirupa.com/t/need-some-clarification-from-the-react-course-todo-list/653073)

<div class="topic-metadata">

**Author:** [@tbunreal](https://forum.kirupa.com/u/tbunreal)\
**Replies:** 2\
**Last updated:** [August 13, 2022, 3:45pm UTC](https://forum.kirupa.com/t/need-some-clarification-from-the-react-course-todo-list/653073 "2022-08-13T15:45:15Z")

</div>

Hi, I must admit I don’t know much javascript, but I seem to be doing ok with the react course. But I am having some trouble understanding this code from the todo list project. Here The code is: var filteredItems = th…

---

## [img](https://forum.kirupa.com/t/img/652116)

<div class="topic-metadata">

**Author:** [@Javer](https://forum.kirupa.com/u/Javer)\
**Replies:** 20\
**Last updated:** [August 13, 2022, 1:48pm UTC](https://forum.kirupa.com/t/img/652116 "2022-08-13T13:48:56Z")

</div>

Hello! Problem, I want a menu to open by clicking on the picture, I made the menu myself, I just need to change the position of the menu by clicking on the picture.

---

## [Weird behaviour with RequestAnimationFrame](https://forum.kirupa.com/t/weird-behaviour-with-requestanimationframe/653029)

<div class="topic-metadata">

**Author:** [@giutor](https://forum.kirupa.com/u/giutor)\
**Replies:** 8\
**Last updated:** [August 12, 2022, 5:28pm UTC](https://forum.kirupa.com/t/weird-behaviour-with-requestanimationframe/653029 "2022-08-12T17:28:39Z")

</div>

Hi everybody, I’m remaking a 1984 arcade kung-fu game with JS. When the time is over I set a variable to false to stop calling RequestAnimationFrame(timestamp). When the death animation is complete, I set the same variab…

---

## [Testing react apps](https://forum.kirupa.com/t/testing-react-apps/653051)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 1\
**Last updated:** [August 12, 2022, 12:53am UTC](https://forum.kirupa.com/t/testing-react-apps/653051 "2022-08-12T00:53:49Z")

</div>

What’s the best way to test react apps? I find testing only components are annoying and slow. I’m considering testing complete business flows with cypress. Does anyone have slicker way?

---

## [GDPR & Firebase app](https://forum.kirupa.com/t/gdpr-firebase-app/653036)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 2\
**Last updated:** [August 11, 2022, 4:10am UTC](https://forum.kirupa.com/t/gdpr-firebase-app/653036 "2022-08-11T04:10:28Z")

</div>

Hello, I have a simple application hosted on firebase :fire:. Fire base has the ability to track how many visitors visit the the site via a cookie I think?. My application uses a simple local storage to store none per…

---

## [Do you code in your free time after a full day of coding at work?](https://forum.kirupa.com/t/do-you-code-in-your-free-time-after-a-full-day-of-coding-at-work/649747)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 22\
**Last updated:** [August 9, 2022, 9:18am UTC](https://forum.kirupa.com/t/do-you-code-in-your-free-time-after-a-full-day-of-coding-at-work/649747 "2022-08-09T09:18:56Z")

</div>

Do you code in your free time? what do you code and for how many hours? I personally try to avoid coding after work but have the feeling of fear due to missing out.

---

## [Prevent grid item from vertical stretching](https://forum.kirupa.com/t/prevent-grid-item-from-vertical-stretching/652920)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 10:12pm UTC](https://forum.kirupa.com/t/prevent-grid-item-from-vertical-stretching/652920 "2022-08-03T22:12:14Z")

</div>

Hi, Kirupa members, I need your help. Tried so many scenarios, nothing seems working. On this website https://fashionista-kirupa.netlify.app/ I have a lot of asymmetrical cards, which CSS makes symmetrical …

---

## [Animating a Random Color Change on Letters](https://forum.kirupa.com/t/animating-a-random-color-change-on-letters/652885)

<div class="topic-metadata">

**Author:** [@Matthew\_Seward](https://forum.kirupa.com/u/Matthew_Seward)\
**Replies:** 21\
**Last updated:** [August 2, 2022, 3:11pm UTC](https://forum.kirupa.com/t/animating-a-random-color-change-on-letters/652885 "2022-08-02T15:11:00Z")

</div>

I am trying to do this tutorial on a Wordpress site, and I’m getting an error on let spanElements = element.querySelectorAll(“span”);. Console says "null is not an object (evaluating ‘element.querySelectorAll’) Any s…

---

## [Perl vs PHP Encryption](https://forum.kirupa.com/t/perl-vs-php-encryption/652891)

<div class="topic-metadata">

**Author:** [@typomaniac](https://forum.kirupa.com/u/typomaniac)\
**Replies:** 1\
**Last updated:** [July 31, 2022, 4:55pm UTC](https://forum.kirupa.com/t/perl-vs-php-encryption/652891 "2022-07-31T16:55:05Z")

</div>

To begin with, I’m an amateur at “scripting” and far from the best but I’m finding Perl a bit easier for what I’m about to do as to PHP. I have an admin section on our website that I’m planning on re-writing in Perl–is …

---

## [What's the most random thing you've learned recently?](https://forum.kirupa.com/t/whats-the-most-random-thing-youve-learned-recently/647485)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 71\
**Last updated:** [July 30, 2022, 3:24pm UTC](https://forum.kirupa.com/t/whats-the-most-random-thing-youve-learned-recently/647485 "2022-07-30T15:24:54Z")

</div>

For me, it is this: Long term storage | NFSA I have no idea how I stumbled onto here, but I now know a lot more about how to store film than I did a few moments ago, which was absolutely nothing. :brain:

---

## [Generating a Range of Cryptographically Strong Random Numbers in JavaScript](https://forum.kirupa.com/t/generating-a-range-of-cryptographically-strong-random-numbers-in-javascript/652867)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 28, 2022, 8:05pm UTC](https://forum.kirupa.com/t/generating-a-range-of-cryptographically-strong-random-numbers-in-javascript/652867 "2022-07-28T20:05:09Z")

</div>

As part of making modifications to the existing Random Numbers article, I added a section on generating a random number in a more cryptographically sound way! The following snippet shows the cryptoRandom function and ho…

---

## [Newton's Method](https://forum.kirupa.com/t/newtons-method/652838)

<div class="topic-metadata">

**Author:** [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Replies:** 7\
**Last updated:** [July 29, 2022, 12:19am UTC](https://forum.kirupa.com/t/newtons-method/652838 "2022-07-29T00:19:54Z")

</div>

@kirupa, I liked your email about calculating π so I came to share the “math heavy computation” I’m forcing my computer do for me. It’s Newton’s method, implemented in R, which is used to find the roots of a function: n…

---

## [\[ASK\] Make APK With Adobe Flash CS 3 (AS 3)](https://forum.kirupa.com/t/ask-make-apk-with-adobe-flash-cs-3-as-3/576419)

<div class="topic-metadata">

**Author:** [@Arpib\_Z\_Zaszi](https://forum.kirupa.com/u/Arpib_Z_Zaszi)\
**Replies:** 3\
**Last updated:** [July 24, 2022, 6:59am UTC](https://forum.kirupa.com/t/ask-make-apk-with-adobe-flash-cs-3-as-3/576419 "2022-07-24T06:59:46Z")

</div>

Hi, i use Adobe Flash CS 3. Can i make APK with Adobe Flash CS 3 (AS 3)? If i can? what i need? Thanks, before. ^^

---

## [Accessing an element in a "for" loop in js](https://forum.kirupa.com/t/accessing-an-element-in-a-for-loop-in-js/652750)

<div class="topic-metadata">

**Author:** [@GribokT\_T](https://forum.kirupa.com/u/GribokT_T)\
**Replies:** 1\
**Last updated:** [July 23, 2022, 9:04pm UTC](https://forum.kirupa.com/t/accessing-an-element-in-a-for-loop-in-js/652750 "2022-07-23T21:04:02Z")

</div>

How to refer to a single element in a “for” loop in js? For example: let count = 0; do { document.writeln('hello '); count++; } while (count \< 7); how to address for example to the 3 element?

---

## [React - todolist - deleting](https://forum.kirupa.com/t/react-todolist-deleting/652700)

<div class="topic-metadata">

**Author:** [@Seaqueue](https://forum.kirupa.com/u/Seaqueue)\
**Replies:** 3\
**Last updated:** [July 21, 2022, 4:55pm UTC](https://forum.kirupa.com/t/react-todolist-deleting/652700 "2022-07-21T16:55:05Z")

</div>

The onClick is listened by the delete function in TodoItems which is referred in TodoList’s with the “delete” prop that initialized with a delete function in TodoList. The actual filtering happens in TodoList, but the e…

---

## [UI/UX Inspiration](https://forum.kirupa.com/t/ui-ux-inspiration/650470)

<div class="topic-metadata">

**Author:** [@VaiFanatic](https://forum.kirupa.com/u/VaiFanatic)\
**Replies:** 15\
**Last updated:** [July 20, 2022, 10:57am UTC](https://forum.kirupa.com/t/ui-ux-inspiration/650470 "2022-07-20T10:57:30Z")

</div>

Where do you guys your UI/UX inspiration from? And what tools do you use to render them before bringing them to life? I used to use photoshop back when HTML/CSS was a lot more simple and not nearly as powerful as it is …

---

## [Text to Speech!](https://forum.kirupa.com/t/text-to-speech/649049)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [September 28, 2021, 5:24am UTC](https://forum.kirupa.com/t/text-to-speech/649049 "2021-09-28T05:24:44Z")

</div>

I always found Verge’s “Listen to this article” intriguing, so I finally gave in and clicked on it. From the looks (and sounds haha) of it, it seems to be entirely auto-generated. I didn’t dig too deeply, but the compute…

---

## [A lot of the hardcore Flash developers have moved](https://forum.kirupa.com/t/a-lot-of-the-hardcore-flash-developers-have-moved/652510)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 2\
**Last updated:** [July 6, 2022, 6:14am UTC](https://forum.kirupa.com/t/a-lot-of-the-hardcore-flash-developers-have-moved/652510 "2022-07-06T06:14:22Z")

</div>

It looks like a lot of things happened when flash went. Many were using flash for creating games and heavy interactions. These people have moved to Unreal engine or unity. I did not know that until I read about it on a g…

---

## [Chapter 19, Math.random I'm confused](https://forum.kirupa.com/t/chapter-19-math-random-im-confused/652661)

<div class="topic-metadata">

**Author:** [@kevin321](https://forum.kirupa.com/u/kevin321)\
**Replies:** 4\
**Last updated:** [July 16, 2022, 6:01pm UTC](https://forum.kirupa.com/t/chapter-19-math-random-im-confused/652661 "2022-07-16T18:01:07Z")

</div>

Hello, I’m half way through the javascript book, it’s great so far but I am stuck at chapter 19 and wondered if anyone can help me. When I look at the following code, I can see how Math.random can possibly generate a du…

---

## [JavaScript and Functions](https://forum.kirupa.com/t/javascript-and-functions/652604)

<div class="topic-metadata">

**Author:** [@EricVK](https://forum.kirupa.com/u/EricVK)\
**Replies:** 3\
**Last updated:** [July 16, 2022, 7:18am UTC](https://forum.kirupa.com/t/javascript-and-functions/652604 "2022-07-16T07:18:09Z")

</div>

Greetings All, I am somewhat new to programming, it’s been 30 years, and I have decided to dive into a bootcamp. We are learning JavaScript and I am writing an expense tracker, like a checkbook ledger. At the moment I …

---

## [Web 3 report : plagued by hacks, scams, and phishing schemes](https://forum.kirupa.com/t/web-3-report-plagued-by-hacks-scams-and-phishing-schemes/652553)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 2\
**Last updated:** [July 12, 2022, 5:54am UTC](https://forum.kirupa.com/t/web-3-report-plagued-by-hacks-scams-and-phishing-schemes/652553 "2022-07-12T05:54:55Z")

</div>

---

## [Fireworks Gone Bad!](https://forum.kirupa.com/t/fireworks-gone-bad/652543)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 1:03pm UTC](https://forum.kirupa.com/t/fireworks-gone-bad/652543 "2022-07-07T13:03:42Z")

</div>

---

## [Class Method Problem](https://forum.kirupa.com/t/class-method-problem/652466)

<div class="topic-metadata">

**Author:** [@Zach\_Lipscomb](https://forum.kirupa.com/u/Zach_Lipscomb)\
**Replies:** 6\
**Last updated:** [July 1, 2022, 6:33am UTC](https://forum.kirupa.com/t/class-method-problem/652466 "2022-07-01T06:33:39Z")

</div>

Hello all - the bootcamp class registerStudent() method is not behaving as i expect. In this method, i am checking if the studentToRegister argument contains both a name and email , if so, i want to push the argument int…

---

## [first webpage with javascript](https://forum.kirupa.com/t/first-webpage-with-javascript/652416)

<div class="topic-metadata">

**Author:** [@Karies](https://forum.kirupa.com/u/Karies)\
**Replies:** 3\
**Last updated:** [June 29, 2022, 4:27am UTC](https://forum.kirupa.com/t/first-webpage-with-javascript/652416 "2022-06-29T04:27:28Z")

</div>

Hi Kirupa! Just wondering why my function doesn’t display “hello world”. Do you know why? Thank u! let buttonElement = document.querySelector("button"); let textElement = document.querySelector('p'); bu…

---

## [book](https://forum.kirupa.com/t/book/652412)

<div class="topic-metadata">

**Author:** [@trydoux](https://forum.kirupa.com/u/trydoux)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 2:01am UTC](https://forum.kirupa.com/t/book/652412 "2022-06-27T02:01:32Z")

</div>

in the first chapter of your book, instead of a dialog box in the browser, a piece of code was written: alert(“Hello world!”)

---

## [JS not.](https://forum.kirupa.com/t/js-not/652232)

<div class="topic-metadata">

**Author:** [@forumf](https://forum.kirupa.com/u/forumf)\
**Replies:** 6\
**Last updated:** [June 25, 2022, 6:15pm UTC](https://forum.kirupa.com/t/js-not/652232 "2022-06-25T18:15:07Z")

</div>

Doesn’t send query to SQL database favicon.ico:1 GET http://wed-dns/favicon.ico 404 (Not Found)

---

## [Why does it work?](https://forum.kirupa.com/t/why-does-it-work/652382)

<div class="topic-metadata">

**Author:** [@slyuqi](https://forum.kirupa.com/u/slyuqi)\
**Replies:** 1\
**Last updated:** [June 24, 2022, 8:07pm UTC](https://forum.kirupa.com/t/why-does-it-work/652382 "2022-06-24T20:07:13Z")

</div>

let myButton = document.querySelector('#myButton'); myButton.addEventListener("click", doSomething, false); function doSomething(e) { alert('is this working?'); } Why the code works even if the “doSomething” functi…

---

## [In Chapter 7 react state this.strikes is undefined](https://forum.kirupa.com/t/in-chapter-7-react-state-this-strikes-is-undefined/652365)

<div class="topic-metadata">

**Author:** [@daniil.ustimencko](https://forum.kirupa.com/u/daniil.ustimencko)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 3:03pm UTC](https://forum.kirupa.com/t/in-chapter-7-react-state-this-strikes-is-undefined/652365 "2022-06-24T15:03:46Z")

</div>

When I run the following code from chapter 7 class LightningCounter extends React.Component { constructor(props) { super(props); this.state = { strikes: 0, }; }…

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

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