# programming

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

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

**Page:** 29

---

## [How to update the lines so that they do not break away from the rectangles after dragging?](https://forum.kirupa.com/t/how-to-update-the-lines-so-that-they-do-not-break-away-from-the-rectangles-after-dragging/655984)

<div class="topic-metadata">

**Author:** [@ivchenko505](https://forum.kirupa.com/u/ivchenko505)\
**Replies:** 4\
**Last updated:** [January 6, 2023, 3:45am UTC](https://forum.kirupa.com/t/how-to-update-the-lines-so-that-they-do-not-break-away-from-the-rectangles-after-dragging/655984 "2023-01-06T03:45:09Z")

</div>

Hi!. I beg you to help me. I’m creating a small chart and it’s not working make the connecting lines between the rectangles so that they stretch after moving the rectangle-nodes. What we have: 3 rectangles created in…

---

## [Eyes that Follow the Mouse](https://forum.kirupa.com/t/eyes-that-follow-the-mouse/655875)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 31, 2022, 2:14am UTC](https://forum.kirupa.com/t/eyes-that-follow-the-mouse/655875 "2022-12-31T02:14:08Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/codingexercises/eyes\_follow\_mouse.htm

---

## [CSS Image Grid Positioning Question](https://forum.kirupa.com/t/css-image-grid-positioning-question/655977)

<div class="topic-metadata">

**Author:** [@akash1](https://forum.kirupa.com/u/akash1)\
**Replies:** 1\
**Last updated:** [January 3, 2023, 5:26pm UTC](https://forum.kirupa.com/t/css-image-grid-positioning-question/655977 "2023-01-03T17:26:46Z")

</div>

when i am refresh the css image grid the total image was changed into another position i search lot of google codepen youtube i cant find the ans please let help me

---

## [How to give each letter a different color - Learning React?](https://forum.kirupa.com/t/how-to-give-each-letter-a-different-color-learning-react/655953)

<div class="topic-metadata">

**Author:** [@Ettenytten](https://forum.kirupa.com/u/Ettenytten)\
**Replies:** 1\
**Last updated:** [January 2, 2023, 9:34pm UTC](https://forum.kirupa.com/t/how-to-give-each-letter-a-different-color-learning-react/655953 "2023-01-02T21:34:02Z")

</div>

Help pls. I wanted to attain that results from the book Learning REACT as a beginner. And I follow all procedure from the book, but I didn’t manage to make the results that will create all the 5 letters to have different…

---

## [Awesome Todolist](https://forum.kirupa.com/t/awesome-todolist/655834)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 30, 2022, 1:13am UTC](https://forum.kirupa.com/t/awesome-todolist/655834 "2022-12-30T01:13:39Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/codingexercises/todolist.htm

---

## [Throttling Chatty Events](https://forum.kirupa.com/t/throttling-chatty-events/655832)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 29, 2022, 9:36pm UTC](https://forum.kirupa.com/t/throttling-chatty-events/655832 "2022-12-29T21:36:13Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/javascript/throttling\_chatty\_events.htm

---

## [Generate a Text / ASCII Pyramid](https://forum.kirupa.com/t/generate-a-text-ascii-pyramid/655830)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 15\
**Last updated:** [December 29, 2022, 8:49pm UTC](https://forum.kirupa.com/t/generate-a-text-ascii-pyramid/655830 "2022-12-29T20:49:49Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/codingexercises/ascii\_pyramid.htm

---

## [How to Make a "Typewriter Carriage"](https://forum.kirupa.com/t/how-to-make-a-typewriter-carriage/655829)

<div class="topic-metadata">

**Author:** [@Mercurio376](https://forum.kirupa.com/u/Mercurio376)\
**Replies:** 2\
**Last updated:** [December 29, 2022, 7:12pm UTC](https://forum.kirupa.com/t/how-to-make-a-typewriter-carriage/655829 "2022-12-29T19:12:48Z")

</div>

Hello friends! I’m just starting to learn JavaScript and I have a question. In C#, when you used Console.WriteLine, your string values were printed to a column. So, how to do something similar in JavaScript and is it po…

---

## [How does props program flow work in react js?](https://forum.kirupa.com/t/how-does-props-program-flow-work-in-react-js/655807)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 1\
**Last updated:** [December 29, 2022, 8:48am UTC](https://forum.kirupa.com/t/how-does-props-program-flow-work-in-react-js/655807 "2022-12-29T08:48:40Z")

</div>

App.js: import React from 'react' import Helloworld from './components/HelloWorld'; import Users from "./components/Users"; const App = () =\> { return ( \<div\> \<h1\>List of Users\</h1\> \<Users name="Zino Emi" job="De…

---

## [Finished learning basics of html and css. Want to do some projects using only html and css](https://forum.kirupa.com/t/finished-learning-basics-of-html-and-css-want-to-do-some-projects-using-only-html-and-css/654968)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 17\
**Last updated:** [December 27, 2022, 12:41am UTC](https://forum.kirupa.com/t/finished-learning-basics-of-html-and-css-want-to-do-some-projects-using-only-html-and-css/654968 "2022-12-27T00:41:33Z")

</div>

Pardon me if this is not allowed here, you can remove this if this is not allowed. I’ve finished learning basics of HTML and CSS indvidually. I.e topic by topic w/o creating a project. If you want to know the topics th…

---

## [JS is blocked on a mobile version](https://forum.kirupa.com/t/js-is-blocked-on-a-mobile-version/654032)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 10\
**Last updated:** [December 26, 2022, 2:58pm UTC](https://forum.kirupa.com/t/js-is-blocked-on-a-mobile-version/654032 "2022-12-26T14:58:33Z")

</div>

Hello, Kirupa members. I need your help :slight\_smile: I’ve copied a part of a site which I’m creating to show you the issue. But, actually, I’ve realised that it works much better than on the main site. Regardless t…

---

## [Having problem with 'function drop(ev)'](https://forum.kirupa.com/t/having-problem-with-function-drop-ev/655710)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 5\
**Last updated:** [December 25, 2022, 4:54pm UTC](https://forum.kirupa.com/t/having-problem-with-function-drop-ev/655710 "2022-12-25T16:54:57Z")

</div>

Hello again… Hmm… I can’t spot the Error(s) , need another set of eyes . Thanks for your Help… Having trouble here: \<td id="r1f2" ondrop="drop(event)" ondragover="allowDrop(event)" style="margin: auto; vertical-align…

---

## [When I try to make image transparent in navbar, navbar disappears, how to resolve this issue?](https://forum.kirupa.com/t/when-i-try-to-make-image-transparent-in-navbar-navbar-disappears-how-to-resolve-this-issue/655698)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 1\
**Last updated:** [December 23, 2022, 1:18pm UTC](https://forum.kirupa.com/t/when-i-try-to-make-image-transparent-in-navbar-navbar-disappears-how-to-resolve-this-issue/655698 "2022-12-23T13:18:09Z")

</div>

This is the website that I am trying to build. Below is what I’ve built so far. I’m using bootstrap. The navbar class is “navbar”. I put this into css: .navbar { opacity: 0.8; } But I’m not getting expected o…

---

## [How do promises program flow work in javascript?](https://forum.kirupa.com/t/how-do-promises-program-flow-work-in-javascript/655596)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 2\
**Last updated:** [December 20, 2022, 3:11am UTC](https://forum.kirupa.com/t/how-do-promises-program-flow-work-in-javascript/655596 "2022-12-20T03:11:18Z")

</div>

Promises syntax that I learnt: let p = new Promise(function (resolve, reject) { let x = 20, y = 20; if (x == y) { resolve(); } else { reject(); } }) p.then(function () { console.log("that's correct…

---

## [return (a % 2 == 0) in a filtering functions means?](https://forum.kirupa.com/t/return-a-2-0-in-a-filtering-functions-means/655563)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 5\
**Last updated:** [December 18, 2022, 10:46am UTC](https://forum.kirupa.com/t/return-a-2-0-in-a-filtering-functions-means/655563 "2022-12-18T10:46:16Z")

</div>

I’m doing this tutorial by kirupa: let numbers = \[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12\]; even\_numbers = numbers.filter(fxn); function fxn(a) { return (a % 2 == 0); } console.log(even\_numbers); In th…

---

## [Localstorage not getting cleared by window.localStorage.clear() JavaScript?](https://forum.kirupa.com/t/localstorage-not-getting-cleared-by-window-localstorage-clear-javascript/655543)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 5\
**Last updated:** [December 17, 2022, 2:08pm UTC](https://forum.kirupa.com/t/localstorage-not-getting-cleared-by-window-localstorage-clear-javascript/655543 "2022-12-17T14:08:02Z")

</div>

Initial code is here: It’s the project that I’m trying to understand. It’s the javascript that I’m concerned. I tweaked the Javascript code to this: var count = 0; function increaseCounter() { count += 1; window.…

---

## [What strings does this regex matches ? (a|b)\*](https://forum.kirupa.com/t/what-strings-does-this-regex-matches-a-b/655472)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 5\
**Last updated:** [December 14, 2022, 12:11pm UTC](https://forum.kirupa.com/t/what-strings-does-this-regex-matches-a-b/655472 "2022-12-14T12:11:45Z")

</div>

regepxal is showing infinite matches and shows “baaaaaaa” as a match. Doesn’t (a|b) means a or b? means match 0 or more times. So, it should be matching aa,aaa,bb,bbb, , etc? I’m not getting how baaaa is a match. Can …

---

## [Sanjay Pasari: Guess the number game](https://forum.kirupa.com/t/sanjay-pasari-guess-the-number-game/655296)

<div class="topic-metadata">

**Author:** [@sanjaypasari](https://forum.kirupa.com/u/sanjaypasari)\
**Replies:** 3\
**Last updated:** [December 11, 2022, 4:32pm UTC](https://forum.kirupa.com/t/sanjay-pasari-guess-the-number-game/655296 "2022-12-11T16:32:56Z")

</div>

Hello People, I am Sanjay Pasari from India. Check out this number game, its amazing.

---

## [I'm getting a simplified version of emojis](https://forum.kirupa.com/t/im-getting-a-simplified-version-of-emojis/653682)

<div class="topic-metadata">

**Author:** [@Aaron\_H](https://forum.kirupa.com/u/Aaron_H)\
**Replies:** 7\
**Last updated:** [December 9, 2022, 3:49am UTC](https://forum.kirupa.com/t/im-getting-a-simplified-version-of-emojis/653682 "2022-12-09T03:49:42Z")

</div>

My emojis are rendering flat when pasted into my code editor. Meaning that they lack gradients. I attached a screenshot. If I insert them through CSS they look fine. Thanks for the help! Below is the correct heart(CSS…

---

## [Need help with switching image files for a Flappy Bird type game](https://forum.kirupa.com/t/need-help-with-switching-image-files-for-a-flappy-bird-type-game/655133)

<div class="topic-metadata">

**Author:** [@AmiiboAmigos](https://forum.kirupa.com/u/AmiiboAmigos)\
**Replies:** 19\
**Last updated:** [December 7, 2022, 2:39am UTC](https://forum.kirupa.com/t/need-help-with-switching-image-files-for-a-flappy-bird-type-game/655133 "2022-12-07T02:39:06Z")

</div>

Hey peeps! Im working on this college project and I’m having trouble trying to switch between two different image files for a game. It’s supposed to switch between a Rocket (with flames) when clicking the accelerate bu…

---

## [Desiging an eCommerce Site](https://forum.kirupa.com/t/desiging-an-ecommerce-site/64131)

<div class="topic-metadata">

**Author:** [@SeiferTim](https://forum.kirupa.com/u/SeiferTim)\
**Replies:** 1\
**Last updated:** [September 13, 2004, 9:49pm UTC](https://forum.kirupa.com/t/desiging-an-ecommerce-site/64131 "2004-09-13T21:49:25Z")

</div>

I wasn't sure if this was the best place to put this, but we'll see if any Mods move it \[wink\] This is more of an insight-seeking question, as opposed to a "give me the right answer" question. I want to start buil…

---

## [Best course on bootstrap to learn bootstrap for someone who requires more mentoring?](https://forum.kirupa.com/t/best-course-on-bootstrap-to-learn-bootstrap-for-someone-who-requires-more-mentoring/655009)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 10\
**Last updated:** [December 3, 2022, 5:58pm UTC](https://forum.kirupa.com/t/best-course-on-bootstrap-to-learn-bootstrap-for-someone-who-requires-more-mentoring/655009 "2022-12-03T17:58:30Z")

</div>

I’m struggling with frontend. Although my basics of html,css are clear, I’m having trouble in building websites and I’m just putting baby steps towards it(made my first simple html css site today). Thus a guidance from a…

---

## [Local operation is trying to communicate with this Internet-enabled location](https://forum.kirupa.com/t/local-operation-is-trying-to-communicate-with-this-internet-enabled-location/316682)

<div class="topic-metadata">

**Author:** [@Paerin](https://forum.kirupa.com/u/Paerin)\
**Replies:** 5\
**Last updated:** [December 1, 2022, 12:24pm UTC](https://forum.kirupa.com/t/local-operation-is-trying-to-communicate-with-this-internet-enabled-location/316682 "2022-12-01T12:24:59Z")

</div>

Hi, I'm very new to flash, only just started learning how to do a banner adv with links just 30 min ago. I am almost there, exported the movie and clicked on the image but got this message instead. Macromedia Fl…

---

## [Stuck on getters setters](https://forum.kirupa.com/t/stuck-on-getters-setters/654142)

<div class="topic-metadata">

**Author:** [@Groundhog](https://forum.kirupa.com/u/Groundhog)\
**Replies:** 6\
**Last updated:** [October 20, 2022, 4:31pm UTC](https://forum.kirupa.com/t/stuck-on-getters-setters/654142 "2022-10-20T16:31:31Z")

</div>

I took a piece of Absolute Beginner’s Guide, chapter 17 on getters/setters and tried to run it. What-the-hey? unexpected token ‘set’ .

---

## [I simplified @Kirupa's webcam access in browser code by about 20%](https://forum.kirupa.com/t/i-simplified-kirupas-webcam-access-in-browser-code-by-about-20/655016)

<div class="topic-metadata">

**Author:** [@yakun-hu](https://forum.kirupa.com/u/yakun-hu)\
**Replies:** 2\
**Last updated:** [November 28, 2022, 5:53am UTC](https://forum.kirupa.com/t/i-simplified-kirupas-webcam-access-in-browser-code-by-about-20/655016 "2022-11-28T05:53:45Z")

</div>

\<p\>\<video autoplay="true" id="videoElement"\>\</video\>\</p\> \<button type="button" id="start" onclick="cam\_on()"\>Cam-on\</button\> \<script\> var video = document.querySelector("#videoElement"); function cam\_on() { stream = navi…

---

## [What is this doing animation doing?](https://forum.kirupa.com/t/what-is-this-doing-animation-doing/654732)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 1\
**Last updated:** [November 23, 2022, 12:09pm UTC](https://forum.kirupa.com/t/what-is-this-doing-animation-doing/654732 "2022-11-23T12:09:20Z")

</div>

@keyframes moving { 0% { transform: translateX(500px); } 50% { transform: translateX(1000px); } 100% { transform: translate(1000px, 500px); } } I understand from and to type animations. But I don…

---

## [Whether website speed important for business website?](https://forum.kirupa.com/t/whether-website-speed-important-for-business-website/637265)

<div class="topic-metadata">

**Author:** [@Rajeshwari](https://forum.kirupa.com/u/Rajeshwari)\
**Replies:** 2\
**Last updated:** [November 4, 2022, 1:39pm UTC](https://forum.kirupa.com/t/whether-website-speed-important-for-business-website/637265 "2022-11-04T13:39:03Z")

</div>

Hi, Nowadays every business handled website to reach customers and sell their product easily. Here my question is normally website speed is one of the feature for every business, whether It’s important for any website. H…

---

## [Why your website should work without JavaScript](https://forum.kirupa.com/t/why-your-website-should-work-without-javascript/653433)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 3\
**Last updated:** [November 19, 2022, 6:08am UTC](https://forum.kirupa.com/t/why-your-website-should-work-without-javascript/653433 "2022-11-19T06:08:44Z")

</div>

https://endtimes.dev/why-your-website-should-work-without-javascript/

---

## [Changing Android API 33 to work on Windows](https://forum.kirupa.com/t/changing-android-api-33-to-work-on-windows/654848)

<div class="topic-metadata">

**Author:** [@ahmed-babay](https://forum.kirupa.com/u/ahmed-babay)\
**Replies:** 0\
**Last updated:** [November 20, 2022, 10:06am UTC](https://forum.kirupa.com/t/changing-android-api-33-to-work-on-windows/654848 "2022-11-20T10:06:35Z")

</div>

Hello, for my project. I must look at every package in the android API 33 project and try to find out which are the packages that must be changed to make my app work on Windows for example instead of Android. Can you guy…

---

## [Hover effect is not working correctly](https://forum.kirupa.com/t/hover-effect-is-not-working-correctly/654033)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 1\
**Last updated:** [November 15, 2022, 11:35am UTC](https://forum.kirupa.com/t/hover-effect-is-not-working-correctly/654033 "2022-11-15T11:35:19Z")

</div>

Re-hello, Kirupa members :slight\_smile: Could you, please, take a look at this page If you hover over the images, you will notice that the hover effect works perfectly on “properties” images, and it has very strange b…

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

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