I have the following snippet of code app.directive('widthSetter',function($timeout){ return { restrict: 'A', link: function (scope, element,
I have this code: <script type="text/javascript"> var foo = 'bar'; <?php file_put_contents('foo.txt', ' + foo + '); ?> var
I was just practising Javascript from Hackerrank. The question that I am working on is as follows: Colleen is turning n years old! Therefore, she has n candles
Hello all I am trying to get Flatpickr working with Laravel v8. I've done the following: npm install flatpickr then I added to the resources/app.js: const flat
I am currently trying to create a table with the last 5 notifications that were created using angularjs-toaster (https://www.npmjs.com/package/angularjs-toaster
Hello all I am trying to get Flatpickr working with Laravel v8. I've done the following: npm install flatpickr then I added to the resources/app.js: const flat
I'm trying to use a property of my data in a computed method like this: data() { return { ToDoItems: [ { id: uniqueId("todo-"), label: "Learn
I was wondering if it is possible to change the default behavior zoom, the default seems to change the viewport in all directions, but I want to keep the bottom
If have a state of objects payload: export const initialState = { payload: { firstName: 'Mick', lastName: 'Andri', phoneNumber: '
I am trying to upgrade to React Router v6 (react-router-dom 6.0.1). Here is my updated code: import { BrowserRouter, Navigate, Route, Routes } from 'react-route
I have the below method where I am updating store and after store updating, I am performing certain activities based on store values - useEffect(()=>{ const
so Iam using FlowType.JS it works and the text become I mean the the text become responsive. but if I wrote display: flex; or width: fit-content; the FlowType.J
Hi i want to add line numbering to the opened .docx file before converting it to .pdf and i really didn't find how to do that on code, it is converting my .docx
I trying to build, yarn build but it shows me yarn run v1.22.17 error Couldn't find a package.json file in "/home/darth/.config/nvim/plug-config" info Visit htt
In my react application, when I am using Helmet to show the title of the browser dynamically, the page in which I am using the CODE Like - **<Helmet>
I've seen that web workers have a terminate() function, but is there a way to pause and resume web workers from the host thread similar to interrupts? The crit
The db stores hex values which will then be used to set the background color of the div. How can I pass the value which is coming through from the DB to the css
I have a problem with React.js. After creating a react application, when I run the command npm start I have the following error: PS G:\workspace\WEB\gab-web\cli
I have a table with a checkbox in the table head which I want to use to check/uncheck all the checkboxes in my table. This is my code, but it doesn't work.
I'm using a Verto library in my nodejs console based project - I've added all necessary references to main.js file - something like this: const jsdom = require(