script tag

1639 questions


1 answers
407 views
0
I don't know HTML at all.

<!DOCTYPE html><html> <head> <meta charset=utf-8> <title>Game</title> <link rel=stylesheet type=text/css href=game.css> <script src=https://cdn....

1 years ago

1 answers
362 views
0
I want to write the Arrow function in the array in typescript.

How can I write the code below in typescript?export default class Auth extensions Vue {public rules: { username : Array < string | boolean > , password : Array < string > } = {// I don't k...

1 years ago

1 answers
460 views
0
Understanding User-Defined Guard for Two Values in TypeScript

When I tried to run the following code in TypeScriptPlayground, testFunc(a);However, there was a type error because a could be null.In order to resolve this type error, I would like to write something...

1 years ago

1 answers
329 views
0
How to store Slider origin in JavaScript session storage

I want to save the range input slider's discharge (the last position on the slider) in session storage and let the last release value appear when the web page is refreshed. I don't know exactly becaus...

1 years ago

1 answers
307 views
0
Addition question for JavaScript fractions. I don't know what the problem is.

The test is correct, but I just submit it and it's wrong...function solution(numer1, denom1, numer2, denom2) { var answer = []; if(denom1 === denom2) { answer.push(numer1 + numer2) answer.push(denom...

1 years ago

1 answers
392 views
0
Search Twitter v2 Quote Retweet

Purpose: I'd like to get all the quotes/retweets on my tweets and the identity of the tweets from which they were quoted after the specified date and time within one week on Twitter V2.Do not specify ...


1 answers
272 views
0
I have a question for JavaScript.

A.jspB.jspC.jspThere's a .Pressing the button on A.jsp moves you to B.jsp.In B.jsp, go to C.jsp when you press a browser refresh or f5 keyboardYou are about to write a script.Is it possible?I've used ...

1 years ago

1 answers
338 views
0
id.length==0 || id=="" Don't you think both mean the same thing?

id.length==0 || id==If you check id.length==0 || id== in javascript like this, right?But doesn't both right and left mean the same thing?If lngth is 0, of course nothing has been entered, so I think i...

1 years ago

1 answers
422 views
0
I make Othello with JavaScript.I'd like to suspend the processing, but it doesn't behave as I expected.

I make Othello with javascript.When the user clicks the p-tag, the location of the clicked board is passed to run().I prepared NPCs that players type randomly after typing, but I wanted to visually pa...

1 years ago

1 answers
419 views
0
Recursive function problems in javascript

function flatten(oldArr) { var newArr = [] for (var i = 0; i < oldArr.length; i++) { if (Array.isArray(oldArr[i])) { newArr = newArr.concat(flatten(oldArr[i])) } } else { newArr.push(oldArr[i]) } }...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.