# Latest

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

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

**Page:** 112

---

## [While programming in javascript, getting error "Cannot read property 'style' of null" please help me](https://forum.kirupa.com/t/while-programming-in-javascript-getting-error-cannot-read-property-style-of-null-please-help-me/639486)

<div class="topic-metadata">

**Author:** [@Vikin](https://forum.kirupa.com/u/Vikin)\
**Replies:** 3\
**Last updated:** [March 12, 2019, 10:27am UTC](https://forum.kirupa.com/t/while-programming-in-javascript-getting-error-cannot-read-property-style-of-null-please-help-me/639486 "2019-03-12T10:27:49Z")

</div>

I have tried this solution, but its not working for me. referred : http://forum.kirupa.com/t/help-me-please-with-uncaught-typeerror-cannot-read-property-style-of-null/638230. code I have written: \<script type="text/ja…

---

## [Transferring Properties in React | kirupa.com](https://forum.kirupa.com/t/transferring-properties-in-react-kirupa-com/636193)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 3\
**Last updated:** [March 11, 2019, 12:12am UTC](https://forum.kirupa.com/t/transferring-properties-in-react-kirupa-com/636193 "2019-03-11T00:12:10Z")

</div>

There is a frustrating side to working with properties. We kinda saw this side in the previous tutorial. Passing properties from one component to another is nice and simple when you are dealing with only one layer of com…

---

## [Creating Motion Trails | KIRUPA](https://forum.kirupa.com/t/creating-motion-trails-kirupa/636223)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 6\
**Last updated:** [March 9, 2019, 5:18pm UTC](https://forum.kirupa.com/t/creating-motion-trails-kirupa/636223 "2019-03-09T17:18:21Z")

</div>

by kirupa | 15 March 2016 Have you ever seen a comet or a meteor streaking across the sky? It looks something like this: This is a companion discussion topic for the original entry at http://www.kirupa.com/canvas/…

---

## [MacBook Pro + iPad Pro or Surface Pro 6?](https://forum.kirupa.com/t/macbook-pro-ipad-pro-or-surface-pro-6/639476)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 9\
**Last updated:** [March 8, 2019, 6:30am UTC](https://forum.kirupa.com/t/macbook-pro-ipad-pro-or-surface-pro-6/639476 "2019-03-08T06:30:11Z")

</div>

I want one device that I can do everything on. I want to program on the iPad Pro but I know iOS is very limited. I enjoy the experience of the Apple products. I’m not sure about the Microsoft Surface Pro. Is it buggy? …

---

## [How to implement Redux DevTools?](https://forum.kirupa.com/t/how-to-implement-redux-devtools/639474)

<div class="topic-metadata">

**Author:** [@kayut](https://forum.kirupa.com/u/kayut)\
**Replies:** 4\
**Last updated:** [March 6, 2019, 9:27pm UTC](https://forum.kirupa.com/t/how-to-implement-redux-devtools/639474 "2019-03-06T21:27:13Z")

</div>

This is the index.js inside the root folder : import { createStore, applyMiddleware } from "redux"; import rootReducer from "./reducers/reducers"; const store = applyMiddleware(ReduxPromise)(createStore); ReactDOM.ren…

---

## [PWA - right approach here?](https://forum.kirupa.com/t/pwa-right-approach-here/639466)

<div class="topic-metadata">

**Author:** [@gNeandr](https://forum.kirupa.com/u/gNeandr)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 3:57am UTC](https://forum.kirupa.com/t/pwa-right-approach-here/639466 "2019-03-06T03:57:53Z")

</div>

Not sure I fully understand how to use PWA. Hope here is help around :wink: I started to use WLAN based devices (like Sonoffs with Tasmota FW). But not using the MQTT setup, but try to use REST. That because only a few …

---

## [Raccoons!](https://forum.kirupa.com/t/raccoons/639465)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 1:54am UTC](https://forum.kirupa.com/t/raccoons/639465 "2019-03-06T01:54:49Z")

</div>

Seemed appropriate for a Monday! :panda\_face:

---

## [PWA dev and Firefox?](https://forum.kirupa.com/t/pwa-dev-and-firefox/639461)

<div class="topic-metadata">

**Author:** [@gNeandr](https://forum.kirupa.com/u/gNeandr)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 6:40pm UTC](https://forum.kirupa.com/t/pwa-dev-and-firefox/639461 "2019-03-04T18:40:03Z")

</div>

Just came back to your “Build a PWA …” and have a problem with the browser. Never installed/used Chrome, I’m always on Firefox. So is there also PWA dev support using FX and it’s DevTools box? If yes, do you know a How…

---

## [Using Redux with React Error in Chapter 20?](https://forum.kirupa.com/t/using-redux-with-react-error-in-chapter-20/639456)

<div class="topic-metadata">

**Author:** [@overtureweb](https://forum.kirupa.com/u/overtureweb)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 6:30pm UTC](https://forum.kirupa.com/t/using-redux-with-react-error-in-chapter-20/639456 "2019-03-04T18:30:30Z")

</div>

First off, LOVE this book, it’s well written and the concepts are really easy to grasp. However I found an issue in Chapter 20 where we build a counter using Redux. On page 261 the switch block in the reducer is written …

---

## [ReactDOM is not defined error](https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449)

<div class="topic-metadata">

**Author:** [@cynonymous](https://forum.kirupa.com/u/cynonymous)\
**Replies:** 2\
**Last updated:** [March 2, 2019, 2:46am UTC](https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449 "2019-03-02T02:46:31Z")

</div>

Hello I am working through “Learn React”. On the css style chapter I received a “ReactDOM is not defined” error. I opened the page from the source code obtained from git and also received several errors. What can I do to…

---

## [What is going on with all of you?](https://forum.kirupa.com/t/what-is-going-on-with-all-of-you/639435)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 13\
**Last updated:** [February 28, 2019, 10:50pm UTC](https://forum.kirupa.com/t/what-is-going-on-with-all-of-you/639435 "2019-02-28T22:50:14Z")

</div>

I feel like I have hit a time warp and another year has just passed by! What are you all up to? What is new? As for me, I am getting more familiarized with my new-ish job at Salesforce. I am still learning new things ab…

---

## [Getting more than 10 images from an API request to unsplash API](https://forum.kirupa.com/t/getting-more-than-10-images-from-an-api-request-to-unsplash-api/639436)

<div class="topic-metadata">

**Author:** [@kayut](https://forum.kirupa.com/u/kayut)\
**Replies:** 5\
**Last updated:** [February 28, 2019, 12:29am UTC](https://forum.kirupa.com/t/getting-more-than-10-images-from-an-api-request-to-unsplash-api/639436 "2019-02-28T00:29:58Z")

</div>

When I send a /search/photos request to Unsplash API, I get a response with only 10 images. Is it possible to get more than 10 images?

---

## [Source code for Learning React book](https://forum.kirupa.com/t/source-code-for-learning-react-book/639434)

<div class="topic-metadata">

**Author:** [@Terry\_D\_Silva](https://forum.kirupa.com/u/Terry_D_Silva)\
**Replies:** 2\
**Last updated:** [February 23, 2019, 9:31pm UTC](https://forum.kirupa.com/t/source-code-for-learning-react-book/639434 "2019-02-23T21:31:33Z")

</div>

Hello Kirupa: Is the source code available for your funny and excellent book that I am enjoying right now? I need it to verify my own code when I am stuck. Thanks, Terry

---

## [Collection of Railway Logos](https://forum.kirupa.com/t/collection-of-railway-logos/639405)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 3\
**Last updated:** [February 14, 2019, 5:31pm UTC](https://forum.kirupa.com/t/collection-of-railway-logos/639405 "2019-02-14T17:31:06Z")

</div>

Not sure how I stumbled onto there, but…enjoy :stuck\_out\_tongue: http://reaganray.com/2018/02/20/railway-logos.html

---

## [how can I tell which \<p\> element has the focus ?](https://forum.kirupa.com/t/how-can-i-tell-which-p-element-has-the-focus/639325)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 5\
**Last updated:** [February 15, 2019, 3:19am UTC](https://forum.kirupa.com/t/how-can-i-tell-which-p-element-has-the-focus/639325 "2019-02-15T03:19:46Z")

</div>

Hello & Thanks ; On a doubleClick ‘how can I tell which element has the focus’ . Thanks for your help !

---

## [Learning React: A Hands-On Guide... code not working](https://forum.kirupa.com/t/learning-react-a-hands-on-guide-code-not-working/639412)

<div class="topic-metadata">

**Author:** [@Renato\_Jacobsen](https://forum.kirupa.com/u/Renato_Jacobsen)\
**Replies:** 2\
**Last updated:** [February 15, 2019, 6:43am UTC](https://forum.kirupa.com/t/learning-react-a-hands-on-guide-code-not-working/639412 "2019-02-15T06:43:25Z")

</div>

Is there an errata for the book Learning React: A Hands-On Guide to Building Web Applications Using React and Redux, 2/e? On page 99 of the book, the code listed there doesn’t work when simply copied and pasted to a new …

---

## [How to append a space into \<p\> 'activeElement' ?](https://forum.kirupa.com/t/how-to-append-a-space-into-p-activeelement/639403)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 5\
**Last updated:** [February 13, 2019, 4:43pm UTC](https://forum.kirupa.com/t/how-to-append-a-space-into-p-activeelement/639403 "2019-02-13T16:43:11Z")

</div>

Hello & Thanks, Sorry , I can’t get the three ticks working . (windows pc) Is it three quote marks or what ? I have this paragraph : \<p contenteditable="" id="p\_tgh"\>Text Paragraph\</p\> window.addEventListener("keyd…

---

## [multiple background image](https://forum.kirupa.com/t/multiple-background-image/639402)

<div class="topic-metadata">

**Author:** [@tost](https://forum.kirupa.com/u/tost)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 10:50pm UTC](https://forum.kirupa.com/t/multiple-background-image/639402 "2019-02-12T22:50:11Z")

</div>

Hello! Can you explain please why my second background image doesn’t show up? this is my CSS: html{ background-image: url("https://s3-us-west- 2.amazonaws.com/s.cdpn.io/104215/launch-day- boom\_copy.svg"…

---

## [JavaScript, Event bubbling, stopPropagation()](https://forum.kirupa.com/t/javascript-event-bubbling-stoppropagation/639398)

<div class="topic-metadata">

**Author:** [@Shuvajit\_Mohanty](https://forum.kirupa.com/u/Shuvajit_Mohanty)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 4:48pm UTC](https://forum.kirupa.com/t/javascript-event-bubbling-stoppropagation/639398 "2019-02-12T16:48:51Z")

</div>

\<html\> \<head\> \<style type="text/css"\> .divStyle { display: table-cell; border: 5px solid black; padding: 20px; text-align: center; } \</style\>…

---

## [1997 making a comeback?](https://forum.kirupa.com/t/1997-making-a-comeback/639390)

<div class="topic-metadata">

**Author:** [@prg9](https://forum.kirupa.com/u/prg9)\
**Replies:** 10\
**Last updated:** [February 11, 2019, 11:11pm UTC](https://forum.kirupa.com/t/1997-making-a-comeback/639390 "2019-02-11T23:11:47Z")

</div>

Behold … https://www.marvel.com/captainmarvel :flushed: :grimacing: Was there a trend memo I missed?

---

## [ExternalInterface - No Flash/Javascript communication](https://forum.kirupa.com/t/externalinterface-no-flash-javascript-communication/639234)

<div class="topic-metadata">

**Author:** [@Lahrissa](https://forum.kirupa.com/u/Lahrissa)\
**Replies:** 0\
**Last updated:** [January 7, 2019, 11:58pm UTC](https://forum.kirupa.com/t/externalinterface-no-flash-javascript-communication/639234 "2019-01-07T23:58:11Z")

</div>

I looked at the tutorial for using the ExternalInterface for Flash/Javascript communication: https://www.kirupa.com/flash/calling\_javascript\_flash\_using\_as3.htm I just can not get any messaging to go through between th…

---

## [Newbie Post](https://forum.kirupa.com/t/newbie-post/639377)

<div class="topic-metadata">

**Author:** [@rdrahman24](https://forum.kirupa.com/u/rdrahman24)\
**Replies:** 5\
**Last updated:** [February 11, 2019, 7:08am UTC](https://forum.kirupa.com/t/newbie-post/639377 "2019-02-11T07:08:39Z")

</div>

Hello everyone! I am new here

---

## [React CSS trouble, simple problem](https://forum.kirupa.com/t/react-css-trouble-simple-problem/639378)

<div class="topic-metadata">

**Author:** [@glassbeads](https://forum.kirupa.com/u/glassbeads)\
**Replies:** 6\
**Last updated:** [February 10, 2019, 4:20am UTC](https://forum.kirupa.com/t/react-css-trouble-simple-problem/639378 "2019-02-10T04:20:10Z")

</div>

I can’t get my lite beige background color to cover the width of the screen : /

---

## [Adobe Animate Dynamic Text Box not updating problem](https://forum.kirupa.com/t/adobe-animate-dynamic-text-box-not-updating-problem/639381)

<div class="topic-metadata">

**Author:** [@The\_Kay](https://forum.kirupa.com/u/The_Kay)\
**Replies:** 1\
**Last updated:** [February 10, 2019, 4:17am UTC](https://forum.kirupa.com/t/adobe-animate-dynamic-text-box-not-updating-problem/639381 "2019-02-10T04:17:35Z")

</div>

Hi, I’m from an actionscript background and only just getting to grips with Animate with HTML5 Canvas. I’m creating a simple maths quiz and having a problem displaying the updated score inside a dynamic text box. I kno…

---

## [Designing for Dark Mode](https://forum.kirupa.com/t/designing-for-dark-mode/639388)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 10, 2019, 4:13am UTC](https://forum.kirupa.com/t/designing-for-dark-mode/639388 "2019-02-10T04:13:30Z")

</div>

The era of the dark mode is upon us...again. If you follow UI trends, you would be right in saying that the era of the dark mode has been with us for quite some time. Between Windows 10, Linux distros, and a plethora of …

---

## [Implementing the Invisible ReCaptcha](https://forum.kirupa.com/t/implementing-the-invisible-recaptcha/639375)

<div class="topic-metadata">

**Author:** [@VaiFanatic](https://forum.kirupa.com/u/VaiFanatic)\
**Replies:** 0\
**Last updated:** [February 5, 2019, 8:08pm UTC](https://forum.kirupa.com/t/implementing-the-invisible-recaptcha/639375 "2019-02-05T20:08:16Z")

</div>

So the new v2 invisible ReCaptcha allows you to bind the recaptcha to your own submit button, this is fine if you don’t have additional form validation or want to check that the form has actually been filled out. You ca…

---

## [Responsive hamburger menu behavior](https://forum.kirupa.com/t/responsive-hamburger-menu-behavior/639367)

<div class="topic-metadata">

**Author:** [@PABLO\_SERRANO](https://forum.kirupa.com/u/PABLO_SERRANO)\
**Replies:** 5\
**Last updated:** [February 5, 2019, 8:02pm UTC](https://forum.kirupa.com/t/responsive-hamburger-menu-behavior/639367 "2019-02-05T20:02:17Z")

</div>

The website uses the always responsive hamburger menu. I would like the hamburger menu to display open by default in the home page only showing the menu links. What would be the correct way to display the hamburger menu…

---

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

<div class="topic-metadata">

**Author:** [@darcypaterson](https://forum.kirupa.com/u/darcypaterson)\
**Replies:** 3\
**Last updated:** [February 3, 2019, 3:55am UTC](https://forum.kirupa.com/t/chapter-4-of-learning-react/639121 "2019-02-03T03:55:02Z")

</div>

Under “Actually Styling Content” section the highlighted should read \<div style={letterStyle}\> {this.props.children} \</div\>

---

## [Issue with toISOString()](https://forum.kirupa.com/t/issue-with-toisostring/639343)

<div class="topic-metadata">

**Author:** [@Sukhwinder\_Saini](https://forum.kirupa.com/u/Sukhwinder_Saini)\
**Replies:** 1\
**Last updated:** [February 2, 2019, 10:22pm UTC](https://forum.kirupa.com/t/issue-with-toisostring/639343 "2019-02-02T22:22:53Z")

</div>

Hi i am trying to get tomorrow’s date and i am able to get it in default format but i need in ISO so i use this function toISOString This function is returning me day after tomorrow date var tomorrow = new Date(); t…

---

## [Using classlist.contains on Multiple Elements](https://forum.kirupa.com/t/using-classlist-contains-on-multiple-elements/633888)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [February 1, 2019, 7:36pm UTC](https://forum.kirupa.com/t/using-classlist-contains-on-multiple-elements/633888 "2019-02-01T19:36:53Z")

</div>

This is a response to a comment on how to use the classList.contains method to check for the existence of multiple classes. Since this isn't built-in to the classList API directly, I threw this together quickly: DOMTok…

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

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