Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
8 views

Here is my code for testing the registration of a user, this is temporary as it will be removed once 2 users are set up. This is the front end half. const btn = document.getElementById('test'); btn....
shadez1558's user avatar
0 votes
0 answers
19 views

let url = (content, type) => URL.createObjectURL ( new Blob ([content], {type})); let cssUrl = url ('#d1 { color: green; }', 'text/css'); let htmlUrl = url (` <link rel=stylesheet ...
Venkata Raju's user avatar
  • 5,401
0 votes
2 answers
82 views

I'm using React Native for write an application in Android, but it can't correctly display number, Order number is like:18,19,2 ,21,2 ,2 ,picture is below: Some code is: <View style={{ ...
Tom's user avatar
  • 529
-4 votes
0 answers
75 views

A rails 7.1 view file runs with in-line javascript as follows. <script> var autoComplete = (function(){ [ ... contents of .js file. see below] </script> <%= javascript_tag do %> ...
Jerome's user avatar
  • 6,353
0 votes
0 answers
47 views

How to calc mouse position (ClientX, ClientY) in rotated and scaled DIV? HTML structure: SCALED DIV - transform: scale(0.8); ROTATED DIV - transform: rotate(340deg); ROTATED TARGET DIV - transform: ...
user1167761's user avatar
-3 votes
0 answers
35 views

I’m building a custom WordPress theme and currently adding CSS and JS directly in header.php. I read that wp_enqueue_style and wp_enqueue_script should be used instead. Can someone explain the correct ...
Shubha Rawat's user avatar
0 votes
1 answer
67 views

so I have an HTML page, a linked Javascript(jQuery actually) file that has functions linked to clicks, etc. Then I want to add Regular Expressions to check user input. I want to maintain all JS ...
Madventures's user avatar
0 votes
0 answers
135 views

The hamburger menu button appears correctly on mobile screens, and when I resize the window on desktop, but clicking it does nothing. I doubled checked my code, but I still can't figure out it's not ...
Job Celis's user avatar
-3 votes
1 answer
88 views

I'm building a portfolio website with React + TypeScript and Redux. I have a chat assistant component that should only appear after a user clicks an "Start" button (which sets app.ready to ...
Sahan Silva's user avatar
-3 votes
1 answer
100 views

I´m following the "Eloquent JavaScript" 4th edition book, and there is the following chunk of code: function multiplier(factor) { return number => number * factor; } let twice = ...
Carlos Ortega's user avatar
Advice
0 votes
2 replies
47 views

I am a student at Amity University, currently enrolled in BCA. I would like to take advice from you all should I learn MERN, or should I go for Cloud or AI/ML? I am also keen to understand which path ...
Akshay Singh's user avatar
-6 votes
1 answer
92 views

Leetcode problem 10. Regular Expression Matching Given an input string s and a pattern p, implement regular expression matching with support for '.' and '*' where: '.' Matches any single character.​​​...
Chip's user avatar
  • 1
1 vote
0 answers
36 views

I'm working on an application which uses dynamicly loaded page elements, which use pushState to change the URL hash and add an entry to the browser's history. It will be too much work to refactor this ...
Joeytje50's user avatar
  • 19.2k
-2 votes
0 answers
35 views

I have a very simple test file: import fs from "node:fs"; import {test, expect} from "vitest"; test("Creating store", () => { expect(fs.existsSync("my-file.dat&...
SiliconValley's user avatar
0 votes
1 answer
61 views

I have a button hover animation that works correctly on desktop. Problem: With the mouse: Hover works, and after clicking the button, the hover state gets stuck—this script fixes it. With touch ...
Husnain Khalil's user avatar

15 30 50 per page
1
2 3 4 5
168401