# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=30

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

**Page:** 31

---

## [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…

---

## [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…

---

## [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 …

---

## [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 …

---

## [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…

---

## [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…

---

## [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>

---

## [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…

---

## [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, }; }…

---

## [Web 3 auth web apps](https://forum.kirupa.com/t/web-3-auth-web-apps/652284)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 4\
**Last updated:** [June 24, 2022, 5:13am UTC](https://forum.kirupa.com/t/web-3-auth-web-apps/652284 "2022-06-24T05:13:37Z")

</div>

I want to bring forward a discussion on how to use ETH to create applications. How would for example a user login to a service? Is it like a special login for ETH apps? I found out that MetaMask provides a possible login…

---

## [PWA offline music](https://forum.kirupa.com/t/pwa-offline-music/652272)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 5\
**Last updated:** [June 20, 2022, 4:30am UTC](https://forum.kirupa.com/t/pwa-offline-music/652272 "2022-06-20T04:30:11Z")

</div>

Hi, I cańt seem to find a way to create a simple music player with offline features. LocalStorage is meant for strings. The size is also limited. Perhaps LocalForage?

---

## [How to add same script on multiple elements with same classes](https://forum.kirupa.com/t/how-to-add-same-script-on-multiple-elements-with-same-classes/651987)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 4\
**Last updated:** [June 15, 2022, 2:21am UTC](https://forum.kirupa.com/t/how-to-add-same-script-on-multiple-elements-with-same-classes/651987 "2022-06-15T02:21:06Z")

</div>

Hi, Kirupa members. I need your help. :slightly\_smiling\_face: Desperately tried many times and different combinations. Nothing works. I need to display the modal, when user click on “Inquire” and on the “Let’s talk” bu…

---

## [Handling events for many elements tutorial: is this always the best approach?](https://forum.kirupa.com/t/handling-events-for-many-elements-tutorial-is-this-always-the-best-approach/652188)

<div class="topic-metadata">

**Author:** [@Daave](https://forum.kirupa.com/u/Daave)\
**Replies:** 4\
**Last updated:** [June 11, 2022, 3:43pm UTC](https://forum.kirupa.com/t/handling-events-for-many-elements-tutorial-is-this-always-the-best-approach/652188 "2022-06-11T15:43:16Z")

</div>

I would like to share my thoughts (and very little experience), as a junior web developer, on Kirupa’s very interesting tutorial “Handling events for many elements”. I tried using it in a project I am currently working o…

---

## [Creating Many Draggable Elements in JavaScript](https://forum.kirupa.com/t/creating-many-draggable-elements-in-javascript/652156)

<div class="topic-metadata">

**Author:** [@Diego\_Ortiz](https://forum.kirupa.com/u/Diego_Ortiz)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 3:47am UTC](https://forum.kirupa.com/t/creating-many-draggable-elements-in-javascript/652156 "2022-06-09T03:47:49Z")

</div>

Hi everybody! I want to have multiple divs on my website to be draggable and movable across the website (or at least in the container which it’s found). I used this javascript to be able to move one but how do i change i…

---

## [Selecting DOM Elements](https://forum.kirupa.com/t/selecting-dom-elements/651806)

<div class="topic-metadata">

**Author:** [@Zach\_Lipscomb](https://forum.kirupa.com/u/Zach_Lipscomb)\
**Replies:** 26\
**Last updated:** [June 6, 2022, 11:18pm UTC](https://forum.kirupa.com/t/selecting-dom-elements/651806 "2022-06-06T23:18:58Z")

</div>

Hello, I’m having trouble solving the problem of selecting a particular dom element and looping through which ever element is clicked with events because said element(s) do not initially exist. I have a button the adds …

---

## [Handling Events for Multiple Elements](https://forum.kirupa.com/t/handling-events-for-multiple-elements/651893)

<div class="topic-metadata">

**Author:** [@david78737](https://forum.kirupa.com/u/david78737)\
**Replies:** 15\
**Last updated:** [June 4, 2022, 6:08pm UTC](https://forum.kirupa.com/t/handling-events-for-multiple-elements/651893 "2022-06-04T18:08:37Z")

</div>

Okay we have a very useful video on this. Thank you. I want to use this video as a foundational form for a “like” / “unlike” button icon. This would allow a user client to create a list of favorited items to look at i…

---

## [I'm trying to find a WordPress theme Quato V1.0](https://forum.kirupa.com/t/im-trying-to-find-a-wordpress-theme-quato-v1-0/651580)

<div class="topic-metadata">

**Author:** [@bentcogboape1989](https://forum.kirupa.com/u/bentcogboape1989)\
**Replies:** 2\
**Last updated:** [June 3, 2022, 10:53am UTC](https://forum.kirupa.com/t/im-trying-to-find-a-wordpress-theme-quato-v1-0/651580 "2022-06-03T10:53:31Z")

</div>

Any one can tell me any website where I can download Quato V1.0 null wordpress theme. Please help me, thank you

---

## [I'd like to incorporate my current code into a new interface](https://forum.kirupa.com/t/id-like-to-incorporate-my-current-code-into-a-new-interface/651986)

<div class="topic-metadata">

**Author:** [@bpitt](https://forum.kirupa.com/u/bpitt)\
**Replies:** 10\
**Last updated:** [May 29, 2022, 2:20am UTC](https://forum.kirupa.com/t/id-like-to-incorporate-my-current-code-into-a-new-interface/651986 "2022-05-29T02:20:42Z")

</div>

Hi I’m very brand new to JS, and I would love some help with this! Found you very helpful on Youtube, but still need lots of guidance. Basically, I build this page that loads different images/videos by NASA depending on…

---

## [SVG hover effect multiple paths](https://forum.kirupa.com/t/svg-hover-effect-multiple-paths/651889)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 2\
**Last updated:** [May 26, 2022, 1:01am UTC](https://forum.kirupa.com/t/svg-hover-effect-multiple-paths/651889 "2022-05-26T01:01:20Z")

</div>

Hi. I’m trying to add a hover effect on SVG icon, it does work perfectly on the icons with the unique path, I can easily change the fill color of the icon and the fill color on hover. Exemple: \<svg style="display:none;…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=29)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=31)
