# Latest

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

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

**Page:** 91

---

## [Condition in Case Statement](https://forum.kirupa.com/t/condition-in-case-statement/645472)

<div class="topic-metadata">

**Author:** [@OofieDoofie](https://forum.kirupa.com/u/OofieDoofie)\
**Replies:** 1\
**Last updated:** [December 27, 2020, 10:05am UTC](https://forum.kirupa.com/t/condition-in-case-statement/645472 "2020-12-27T10:05:16Z")

</div>

Hi I needed help with some logic and how to approach this. Case 8 EXIT CAVE (while taking damage from nearby monsters) Case 9 MAKE WEAPON Case 10 GO TO BANK A Case 11 DEPOSIT WEAPON Case 12 WITHDRAW MORE MATERI…

---

## [Reverse Engineering the source code of the BioNTech/Pfizer SARS-CoV-2 Vaccine](https://forum.kirupa.com/t/reverse-engineering-the-source-code-of-the-biontech-pfizer-sars-cov-2-vaccine/645456)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [December 25, 2020, 10:51pm UTC](https://forum.kirupa.com/t/reverse-engineering-the-source-code-of-the-biontech-pfizer-sars-cov-2-vaccine/645456 "2020-12-25T22:51:28Z")

</div>

This is a great read that relates how this vaccine works using computing concepts. Can’t say I still understand much of it. This is the kind of stuff @TheCanadian probably knows inside and out! :canada:

---

## [Using Google Fonts - or trying to](https://forum.kirupa.com/t/using-google-fonts-or-trying-to/645438)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 5\
**Last updated:** [December 24, 2020, 3:22pm UTC](https://forum.kirupa.com/t/using-google-fonts-or-trying-to/645438 "2020-12-24T15:22:45Z")

</div>

Snippet from a tutorial on importing Google Fonts “To import a Google Font, you can copy the font’s URL from the Google Fonts library and then paste it in your HTML before the opening style element” So a couple of ques…

---

## [Is emoji are browser specific or OS specific?](https://forum.kirupa.com/t/is-emoji-are-browser-specific-or-os-specific/645379)

<div class="topic-metadata">

**Author:** [@maheshggk](https://forum.kirupa.com/u/maheshggk)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 6:56pm UTC](https://forum.kirupa.com/t/is-emoji-are-browser-specific-or-os-specific/645379 "2020-12-22T18:56:12Z")

</div>

Hi @kirupa Is emoji browser specific or operating system specific? on which version(either OS or Browser) onwards this emoji can work properly. Please share any tutorial so that I can verify and implement it accordingl…

---

## [Billy Corgan rides a Rollercoaster](https://forum.kirupa.com/t/billy-corgan-rides-a-rollercoaster/645401)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 6:54pm UTC](https://forum.kirupa.com/t/billy-corgan-rides-a-rollercoaster/645401 "2020-12-22T18:54:31Z")

</div>

I’m not quite sure why this is so funny to me but I probably watched it 10 times now

---

## [Learning REACT Chapter 4](https://forum.kirupa.com/t/learning-react-chapter-4/645420)

<div class="topic-metadata">

**Author:** [@joeReact](https://forum.kirupa.com/u/joeReact)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 6:53pm UTC](https://forum.kirupa.com/t/learning-react-chapter-4/645420 "2020-12-22T18:53:48Z")

</div>

Hi Kirupa, I am a beginner in React and following your book. Got stuck in chapter 2. The code is not working. className not doing anything. If I use div div div it’s fine. If I change it to .letter - nothing is happenin…

---

## [Clipping text inside a DIV](https://forum.kirupa.com/t/clipping-text-inside-a-div/645359)

<div class="topic-metadata">

**Author:** [@dannywolf](https://forum.kirupa.com/u/dannywolf)\
**Replies:** 2\
**Last updated:** [December 20, 2020, 9:21pm UTC](https://forum.kirupa.com/t/clipping-text-inside-a-div/645359 "2020-12-20T21:21:44Z")

</div>

Hello, Good People; I am trying to clip text inside a fixed-height DIV using ellipsis but the usual CSS properties do not produce multiple lines of text, instead shrinking my paragraph to a single line when it could occ…

---

## [Form Elements Do What ?](https://forum.kirupa.com/t/form-elements-do-what/645384)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 3\
**Last updated:** [December 18, 2020, 9:20pm UTC](https://forum.kirupa.com/t/form-elements-do-what/645384 "2020-12-18T21:20:15Z")

</div>

\<form action="https://freecatphotoapp.com/submit-cat-photo"\>\<input type="text" placeholder="cat photo URL"\>\</form\> So I don’t quite get what this form element is supposed to do. I get that the placeholder is the text…

---

## [fall-back image for 'emoji'](https://forum.kirupa.com/t/fall-back-image-for-emoji/645367)

<div class="topic-metadata">

**Author:** [@maheshggk](https://forum.kirupa.com/u/maheshggk)\
**Replies:** 2\
**Last updated:** [December 17, 2020, 7:56pm UTC](https://forum.kirupa.com/t/fall-back-image-for-emoji/645367 "2020-12-17T19:56:48Z")

</div>

How to implement back-up/fall-back image for ‘emoji’(ex: U+1F9EC). This required for browsers which do not support emoji.

---

## [Creating Links Between Folders](https://forum.kirupa.com/t/creating-links-between-folders/645338)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 4\
**Last updated:** [December 17, 2020, 5:45pm UTC](https://forum.kirupa.com/t/creating-links-between-folders/645338 "2020-12-17T17:45:33Z")

</div>

So I have been thinking about this issue of the href pointer. So if we have the following hierarchy where one folder contains - one page + 3 folders each with one page like this - WILL STERN omega.html FANCY bulova.h…

---

## [Detecting Touch Swipe Gestures](https://forum.kirupa.com/t/detecting-touch-swipe-gestures/637979)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 6\
**Last updated:** [December 15, 2020, 12:26am UTC](https://forum.kirupa.com/t/detecting-touch-swipe-gestures/637979 "2020-12-15T00:26:51Z")

</div>

by kirupa | 25 March 2018 In our web applications, you and I probably haven't done a whole lot of special work to handle touch-based input. Because touch is often treated as a mouse gesture, a lot of things…

---

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

<div class="topic-metadata">

**Author:** [@seunawonugba](https://forum.kirupa.com/u/seunawonugba)\
**Replies:** 3\
**Last updated:** [December 14, 2020, 4:32pm UTC](https://forum.kirupa.com/t/handling-events-for-multiple-elements/645305 "2020-12-14T16:32:03Z")

</div>

how can i use a single handler to hide or show multiple HTML elements

---

## [Shortcut to Multiple Changes](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 5\
**Last updated:** [December 11, 2020, 1:42am UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257 "2020-12-11T01:42:34Z")

</div>

\<ul\>gm\</ul\> \<ul\>chrysler\</ul\> \<ul\>ford\</ul\> \<ul\>tesla\</ul\> In a situation like this, if you find yourself having to change all the ul’s to li’s, is there a shortcut to this change?

---

## [Google cardboard](https://forum.kirupa.com/t/google-cardboard/645126)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 8\
**Last updated:** [December 10, 2020, 12:29am UTC](https://forum.kirupa.com/t/google-cardboard/645126 "2020-12-10T00:29:37Z")

</div>

Has anyone played with Google cardboard or any of the VR systems? I’m getting the impression VR stuff has fizzled out a bit from its hype a few years ago. I hope I’m wrong though. I just strapped a piece of Google card…

---

## [I've Got the Font Blues](https://forum.kirupa.com/t/ive-got-the-font-blues/645214)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 5\
**Last updated:** [December 9, 2020, 1:45am UTC](https://forum.kirupa.com/t/ive-got-the-font-blues/645214 "2020-12-09T01:45:11Z")

</div>

I am doing an excercise in html coding where I look at a web page and then try to code for that page. The thing that hangs me up is trying to reproduce the cursive font shown here on the second line - First of all, h…

---

## [Wish I had saved all those old video game boxes!](https://forum.kirupa.com/t/wish-i-had-saved-all-those-old-video-game-boxes/645054)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 3\
**Last updated:** [November 24, 2020, 5:57am UTC](https://forum.kirupa.com/t/wish-i-had-saved-all-those-old-video-game-boxes/645054 "2020-11-24T05:57:38Z")

</div>

I doubt that any of mine had something similar to this limited “misprint”, but who knows? I am sure there is a market for a Mega Man X SNES cartridge with cat bit marks on the corner :stuck\_out\_tongue:

---

## [More GPU memory better, or less GPU memory better?](https://forum.kirupa.com/t/more-gpu-memory-better-or-less-gpu-memory-better/645215)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 6, 2020, 5:21am UTC](https://forum.kirupa.com/t/more-gpu-memory-better-or-less-gpu-memory-better/645215 "2020-12-06T05:21:20Z")

</div>

I’ve run into a strange issue that I can’t make a whole lot of sense of. In a simple animation, when the GPU is turned off, GPU memory usage is 10.5 MB: When I force a move to the GPU by having: transform: transla…

---

## [Background Images](https://forum.kirupa.com/t/background-images/645211)

<div class="topic-metadata">

**Author:** [@StraightUpRader](https://forum.kirupa.com/u/StraightUpRader)\
**Replies:** 1\
**Last updated:** [December 6, 2020, 1:14am UTC](https://forum.kirupa.com/t/background-images/645211 "2020-12-06T01:14:32Z")

</div>

I’m having trouble figuring out how to set up a repeating background image for my react app. I want to understand how to easily set this background image, then have a body wrapper inside that like this: A question o…

---

## [Aligning Content](https://forum.kirupa.com/t/aligning-content/645178)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 4\
**Last updated:** [December 4, 2020, 6:06pm UTC](https://forum.kirupa.com/t/aligning-content/645178 "2020-12-04T18:06:37Z")

</div>

\<!DOCTYPE html\> \<html\> \<head\> \<title\>Composing a Layout on a WebPage\</title\> \<style\> body { background: rgb(233, 191, 198); color: rgb(80, 41, 41); f…

---

## [a.addEventListener("click", WhichLinkWasClicked());](https://forum.kirupa.com/t/a-addeventlistener-click-whichlinkwasclicked/645162)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 12:33am UTC](https://forum.kirupa.com/t/a-addeventlistener-click-whichlinkwasclicked/645162 "2020-12-04T00:33:46Z")

</div>

Sorry , stumped again: Uncaught SyntaxError: Unexpected identifier “Function WhichLinkWasClicked(evt) {” \<!DOCTYPE html\> \<html\> \<body\> \<p\>This example uses the addEventListener() method to catch which kink was clicke…

---

## [Coding a very basic choice text-based rpg in react](https://forum.kirupa.com/t/coding-a-very-basic-choice-text-based-rpg-in-react/645156)

<div class="topic-metadata">

**Author:** [@StraightUpRader](https://forum.kirupa.com/u/StraightUpRader)\
**Replies:** 6\
**Last updated:** [December 3, 2020, 5:19am UTC](https://forum.kirupa.com/t/coding-a-very-basic-choice-text-based-rpg-in-react/645156 "2020-12-03T05:19:05Z")

</div>

I’m doing this for my final assignment for my GUI class. I’m going into cybersecurity for my masters in a few years and I’m not very good at GUI or any front end coding. I want to essentially code a game that has level…

---

## [Hi! new here, multiple button input question?](https://forum.kirupa.com/t/hi-new-here-multiple-button-input-question/645094)

<div class="topic-metadata">

**Author:** [@spamaloid](https://forum.kirupa.com/u/spamaloid)\
**Replies:** 2\
**Last updated:** [November 30, 2020, 9:25pm UTC](https://forum.kirupa.com/t/hi-new-here-multiple-button-input-question/645094 "2020-11-30T21:25:46Z")

</div>

Hi everyone, I thought the following would be fairly simple to solve, but…no. Would appreciate pointers. I have two sets of four radio buttons each. I want to get the values of the clicked buttons and then direct the u…

---

## [Coding Div Tags](https://forum.kirupa.com/t/coding-div-tags/645107)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 5\
**Last updated:** [November 29, 2020, 3:26pm UTC](https://forum.kirupa.com/t/coding-div-tags/645107 "2020-11-29T15:26:17Z")

</div>

\<div id="outer"\> \<div id="blueDiv"\> \</div\> \</div\> I am a beginner to htlml so the following question may seem silly but I thought that a div tag had to open with and close with so in the above example, taken…

---

## [Is background color and primary color same in 60-30-10 rule?](https://forum.kirupa.com/t/is-background-color-and-primary-color-same-in-60-30-10-rule/645101)

<div class="topic-metadata">

**Author:** [@shahab570](https://forum.kirupa.com/u/shahab570)\
**Replies:** 1\
**Last updated:** [November 28, 2020, 5:49pm UTC](https://forum.kirupa.com/t/is-background-color-and-primary-color-same-in-60-30-10-rule/645101 "2020-11-28T17:49:51Z")

</div>

I was reading the 60-30-10 rule for using color on a website where 60% is the primary color, 30% a secondary color, 10% tertiary color. But I am confused, what should be the background color of a website. Is it the same …

---

## [A new member of forum](https://forum.kirupa.com/t/a-new-member-of-forum/644075)

<div class="topic-metadata">

**Author:** [@Andyhung](https://forum.kirupa.com/u/Andyhung)\
**Replies:** 3\
**Last updated:** [November 26, 2020, 6:37am UTC](https://forum.kirupa.com/t/a-new-member-of-forum/644075 "2020-11-26T06:37:23Z")

</div>

Hi Kirupa and everyone, my name is Andyhung. I would like to say hi to everyone. Andyhung,

---

## [Closure](https://forum.kirupa.com/t/closure/645073)

<div class="topic-metadata">

**Author:** [@closeupman](https://forum.kirupa.com/u/closeupman)\
**Replies:** 1\
**Last updated:** [November 26, 2020, 4:06am UTC](https://forum.kirupa.com/t/closure/645073 "2020-11-26T04:06:27Z")

</div>

No error message in console. The code is exactly as in the book. I only get the good bye and first hello, not the second hello as the book specifies. Not sure what I did wrong. Thanks. \<!doctype html\> \<html\> \<he…

---

## [Variable Scope](https://forum.kirupa.com/t/variable-scope/645072)

<div class="topic-metadata">

**Author:** [@closeupman](https://forum.kirupa.com/u/closeupman)\
**Replies:** 2\
**Last updated:** [November 26, 2020, 3:08am UTC](https://forum.kirupa.com/t/variable-scope/645072 "2020-11-26T03:08:57Z")

</div>

If I run this code with isThePrice2 function, nothing after the alert(warning) is encountered in the function will print out. I only get alerts for 4 and 5. Then NOTHING! If I take out isThePrice2 function, then isTheP…

---

## [Browse KIRUPA in style!](https://forum.kirupa.com/t/browse-kirupa-in-style/642816)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 16\
**Last updated:** [November 25, 2020, 6:06am UTC](https://forum.kirupa.com/t/browse-kirupa-in-style/642816 "2020-11-25T06:06:04Z")

</div>

After talking about it for a long time, the main site has richer theming support along with the frequently asked dark mode. Go to KIRUPA and click on any of the colors towards the bottom in the left navigation to pick th…

---

## [Hi guys! (New member)](https://forum.kirupa.com/t/hi-guys-new-member/645033)

<div class="topic-metadata">

**Author:** [@Belfry777](https://forum.kirupa.com/u/Belfry777)\
**Replies:** 3\
**Last updated:** [November 25, 2020, 5:21am UTC](https://forum.kirupa.com/t/hi-guys-new-member/645033 "2020-11-25T05:21:32Z")

</div>

Hello everyone I am Belfry. I am new to Javascript and aspire to build games.

---

## [Can't Apply a Style to the Header](https://forum.kirupa.com/t/cant-apply-a-style-to-the-header/644999)

<div class="topic-metadata">

**Author:** [@John\_Stern](https://forum.kirupa.com/u/John_Stern)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 3:57pm UTC](https://forum.kirupa.com/t/cant-apply-a-style-to-the-header/644999 "2020-11-23T15:57:23Z")

</div>

The Prehistory Era h1{background: rgb(233, 233, 117); margin: 40px; padding: 20px;} header{ background: rgb(236, 187, 195); margin: 20px padding; 30px …

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

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