search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉441076405

P粉441076405

Follow
student

Follow 0
fans 0
integral 0
How do I uncollapse a margin? [duplicate]

Collapsing margins in CSS: http://www.w3.org/TR/CSS21/box.html#collapsing-margins I understand the purpose of the feature, but I'm trying to do layout, and I

2026-01-10 21:22:43Ask
CSS
How can I move the ball instead of leaving a trail all over the screen in pygame?

I'm building a pong game trying to get better at programming but Im having trouble moving the ball. When the move_right method is called the ellipse stretches to the right instead of

2025-12-25 20:01:29Ask
Python
How to save a pandas DataFrame table as a png

I constructed a pandas dataframe of results. This data frame acts as a table. There are MultiIndexed columns and each row represents a name, ie index=['name1','name2',...] when creat

2025-12-18 11:43:07Ask
Python
Login using Javascript without a backend server

How to get and send data without backend server? I took on a project to create a login using JavaScript. Does it make sense to create my own JSON file? Where to store data using localstorage?

2024-04-01 09:43:17Ask
JavaScript
Retrieving the width of an element when using inline JSX rendering in a return statement

I have an element and I want to calculate its width and then iterate how many times it takes to at least fill the width of the viewport. The problem is, I can't get the width via the inline JSX render style I'm using. Even if I set it as a dependency, I still get the refWidth is empty error in useEffect. Is there a way to calculate and render correctly without first adding the element to a return statement, getting its width, and then appending the required number of elements? CodeSandbox link here

2023-09-20 22:00:52Ask
React
The specific meaning of the CSS animation name refers to the fill mode of the animation

Recently I tried using CSS to create an animation where the opacity of a specific class went from 0% to 100%. But I encountered some problems with the animation of class="bar". We can see that animation-fill-mode not only applies to the title animation (which will change the opacity), but also to the bar animation. Is there a way to specify the animation name for animation-fill-mode? Here is the code I used to make it. @keyframestitle{from{-we

2023-09-13 10:16:28Ask
CSS3
CSS translation not applied

I need to center my eye icon with my login form input. However, my Top50% and Translate properties seem to be applied to the main field class rather than inside the input. Therefore, the icon is not aligned within the input field. .form.field{position:relative;height:70px;width:100%;margin-top:24px;border-radius:3px;}.fieldinput,.fieldbutton{height:70%;width:

2023-09-12 00:30:06Ask
CSS3
Type reference provision/injection functionality in VueJS

I'm trying to provide a typed ref from a parent component and inject it into the child component. I'm not sure if I understand the VueJS documentation, but this is what I came up with. importtype{Ref}from'vue'importtype{InjectionKey}from'vue'importtypeDocumentSetfrom'@/types/DocumentSet'constdocumentSet=Symbol()asInjectionKey

2023-09-04 16:34:30Ask
Vue.js
Stripe - PaymentIntent requires payment method issues in Node.js

I'm trying to integrate stripe into my project but I'm getting a "PaymentIntent requires a payment method" message. The payment status code in the log is 200. But in the payment dashboard it says "Incomplete" because "The customer has not yet entered their payment method." Below is my stripe backend code exports.StripePayment=(req,res)=>{const{amount,token }=req.body;constidempotencyKey=uuid

2023-09-03 13:55:13Ask
React
How to pass data from child component to parent component in ReactJS?

I'm trying to send data from a child component to its parent like this: constParentComponent=React.createClass({getInitialState(){return{language:'',};},handleLanguageCode:function(langValue){this.setState ({language:langValue});},render(){return(&

2023-08-27 13:34:07Ask
React