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:43AskI'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:29AskI 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:07AskHow 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:17AskI 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:52AskRecently 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:28AskI 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:06AskI'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:30AskI'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:13AskI'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



0
120
0