# programming

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

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

**Page:** 26

---

## [99 Bottles of Beer on the Wall : Frontend Coding Exercises](https://forum.kirupa.com/t/99-bottles-of-beer-on-the-wall-frontend-coding-exercises/653715)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 26\
**Last updated:** [December 16, 2023, 6:29pm UTC](https://forum.kirupa.com/t/99-bottles-of-beer-on-the-wall-frontend-coding-exercises/653715 "2023-12-16T18:29:08Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/codingexercises/99bottles\_beer\_wall.htm

---

## [Bug in Insertion Sort Code](https://forum.kirupa.com/t/bug-in-insertion-sort-code/663699)

<div class="topic-metadata">

**Author:** [@transbot](https://forum.kirupa.com/u/transbot)\
**Replies:** 1\
**Last updated:** [December 16, 2023, 3:17am UTC](https://forum.kirupa.com/t/bug-in-insertion-sort-code/663699 "2023-12-16T03:17:09Z")

</div>

found a bug in the implementation of the insertion sort algorithm in Chapter 23. The issue arises in the following code snippet: function insertionSort(input) { // Variable to store the current element being compared …

---

## [Stack implementation missing length property! (found 2nd bug in Absolute Beginner’s Guide to Algorithms)](https://forum.kirupa.com/t/stack-implementation-missing-length-property-found-2nd-bug-in-absolute-beginner-s-guide-to-algorithms/663667)

<div class="topic-metadata">

**Author:** [@transbot](https://forum.kirupa.com/u/transbot)\
**Replies:** 1\
**Last updated:** [December 15, 2023, 4:01am UTC](https://forum.kirupa.com/t/stack-implementation-missing-length-property-found-2nd-bug-in-absolute-beginner-s-guide-to-algorithms/663667 "2023-12-15T04:01:23Z")

</div>

Dear author, I hope this message finds you well. I am writing to bring to your attention a potential issue with the Stack implementation provided in your Chapter 19 DFS example (stack\_v1.js). It appears that the Stack …

---

## [found a bug in Absolute Beginner’s Guide to Algorithms](https://forum.kirupa.com/t/found-a-bug-in-absolute-beginner-s-guide-to-algorithms/663637)

<div class="topic-metadata">

**Author:** [@transbot](https://forum.kirupa.com/u/transbot)\
**Replies:** 1\
**Last updated:** [December 15, 2023, 3:57am UTC](https://forum.kirupa.com/t/found-a-bug-in-absolute-beginner-s-guide-to-algorithms/663637 "2023-12-15T03:57:17Z")

</div>

I found a bug in your code in your book. The following code: // Recursive Approach function binarySearch(arr, val, start = 0, end = arr. { const middleIndex = Math.floor((start + end) / 2); if (val === arr\[middleInd…

---

## [Using the linear() timing function (with fallback for Safari/iOS)](https://forum.kirupa.com/t/using-the-linear-timing-function-with-fallback-for-safari-ios/661242)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 1:19am UTC](https://forum.kirupa.com/t/using-the-linear-timing-function-with-fallback-for-safari-ios/661242 "2023-09-18T01:19:04Z")

</div>

Hi everyone! This is a companion post to my latest newsletter article where I explain how to use the linear() timing function with a fallback for browsers like Safari that don’t support it yet. Live example: The ful…

---

## [ActionScript is on the rise!](https://forum.kirupa.com/t/actionscript-is-on-the-rise/638570)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 15\
**Last updated:** [December 13, 2023, 5:50am UTC](https://forum.kirupa.com/t/actionscript-is-on-the-rise/638570 "2023-12-13T05:50:57Z")

</div>

---

## [About the Snow Script](https://forum.kirupa.com/t/about-the-snow-script/663564)

<div class="topic-metadata">

**Author:** [@Izawebmaster](https://forum.kirupa.com/u/Izawebmaster)\
**Replies:** 6\
**Last updated:** [December 10, 2023, 5:48am UTC](https://forum.kirupa.com/t/about-the-snow-script/663564 "2023-12-10T05:48:29Z")

</div>

The snow script works nice on my page but when I go to another tab in chrome and later come back to the tab of my page the script acts strange, lesser en slower flakes

---

## [Is learning DSA a humanly task? How can I learn it?](https://forum.kirupa.com/t/is-learning-dsa-a-humanly-task-how-can-i-learn-it/663568)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 2\
**Last updated:** [December 10, 2023, 7:29am UTC](https://forum.kirupa.com/t/is-learning-dsa-a-humanly-task-how-can-i-learn-it/663568 "2023-12-10T07:29:04Z")

</div>

I feel so challenged to solve the algorithm problems. So far, I am only on time complexity analysis, and god, the amount of logic here it goes, it’s mind blowing. How do I learn all of it to be able to solve all the GAT…

---

## [Position sticky not working on windows](https://forum.kirupa.com/t/position-sticky-not-working-on-windows/661894)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 4\
**Last updated:** [October 25, 2023, 9:40pm UTC](https://forum.kirupa.com/t/position-sticky-not-working-on-windows/661894 "2023-10-25T21:40:23Z")

</div>

I have got a “position: sticky” element. It works on MacOS (tested on my machine in Chrome, Safari and Arc). However; I noticed it does not stick on the client’s machine. So I booted up LambdaTest and tried it with Chr…

---

## [Web 3.0](https://forum.kirupa.com/t/web-3-0/649964)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 11:28pm UTC](https://forum.kirupa.com/t/web-3-0/649964 "2021-12-10T23:28:34Z")

</div>

What are your thoughts on web 3 and what type of web 3 applications you can envision?

---

## [I need a mood for programming, is this normal?](https://forum.kirupa.com/t/i-need-a-mood-for-programming-is-this-normal/659897)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 1\
**Last updated:** [July 9, 2023, 11:21pm UTC](https://forum.kirupa.com/t/i-need-a-mood-for-programming-is-this-normal/659897 "2023-07-09T23:21:58Z")

</div>

Whenever I have to solve problems, I need a mood. I can’t solve problems when I see them, I need to have a mood to solve them. Is this normal. The mood comes once a week or so. It comes when my mind is stress free and I’…

---

## [Sum Up an Array of Numbers : Frontend Coding Exercise](https://forum.kirupa.com/t/sum-up-an-array-of-numbers-frontend-coding-exercise/653697)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 21\
**Last updated:** [November 26, 2023, 3:56am UTC](https://forum.kirupa.com/t/sum-up-an-array-of-numbers-frontend-coding-exercise/653697 "2023-11-26T03:56:10Z")

</div>

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

---

## [Temperature Converter Page (unable to see result after onclick)](https://forum.kirupa.com/t/temperature-converter-page-unable-to-see-result-after-onclick/662683)

<div class="topic-metadata">

**Author:** [@Anand\_Singh1](https://forum.kirupa.com/u/Anand_Singh1)\
**Replies:** 1\
**Last updated:** [November 1, 2023, 2:00am UTC](https://forum.kirupa.com/t/temperature-converter-page-unable-to-see-result-after-onclick/662683 "2023-11-01T02:00:27Z")

</div>

index.html Temperature Converter Temperature Converter Enter a country and temperature: Convert styles.css body { font-family: Arial, sans-serif; text-align: ce…

---

## [CSS Minifier](https://forum.kirupa.com/t/css-minifier/662856)

<div class="topic-metadata">

**Author:** [@urwatools](https://forum.kirupa.com/u/urwatools)\
**Replies:** 1\
**Last updated:** [November 8, 2023, 3:33pm UTC](https://forum.kirupa.com/t/css-minifier/662856 "2023-11-08T15:33:37Z")

</div>

CSS minifier is a software tool that decreases Cascading Style Sheets (CSS) file size by removing unnecessary characters, such as whitespace, comments, and redundant code. This is done without affecting CSS functionality…

---

## [Chapter 17 Getters and Setters - Logging Activity & Property Value Validation](https://forum.kirupa.com/t/chapter-17-getters-and-setters-logging-activity-property-value-validation/662054)

<div class="topic-metadata">

**Author:** [@Anand\_Singh1](https://forum.kirupa.com/u/Anand_Singh1)\
**Replies:** 1\
**Last updated:** [October 4, 2023, 6:04pm UTC](https://forum.kirupa.com/t/chapter-17-getters-and-setters-logging-activity-property-value-validation/662054 "2023-10-04T18:04:53Z")

</div>

Hello Kirupa, How are you doing? I didn’t get it the explanation of the following code. Please, can you shed some more light into this. Logging Activity: ‘use strict’; var superSecureTerminal = { allUserNames: \[\], …

---

## [Can I send data to a Node+Express backend without a true Database?](https://forum.kirupa.com/t/can-i-send-data-to-a-node-express-backend-without-a-true-database/661742)

<div class="topic-metadata">

**Author:** [@kdub1312](https://forum.kirupa.com/u/kdub1312)\
**Replies:** 5\
**Last updated:** [September 21, 2023, 1:17pm UTC](https://forum.kirupa.com/t/can-i-send-data-to-a-node-express-backend-without-a-true-database/661742 "2023-09-21T13:17:37Z")

</div>

Hello, I am building a small bedtime checklist app (to encourage my kids to just please, get ready for bed :smile: ) and I’ve reached a point that I need to send data to the backend so my Express script can determine wh…

---

## [How do I learn programming?](https://forum.kirupa.com/t/how-do-i-learn-programming/658269)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 5\
**Last updated:** [May 25, 2023, 8:49pm UTC](https://forum.kirupa.com/t/how-do-i-learn-programming/658269 "2023-05-25T20:49:04Z")

</div>

For eg: Currently I am trying to learn bash shell scripting, text processing using bash etc. But the problem is I don’t think I can learn it. Why? Because I don’t know programming. In particular, problem solving. I don’t…

---

## [Creating a Function that Returns Data](https://forum.kirupa.com/t/creating-a-function-that-returns-data/661548)

<div class="topic-metadata">

**Author:** [@Anand\_Singh1](https://forum.kirupa.com/u/Anand_Singh1)\
**Replies:** 3\
**Last updated:** [September 13, 2023, 6:28pm UTC](https://forum.kirupa.com/t/creating-a-function-that-returns-data/661548 "2023-09-13T18:28:09Z")

</div>

Hello Kirupa, I am referring your book on Absolute Beginner’s Guide to JavaScript Chapter 3 - Functions I’m doing exactly the same as per instructions given in the book but I am not getting any result when I go live o…

---

## [Canvas - Best Way to Create Dynamic Graphics?](https://forum.kirupa.com/t/canvas-best-way-to-create-dynamic-graphics/661514)

<div class="topic-metadata">

**Author:** [@GeorgeLangley](https://forum.kirupa.com/u/GeorgeLangley)\
**Replies:** 4\
**Last updated:** [September 12, 2023, 1:26am UTC](https://forum.kirupa.com/t/canvas-best-way-to-create-dynamic-graphics/661514 "2023-09-12T01:26:04Z")

</div>

Hi all. Building a tool where the user can specify a width and height for a rectangle, then choose from a pre-set selection of square sizes to fill in that rectangle (adjusting rectangle to fit as needed). User can also …

---

## [Please Help About web design](https://forum.kirupa.com/t/please-help-about-web-design/649853)

<div class="topic-metadata">

**Author:** [@Infamaria101](https://forum.kirupa.com/u/Infamaria101)\
**Replies:** 16\
**Last updated:** [September 11, 2023, 1:28pm UTC](https://forum.kirupa.com/t/please-help-about-web-design/649853 "2023-09-11T13:28:20Z")

</div>

Hi, can some share with me a basic tutorial of web design/web development, I just want to learn.

---

## [Outwardly Emanating Circles](https://forum.kirupa.com/t/outwardly-emanating-circles/661455)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 6, 2023, 3:17am UTC](https://forum.kirupa.com/t/outwardly-emanating-circles/661455 "2023-09-06T03:17:57Z")

</div>

Hi everybody! Another animation I had been fiddling with is the following: The full code is: \<!DOCTYPE html\> \<html lang="en"\> \<head\> \<meta charset="UTF-8"\> \<meta name="viewport" content="width=device-width, …

---

## [where can I get the code for GO TO TOP button ?](https://forum.kirupa.com/t/where-can-i-get-the-code-for-go-to-top-button/661448)

<div class="topic-metadata">

**Author:** [@shivamgarg](https://forum.kirupa.com/u/shivamgarg)\
**Replies:** 3\
**Last updated:** [September 6, 2023, 2:42am UTC](https://forum.kirupa.com/t/where-can-i-get-the-code-for-go-to-top-button/661448 "2023-09-06T02:42:50Z")

</div>

Hey , guys I have recently started developing website as I am beginner I am facing little problem in coding . let me explain you properly , I am designing one e-commerce site and I want to put " go to top " button on my…

---

## [Need help coding enemies to new web game in HTML/JavaScript](https://forum.kirupa.com/t/need-help-coding-enemies-to-new-web-game-in-html-javascript/656724)

<div class="topic-metadata">

**Author:** [@AmiiboAmigos](https://forum.kirupa.com/u/AmiiboAmigos)\
**Replies:** 12\
**Last updated:** [August 29, 2023, 6:23pm UTC](https://forum.kirupa.com/t/need-help-coding-enemies-to-new-web-game-in-html-javascript/656724 "2023-08-29T18:23:48Z")

</div>

Starting my next project and already can’t figure out how to translate this: Join AnaeliRivera's "EnemyTest" - Replit and add into Join AnaeliRivera's "Game" - Replit. Whenever I do so, the whole game canvas disappears.…

---

## [Keyword Searching](https://forum.kirupa.com/t/keyword-searching/660900)

<div class="topic-metadata">

**Author:** [@pmkisanlist](https://forum.kirupa.com/u/pmkisanlist)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 12:46pm UTC](https://forum.kirupa.com/t/keyword-searching/660900 "2023-08-14T12:46:15Z")

</div>

Hi Everyone! So I’m studying Javascript w/ the Javascript - Absolute beginner’s guide book from Kirupa, and I got stuck on the “Return Keyword” (page 35 on the 3rd edition). So my code looks like this: function getDis…

---

## [Web services test](https://forum.kirupa.com/t/web-services-test/90643)

<div class="topic-metadata">

**Author:** [@clinch](https://forum.kirupa.com/u/clinch)\
**Replies:** 0\
**Last updated:** [May 19, 2005, 2:39pm UTC](https://forum.kirupa.com/t/web-services-test/90643 "2005-05-19T14:39:37Z")

</div>

Hey all. I'm trying to build an application which will consume Web Services which were created in PHP5. I'm finding that there is no easy way to test and make sure everything is working properly. Does anyone know of a …

---

## [Simple Stack Implementation in JavaScript](https://forum.kirupa.com/t/simple-stack-implementation-in-javascript/637069)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 3\
**Last updated:** [July 24, 2023, 10:37am UTC](https://forum.kirupa.com/t/simple-stack-implementation-in-javascript/637069 "2023-07-24T10:37:43Z")

</div>

I was looking through some C# docs, and I realized that there isn't a Stack implementation in JavaScript. While a stack can mostly be implemented using arrays, it still seems nice to have an actual Stack object. Here is …

---

## [Webpack and ReactJS](https://forum.kirupa.com/t/webpack-and-reactjs/640122)

<div class="topic-metadata">

**Author:** [@nazanin](https://forum.kirupa.com/u/nazanin)\
**Replies:** 3\
**Last updated:** [August 6, 2019, 5:31am UTC](https://forum.kirupa.com/t/webpack-and-reactjs/640122 "2019-08-06T05:31:04Z")

</div>

Hi guys, I have a project which I created by npm create-react-app, I setup the modules I need, it works totally fine. But now, I have to add Web Pack to the project. I read lots of tutorials, adding babel, web pack an…

---

## [Custom Combo box](https://forum.kirupa.com/t/custom-combo-box/193078)

<div class="topic-metadata">

**Author:** [@thilsen](https://forum.kirupa.com/u/thilsen)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 7:21am UTC](https://forum.kirupa.com/t/custom-combo-box/193078 "2006-07-04T07:21:25Z")

</div>

Hi Guys, Could u pls share to me, if any one of you develope the custom combo box with scrolling Thanks n advance.. thil

---

## [Getters and Setters](https://forum.kirupa.com/t/getters-and-setters/640148)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 8\
**Last updated:** [July 5, 2023, 2:00pm UTC](https://forum.kirupa.com/t/getters-and-setters/640148 "2023-07-05T14:00:08Z")

</div>

The properties we have been working with so far are known as data properties. These are the properties where we give them a name and assign a value to them: This is a companion discussion topic for the original entry a…

---

## [PYTHON script](https://forum.kirupa.com/t/python-script/659770)

<div class="topic-metadata">

**Author:** [@payback](https://forum.kirupa.com/u/payback)\
**Replies:** 2\
**Last updated:** [July 4, 2023, 3:45pm UTC](https://forum.kirupa.com/t/python-script/659770 "2023-07-04T15:45:01Z")

</div>

Hello Gentlemen, I am testing the GTTS function IN PYTHON , CGI ENVIRONMENT , with the aim of implementing it in browsers that do not support text-to-speech. I can turn text to speech in MICROSOFT EDGE AND GOOGLE CHRO…

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

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