The code is different, I apologize may I didn’t ask the question the right way, you can understand well in principle, When I’m hovering the dots get colours and connect to each other, other dots are invisible, I want that all dots should be visible all time. live example available on codepen, https://codepen.io/tati420/pen/RwBamQo?editors=1111 Answer If I understand your question correctly,
Tag: javascript
I have a problem with my provider to render different navigator stacks
I am implementing a provider which helps me to have the state of my user in different views, the main function of this provider is to render different one or the other stack navigator depending on whether the variable is full or empty, this in order to be able to generate two groups of screens depending on whether the user
JS onClick how to remove it when I click anywhere on the webpage
I am making a form and input where, when I click on the input the border of the form changes it’s color and what I want to happen is that when I click anywhere else it goes back to it’s original color. -HTML -CSS -JS I tried making this one but I can’t put it on the whole document When
How to set textarea height using min-height?
I am trying to create a message input field, using textarea. The reason I am using textarea is to be able to dynamically change the height. To be able to dynamically change the height of the textarea and the parent divs, I have implemented this code. The code works, just fine. To be able to use this JavaScript code I
How to use within() function with contains() function incypress
I have a datepicker calendar as below [![enter image description here][1]][1] To select a particular date I am using this code Now to select the date I am using below approach which is working fine but I don’t wanted to use nth-of-type(1) because it will cause issue in future I tried this approach whic didn’t work Can you folks help
Pulling and displaying API data to tailwind cards
could someone help on how to get all data from this console log? I am trying to display all the details in individual tailwind cards but not sure how to get the data. Thank you for your time. It works and I get the results below in console. when I tried console.log (response.data.0.pdf) for example, it gives an error “Parsing
sorting JavaScript array that contains version numbers and letters (where letters represents a numerical value)
Say I have an array like this: What would be the best way to sort this and get result like this: Here, to sort, consider: ‘a’ or ‘A’ is equivalent to 1, ‘b’ or ‘B’ is equivalent to 2, and so on. The array contains numbers and letters only, no symbols. So far I have tried: Does not give me
Is adding a click/keydown listener to every cell in a React datagrid with potentially thousands of cells a performance problem?
Back in the day, several years before React, I learned to wire events to tables by attaching the listener to the <tbody> and read the true source of the event form the event target. In that way, we have one listener for the entire table, instead of potentially hundreds. I used to have a test that would should have much
Why does the sender message only appear when the recipient sends a message? (socketio) (nodejs) (reactjs)
I am developing a realtime chat in nodejs and react and socket io. In theory the chat is working, but the problem is that the sender’s message only appears on the screen when the recipient sends a message too. ex : I have browser 1 and browser 2. Every time browser 1 sends messages, these messages appear on its screen,
Issue with createElement() don’t change data when I call new data
When I press on div “User” bring me posts for this user but when I change to another user imposed deletes autmicaly for old user posts and bring to me posts for a new user, unfortunately, it shows posts for new user bottom of the posts for old user. Deleted old posts and bring to me new posts on the