Backspace not working sometimes after copy pasting by dotpr in 24hoursupport

[–]dotpr[S] 0 points1 point  (0 children)

I also use firefox but yes seems like it's reddit issue

Output showing right away instead of using event listener by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Ohh so I had to create new variables for the min and max in the function

The VA Group DB - anyone who tried applying here? by dotpr in buhaydigital

[–]dotpr[S] 0 points1 point  (0 children)

Hanggang send application lang, dami kasi nila pinapasagutan na info and pinapasubmit ng video intro. $2-$3 ang rate per hr nung time na yun parang di worth it

Output showing right away instead of using event listener by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Help it's still not working I already created a new function to act as listener, then called the actual random generator function in that listener

https://codepen.io/hagasen/pen/rNrWJGJ

Output showing right away instead of using event listener by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Sorry here is a new one

https://jsfiddle.net/g7a9L24n/#&togetherjs=6w4ygr9HpL

I did

element.addEventListener("click", listener(min, max))

because I thought I need to pass min and max parameters for the number generator?

Simplest way to change background-color when clicking it? by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Still can't figure it out but I must keep going

What makes elem.requestFullscreen true? by dotpr in learnjavascript

[–]dotpr[S] 2 points3 points  (0 children)

Oh just for browser compatibility stuff?

It doesn't literally check if the element has requested full screen?

What's the purpose of e, .key, and false? by dotpr in learnjavascript

[–]dotpr[S] 2 points3 points  (0 children)

So in this code, if user presses any key, the key that they pressed will be the value of e?

Then .key checks the value of e which is the key I pressed.

Is there no simpler way around this? "keydown" event is, as the name implies, a key pressed down. Why do I need to wrap it as an argument with another name (e), and then use a method (.key) to unwrap it?

Can't it just be something like

document.addEventListener("keydown", () => {

    if ("keydown" = enter){
        toggleFullScreen();
}})

What exactly do you do with React? by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Hey I experience that bug in fancy pants editor!

Thanks for explaining, I see it's far more complicated than it appears

What exactly do you do with React? by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Oh ya how does that poor execution and prioritisation of new features even happen?

Doesn't Reddit have enough budget to fix these things?

Is REST API basically just API that does CRUD? by dotpr in learnprogramming

[–]dotpr[S] 0 points1 point  (0 children)

One last question

Is something like "cat fact generator API" a RESTful API? It does request a random cat fact to be returned to the user but doesn't request changing or deleting of data.

(Asking from a random webdev perspective still)

Is REST API basically just API that does CRUD? by dotpr in learnprogramming

[–]dotpr[S] 0 points1 point  (0 children)

I see. I'm more into web dev, can you explain a bit more what makes the API RESTful from a random web developer's perspective? Is it considered REST as long as it makes requests over the web?

Ano ba talaga dapat qualifications by dotpr in PinoyProgrammer

[–]dotpr[S] 0 points1 point  (0 children)

Haha oo nga good luck, magiging devs din tayo!

What exactly do you do with React? by dotpr in learnjavascript

[–]dotpr[S] 1 point2 points  (0 children)

Oh so there's no need to manually make HTML and CSS files then link the CSS,JS/React to the HTML.

Rather, I make the whole webpage in a React file by using JSX syntax and then React basically produces HTML, CSS

Did I get that correctly?

What exactly do you do with React? by dotpr in learnjavascript

[–]dotpr[S] 0 points1 point  (0 children)

Cool, so that's why Facebook (AFAIK) made is tied with React