I’ve started playing around with JQuery in the last week, and I’m needing some help understanding what I am doing incorrectly. I’m sure this is very simple, but please be patient as I am learning. End result: When you click “Open Menu” – then the notification menu opens. If…
How does google firebase save users data so that every time the user logs on, the previous work they did on the website is still there? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 1 year ago. Improve this quest…
TypeError: Cannot mix BigInt and other types, use explicit conversions (I was trying to add/mix BigInt with var)
I was trying to add large numbers using BigInt and add to sum. But got an error saying: Answer I tried and came up to answer that we can not mix BigInt to another types. So I converted integer sum into BigInt and then adding it to BigInt. as said in “https://javascript.info/bigint”: alert(1n + 2);…
How to sort div, depending on the values that are contained in their children?
I am outputting data from a file using .map(), so to get all the values the parent I use .forEach() (Otherwise, only one div with class=”price” will be selected, instead of 20). I need to sort all div that contain child with the amount from smallest to largest. I am getting the child like this: Bu…
Svg animations replaying in the same spot
I am working on a tower defense game with HTML, CSS, and JS. I want to be able to create svg circles that will follow a path using an svg animation. In order to do this, I wrote this code: The first time I run the attackerSvg function, everything works fine. A circle is created at the start of the
how to cleanly handle errors in nextjs getStaticProps
I’m very busy at the moment with building my first Next.JS application (Next and Strapi). Now everything is working but i’m curious about what the best way is to implement error handling when using getStaticProps. I tried a few things myself (passing multiple props etc, but that all didn’t w…
Protect Web pages using password or authentication service
I would like to know if there is a way to password protect web pages developed with simple HTML/ javascript. I am hosting the web page on netlify and I have also tried hosting on Firebase and it is working from both ends but I do not want anyone with a link to be able to view and use the
Add class to element based on input value length/state with JavaScript
I’m trying to create the ‘floating labels’ effect for my fields. However, I’m having difficulties because the HTML code is structured in such a way that prevents it from being achieved using only CSS as there is no way to use CSS combinators (>,+,~) and I do not have the ability to …
Based on length how to check values in Vuejs? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. The community is reviewing whether to reopen this question as of 1 year ago. Improve this question With length i ne…
Replace text starting “@” with respetive variables in Object – Javascript
I made this code trying to reproduce what i want to do in my Node JS API. I have “message” Array and “valueList” Object and i need to replace all text with “@” than have name of variables in “valueList” Object. If i create one more variable in valueList i need t…