# programming

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

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

**Page:** 27

---

## [Unsplash Random Image](https://forum.kirupa.com/t/unsplash-random-image/659712)

<div class="topic-metadata">

**Author:** [@toucandesign](https://forum.kirupa.com/u/toucandesign)\
**Replies:** 5\
**Last updated:** [July 1, 2023, 8:10am UTC](https://forum.kirupa.com/t/unsplash-random-image/659712 "2023-07-01T08:10:14Z")

</div>

Good afternoon, I enjoyed your video on Unsplash Random Image but using Codepen.io I get no image to load. I’ve been over this many times, including copying solutions from other posts like 653866. Can you please give me…

---

## [Change a "class" element with js?](https://forum.kirupa.com/t/change-a-class-element-with-js/659606)

<div class="topic-metadata">

**Author:** [@neandr](https://forum.kirupa.com/u/neandr)\
**Replies:** 3\
**Last updated:** [June 30, 2023, 1:29pm UTC](https://forum.kirupa.com/t/change-a-class-element-with-js/659606 "2023-06-30T13:29:18Z")

</div>

When using HTML \<input id="\_Slider" class="slider" type="range" an icon can be used for the slider button with “background: url (icon.png|.jpg|…)”. This is best done with a class definition. Since the icon should be cha…

---

## [explain break vs continue statement like I'm 5](https://forum.kirupa.com/t/explain-break-vs-continue-statement-like-im-5/659557)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 5:47am UTC](https://forum.kirupa.com/t/explain-break-vs-continue-statement-like-im-5/659557 "2023-06-23T05:47:15Z")

</div>

This is what I understand. break totally exits the loop, no next iteration. continue cancels anything below “continue” and goes to next iteration. This confuses the hell out of me. Can you guide me in an easy way?

---

## [New changes to the React Lifecycle events](https://forum.kirupa.com/t/new-changes-to-the-react-lifecycle-events/637988)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 7\
**Last updated:** [May 30, 2023, 3:10pm UTC](https://forum.kirupa.com/t/new-changes-to-the-react-lifecycle-events/637988 "2023-05-30T15:10:16Z")

</div>

I’m finding the fact that getDerivedStateFromProps is static to be very bothersome to me.

---

## [How to make ASCII Art for Nepali Characters?](https://forum.kirupa.com/t/how-to-make-ascii-art-for-nepali-characters/659312)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 5\
**Last updated:** [June 14, 2023, 1:47pm UTC](https://forum.kirupa.com/t/how-to-make-ascii-art-for-nepali-characters/659312 "2023-06-14T13:47:28Z")

</div>

This is an example of Nepali sentence. Nepali is based on Devanagari Script. यो फोरम मलाई एकदम मन पर्छ| These are the vowels and consonants in Nepali. A Nepali consonant can take these many forms. “Ka” is first lett…

---

## [How to count the number of rows of a table used in the query?](https://forum.kirupa.com/t/how-to-count-the-number-of-rows-of-a-table-used-in-the-query/659281)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 3:39pm UTC](https://forum.kirupa.com/t/how-to-count-the-number-of-rows-of-a-table-used-in-the-query/659281 "2023-06-12T15:39:55Z")

</div>

I’ve this database. I want to find fourth lowest salary. SELECT \* FROM employees ORDER BY salary DESC LIMIT 1 OFFSET (Number\_of\_rows\_of\_table-3); I can solve this by using order by ASC pretty easily with LI…

---

## [What after finishing a C++ course?](https://forum.kirupa.com/t/what-after-finishing-a-c-course/659205)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 8\
**Last updated:** [June 12, 2023, 6:13am UTC](https://forum.kirupa.com/t/what-after-finishing-a-c-course/659205 "2023-06-12T06:13:40Z")

</div>

I’ve finished a 50hr course on C++ and my basics are somewhat clear although I’m not confident of it. So, I am looking to improve my C++. My ultimate aim is to study data structures and algorithms in C++. Book 1: ht…

---

## [Print a C pattern using loop in C++(any language)?](https://forum.kirupa.com/t/print-a-c-pattern-using-loop-in-c-any-language/659254)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 9\
**Last updated:** [June 12, 2023, 12:57am UTC](https://forum.kirupa.com/t/print-a-c-pattern-using-loop-in-c-any-language/659254 "2023-06-12T00:57:38Z")

</div>

I’ve kickstarted to practice problem solving using C++ book by walter savitch and this is my first problem and in the first problem I’ve encountered difficulty. #include \<iostream\> using namespace std; int main() { …

---

## [Curious to know difference between these tutorials and books on kirupa.com](https://forum.kirupa.com/t/curious-to-know-difference-between-these-tutorials-and-books-on-kirupa-com/659234)

<div class="topic-metadata">

**Author:** [@dmdev261](https://forum.kirupa.com/u/dmdev261)\
**Replies:** 2\
**Last updated:** [June 10, 2023, 4:02am UTC](https://forum.kirupa.com/t/curious-to-know-difference-between-these-tutorials-and-books-on-kirupa-com/659234 "2023-06-10T04:02:06Z")

</div>

Hello, I am just curious to know what is difference between topics present under “Tutorials” tabs and books present under “Books” tab? Are books present for advanced topics or practising exercises? Thanks, Devanshu Mi…

---

## [Random unsplash image throws error](https://forum.kirupa.com/t/random-unsplash-image-throws-error/658634)

<div class="topic-metadata">

**Author:** [@davidjm](https://forum.kirupa.com/u/davidjm)\
**Replies:** 11\
**Last updated:** [June 9, 2023, 2:12pm UTC](https://forum.kirupa.com/t/random-unsplash-image-throws-error/658634 "2023-06-09T14:12:58Z")

</div>

hi, trying to implement Random Unsplash Image in Svelte, here’s the app.svelte: REPL here: https://svelte.dev/repl/40d737fca5ac42bb80c2cbb030c4079c?version=3.59.1 \<script\> const clientID = \`74tPSBlBDFDflVT\_6\_PsoTJNb…

---

## [How is it possible to memorize JS?](https://forum.kirupa.com/t/how-is-it-possible-to-memorize-js/657970)

<div class="topic-metadata">

**Author:** [@Sveta1](https://forum.kirupa.com/u/Sveta1)\
**Replies:** 7\
**Last updated:** [June 3, 2023, 8:05am UTC](https://forum.kirupa.com/t/how-is-it-possible-to-memorize-js/657970 "2023-06-03T08:05:08Z")

</div>

I am completely frustrated. I have been trying to learn JS for some months and in the long run I remember nothing. I am doing the course from Meta, I am reading a book, I read articles at MDM, W3schools, I do exercises a…

---

## [Jet CLI](https://forum.kirupa.com/t/jet-cli/658786)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 4\
**Last updated:** [June 1, 2023, 7:51pm UTC](https://forum.kirupa.com/t/jet-cli/658786 "2023-06-01T19:51:19Z")

</div>

Has anyone used the Jet CLI tool from Codeship? Essentially it’s just jet encrypt .env.production and jet decrypt encrypted.env.production. I use it at work to check .env files into source control. Great tool, but you h…

---

## [Assistance with Creating a Customizable Web Template.](https://forum.kirupa.com/t/assistance-with-creating-a-customizable-web-template/658812)

<div class="topic-metadata">

**Author:** [@Menzi](https://forum.kirupa.com/u/Menzi)\
**Replies:** 12\
**Last updated:** [May 21, 2023, 11:11pm UTC](https://forum.kirupa.com/t/assistance-with-creating-a-customizable-web-template/658812 "2023-05-21T23:11:09Z")

</div>

Hello everyone, I’m reaching out to the community because I’m currently employed as a front-end developer and I’ve run into a challenge at my job that I’m hoping you can help me solve. I’ve been tasked with creating a …

---

## [What is the best way to learn a new programming language as a beginner?](https://forum.kirupa.com/t/what-is-the-best-way-to-learn-a-new-programming-language-as-a-beginner/658388)

<div class="topic-metadata">

**Author:** [@charlesdevis](https://forum.kirupa.com/u/charlesdevis)\
**Replies:** 4\
**Last updated:** [May 16, 2023, 5:33am UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-learn-a-new-programming-language-as-a-beginner/658388 "2023-05-16T05:33:02Z")

</div>

Hi, My name is Charles Devis, I am a student, and I want to start coding on my own. I don’t know how to start coding or which programming language I should learn first as a beginner. I asked my many friends how I could …

---

## [Learning path to follow for Kirupa.com sections as a newbie in Web development](https://forum.kirupa.com/t/learning-path-to-follow-for-kirupa-com-sections-as-a-newbie-in-web-development/658713)

<div class="topic-metadata">

**Author:** [@dmdev261](https://forum.kirupa.com/u/dmdev261)\
**Replies:** 5\
**Last updated:** [May 15, 2023, 2:28pm UTC](https://forum.kirupa.com/t/learning-path-to-follow-for-kirupa-com-sections-as-a-newbie-in-web-development/658713 "2023-05-15T14:28:17Z")

</div>

Hello All, I am new to kirupa.com. I am newbie in Development and trying to learn it using “Tutorials” and “Coding Exercises” available here. However, I feel little lost, could someone please help me with learning path…

---

## [detect stream of my webcam](https://forum.kirupa.com/t/detect-stream-of-my-webcam/658721)

<div class="topic-metadata">

**Author:** [@System0](https://forum.kirupa.com/u/System0)\
**Replies:** 0\
**Last updated:** [May 14, 2023, 11:19pm UTC](https://forum.kirupa.com/t/detect-stream-of-my-webcam/658721 "2023-05-14T23:19:36Z")

</div>

Hi, i’m trying to implemente a html code to detect stream of my webcam that can be played or stopped. This code doesn’t work ! Why? \<!DOCTYPE html\> \<html\> \<head\> \<meta charset="utf-8"\> \<meta content="Display W…

---

## [How it is possible billt a website on andirod mobile ?](https://forum.kirupa.com/t/how-it-is-possible-billt-a-website-on-andirod-mobile/658694)

<div class="topic-metadata">

**Author:** [@koko-numes](https://forum.kirupa.com/u/koko-numes)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 4:51pm UTC](https://forum.kirupa.com/t/how-it-is-possible-billt-a-website-on-andirod-mobile/658694 "2023-05-12T16:51:34Z")

</div>

Hi, is it possible to make website in node js with template engine and restful api (toghather) for android.i want to create a my own website used on mobile phone anyone suggest me any guidlines. Thanks

---

## [Accessing Your Webcam in HTML5](https://forum.kirupa.com/t/accessing-your-webcam-in-html5/352092)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 118\
**Last updated:** [May 10, 2023, 4:23pm UTC](https://forum.kirupa.com/t/accessing-your-webcam-in-html5/352092 "2023-05-10T16:23:04Z")

</div>

This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/accessing\_your\_webcam\_in\_html5.htm

---

## [Syntax Error in geometry.html](https://forum.kirupa.com/t/syntax-error-in-geometry-html/658429)

<div class="topic-metadata">

**Author:** [@Willwrtr](https://forum.kirupa.com/u/Willwrtr)\
**Replies:** 2\
**Last updated:** [May 8, 2023, 3:53pm UTC](https://forum.kirupa.com/t/syntax-error-in-geometry-html/658429 "2023-05-08T15:53:16Z")

</div>

URL in question: Writings I have a syntax error and an undefined variable error in a short piece of code. I’ve posted the code and an run-copy of it on the above link of mine, under game program errors. If anyone can …

---

## [Dom](https://forum.kirupa.com/t/dom/658502)

<div class="topic-metadata">

**Author:** [@asparker](https://forum.kirupa.com/u/asparker)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 2:27pm UTC](https://forum.kirupa.com/t/dom/658502 "2023-05-03T14:27:53Z")

</div>

I need help answering this question Describe what the Document Object Model is and what its purpose is Thank you for your guidance!

---

## [external js file](https://forum.kirupa.com/t/external-js-file/658428)

<div class="topic-metadata">

**Author:** [@asparker](https://forum.kirupa.com/u/asparker)\
**Replies:** 3\
**Last updated:** [April 27, 2023, 4:42pm UTC](https://forum.kirupa.com/t/external-js-file/658428 "2023-04-27T16:42:37Z")

</div>

I need to have my external projectjs.js file placed after the opening body tag I usually place it before the closing body tag. If I place it after the opening body tag my program fails to load Thank you for your help!

---

## [React Router not working](https://forum.kirupa.com/t/react-router-not-working/652078)

<div class="topic-metadata">

**Author:** [@ReactNoob](https://forum.kirupa.com/u/ReactNoob)\
**Replies:** 10\
**Last updated:** [April 24, 2023, 6:24am UTC](https://forum.kirupa.com/t/react-router-not-working/652078 "2023-04-24T06:24:11Z")

</div>

Has anyone tried to work through this tutorial? For some reason when I add the content div with routes to the main Component my project stops loading anything. If anyone has any advice or can spot the issue please let …

---

## [Difference between "keyword" and "function" - Javascript](https://forum.kirupa.com/t/difference-between-keyword-and-function-javascript/658307)

<div class="topic-metadata">

**Author:** [@Claudia\_Fetter](https://forum.kirupa.com/u/Claudia_Fetter)\
**Replies:** 3\
**Last updated:** [April 22, 2023, 9:42am UTC](https://forum.kirupa.com/t/difference-between-keyword-and-function-javascript/658307 "2023-04-22T09:42:35Z")

</div>

Hey guys. I’m studying the book “Javascript - Absolute beginner’s guide”, and I’m a bit confused about the difference between “function” and “keyword”. Are they the same? So for example “let” is defined by the book as a…

---

## [Display a Random Image Using the Unsplash API](https://forum.kirupa.com/t/display-a-random-image-using-the-unsplash-api/653866)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 11\
**Last updated:** [April 20, 2023, 4:55am UTC](https://forum.kirupa.com/t/display-a-random-image-using-the-unsplash-api/653866 "2023-04-20T04:55:12Z")

</div>

This is the companion topic to the Display a Random Image Using the Unsplash API coding exercise:

---

## [how to respawn Enemies and Targets](https://forum.kirupa.com/t/how-to-respawn-enemies-and-targets/658171)

<div class="topic-metadata">

**Author:** [@AmiiboAmigos](https://forum.kirupa.com/u/AmiiboAmigos)\
**Replies:** 2\
**Last updated:** [April 19, 2023, 5:32pm UTC](https://forum.kirupa.com/t/how-to-respawn-enemies-and-targets/658171 "2023-04-19T17:32:42Z")

</div>

I’m almost done! all I need to do is to add code to respawn enemies and targets to this game in JavaScript. Anyone have any ideas? there aren’t many sources with the kind of code I’m looking for. Replit: Join AnaeliRiv…

---

## [Should I learn Python or Java first?](https://forum.kirupa.com/t/should-i-learn-python-or-java-first/657982)

<div class="topic-metadata">

**Author:** [@anaacademy](https://forum.kirupa.com/u/anaacademy)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 12:11pm UTC](https://forum.kirupa.com/t/should-i-learn-python-or-java-first/657982 "2023-04-13T12:11:40Z")

</div>

It depends on your personal interests and career goals. Python is an excellent language for beginners, with a simple syntax and a large community of users who can offer support. It is often used for scripting, data anal…

---

## [3d react component reusability?](https://forum.kirupa.com/t/3d-react-component-reusability/658012)

<div class="topic-metadata">

**Author:** [@rest](https://forum.kirupa.com/u/rest)\
**Replies:** 3\
**Last updated:** [April 11, 2023, 5:08pm UTC](https://forum.kirupa.com/t/3d-react-component-reusability/658012 "2023-04-11T17:08:40Z")

</div>

Hello everyone, I am trying to make 3d react components with react-three-fiber, however, I am not sure if they will be reusable or not? It takes me a long time to animate in 3d and I have medium experience with react bu…

---

## [Steve Jobs Archive Website](https://forum.kirupa.com/t/steve-jobs-archive-website/657663)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 9\
**Last updated:** [April 4, 2023, 4:55pm UTC](https://forum.kirupa.com/t/steve-jobs-archive-website/657663 "2023-04-04T16:55:56Z")

</div>

Hi, I was wondering, how does the scrolling and transitioning to viewing single pages and back work here? It is so simple yet elegant. https://stevejobsarchive.com/

---

## [LinkedList in JavaScript](https://forum.kirupa.com/t/linkedlist-in-javascript/637119)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 5\
**Last updated:** [April 2, 2023, 8:19pm UTC](https://forum.kirupa.com/t/linkedlist-in-javascript/637119 "2023-04-02T20:19:04Z")

</div>

Another day, another data structure in JS that every other language takes for granted :slight\_smile: class Node { constructor(data, next = null) { this.data = data; this.next = next; } } class LinkedList { …

---

## [Adobe Animate / HTML5 & ASP](https://forum.kirupa.com/t/adobe-animate-html5-asp/657626)

<div class="topic-metadata">

**Author:** [@vulturecurt](https://forum.kirupa.com/u/vulturecurt)\
**Replies:** 2\
**Last updated:** [March 24, 2023, 11:26am UTC](https://forum.kirupa.com/t/adobe-animate-html5-asp/657626 "2023-03-24T11:26:13Z")

</div>

Hi, used to Flash 5 or Flash MX, been away from design/development for a few years since flash was basically boycotted by apple, with the intention of making people pay for Apple Store games, etc… instead of allowing peo…

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

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