Why use HTML5 semantic tags like headers, section, nav, and article instead of simply div with the preferred css to it? I created a webpage and used those ta
2026-01-07 11:22:44AskI am trying to understand when to define __getattr__ or __getattribute__. The python documentation mentions __getattribute__ applies to new-style classes. What are new-style classes
2026-01-02 12:01:09AskI have a WPF application with multiple views. I want to switch from view 1 to view 2 and from there I can switch to multiple views. So I want a button on view 1 that loads view2 in t
2025-12-02 10:01:59AskI'm trying to push the results of a SQL query to an array. However, it doesn't seem to work. I can't find a solution online. If anyone can help me solve this problem I would be very grateful. letdata=[];connection.query("SELECTDISTINCTrefererFROMpublisher",(error,results)=>{if(error){console.log(error);}else{resu
2024-04-06 14:14:46AskMy code is as follows: g=document.createElement('div');g.setAttribute("id","divcontainer");g.innerHTML=`HTMLGOESHERE` When I use this on my website I want the div to be centered and Visibly, it's working because it creates the div (tested in console), but I can't see it. I'm not using JQuery, but I could if needed. I
2024-04-04 17:27:27AskI'm trying to build user replay session functionality for a website and I'm using the rrweb library to do this. What this library does is when recording: it captures all the events in the web page and I can save these events by storing them in an array and when I want to replay the session I just pass the array to the replay function which Handle session replay. Currently for testing purposes I save this array in my sessionStorage and every time a new event is emitted I get the array then push that new event into it and then sess again
2024-03-21 21:13:51AskI want to create an e-commerce platform that requires the page to be rendered on the server (the initial state is calculated on the server) but filtered using React or vue components to change the initial state by getting the filtered data using api calls. Do you know of any JavaScript frameworks that support combining server-side and client-side rendering in one route/page?
2024-02-25 16:20:31AskI tried setting the background image using Next.js but couldn't. This won't work. The image won't show: //globals.cssbody{background:url("/images/grid.svg")repeat;} I want to repeat the background image throughout the page like this: How to set it up? Thank you in advance!
2023-09-09 12:39:05AskI'm using Cypress to component test my Vue application. Following the code examples at https://docs.cypress.io/guides/component-testing/vue/examples#Replicating-Plugins produces several errors, listed below: Argumentoftype'(this:Context,component:ComponentOptionsWithObjectProps&
2023-08-30 19:44:36AskI have the following Python code: cursor.execute("INSERTINTOtableVALUESvar1,var2,var3,") where var1 is an integer and var2 and var3 are strings. How do I write variable names without having Python make them part of the query text?
2023-08-21 16:40:37Ask



0
115
0