search
  • Sign In
  • Sign Up
Password reset successful

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

P粉725827686

P粉725827686

Follow
student

Follow 0
fans 0
integral 0
Why use an HTML5 semantic tag instead of div? [duplicate]

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:44Ask
CSS
Difference between __getattr__ and __getattribute__

I 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:09Ask
Python
WPF MVVM navigate views

I 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:59Ask
C++
Node.js: Unable to store SQL query results in an array

I'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:46Ask
MySQL
I've created an element in pure CSS via bookmarks. It is created but not visible

My 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:27Ask
CSS3
How to save user session information when user closes website

I'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:51Ask
JavaScript
Rewritten title: using hybrid rendering (server-side + client-side) technology

I 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:31Ask
Vue.js
How to set a background image using Next.js?

I 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:05Ask
React
Copy plugin in Vue Cypress component test

I'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:36Ask
Vue.js
How to use variables to execute SQL statements in Python

I 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
MySQL