Category "html"

I can't seem to define variables in my code, because document.getElementById( ) won't insert the value in it [duplicate]

I am trying JavaScript and HTML with a little CSS (that is not required), and I can't seem to define this variable. I have the element id wit

HTML name/value button attribute not being sent via POST request to server

I am currently using HTMX and Django to process button clicks within a table that adds the selected item to a list. I am trying to use the name/value HTML attri

How to animate moving each text -30deg [duplicate]

I have a Problem that my text is moving x-direction instead of 30deg. I need to move the text 30deg along. I use transform: rotate (30deg) and

how to scale down absolute positioned elements in the right way using CSS

i would like to ask how to scale down elements given absolute position so that they dont distort on reducing the screen size. Like i have attached an image belo

How to call the same angular component multiple times using querySelector

So I have a component called custom-modal.component. The HTML file looks like this: <dialog id="custom-modal"> <ng-content></ng-content> <

How to make this responsive layout

I can't get the right part to assume the center of the page while being constrained by the content of the left part. Does anyone have time to look into my probl

PHP inserts weird symbols instead of polish letters [duplicate]

When i'm inserting data from mysql database using this code it doesn't fill polish letters instead it shows random weird symbols instead of po

I need to use a boolean column from my database that is set a 1 or 0 to change the look of one of my articles in my web page

Sorry if the title is a little confusing was trying not to make it too long. I am currently in school and my teacher has tasked us with this "Add a boolean colu

What's the best way to achieve this kind of grid template

I'm facing a problem with creating this kind of grid template by the simplest way. I've tried to find something similar to this that would help me but I've foun

How can I style option hover background?

I made select-option. But option:hover does not work. How can I fix it or what do you prefer? Style must be like this My codes <select> <optgrou

Get Elements of a webpage in a webview

I'm trying to get the Elements of a webpage in a webview. These are actually values of an odometer. I'm using sketchware. I've tried getting the class values wi

how to add a table row that have different size and display compare to other row

in this excercise, i create a table with 5 row in tr and i put the last row (1 input and 2 button) in a div class btn. the display of last row is ok but i expec

add div element dynamically in same form

I have a div element which should add itself when the image plus sign is clicked. Can someone please suggest the way to implement it? I am not experienced in we

Set "selected" tag in responsive dropdown and select using Flask and jinja2

I have a flask server which sends a dictionary of options to a dropdown or selection (in form). Here is the Python code: @app.route("/", methods=['GET']) def in

How to change the aspect ratio of image and upload to Imgur?

I have a drop zone where you can drop or select images. And I am using a background-image property to display the image. I am building a post scheduler for Inst

How to set the download file extension for blob data

In my site video use the blob data, when the video was downloaded, the saved filename is the blob name with .txt(4671addc-3ce0-4eb6-b414-ddf3406b1fe5.txt) exten

Using Firebase with npm

I would like to use Firebase in my project with NPM and I installed it using "npm i firebase". This worked fine so I made a new file called "app.js". Here I wou

how to show 1 div out of 4 at a time

So I have a navigation of 4 links, to 4 divs(pages). I want only one page to show at a time, with the id=home showing first once the page loads. To be clearer,

Filter my select options by department and location

I have a problem in my website, I have 2 dropdown selects that are Departments and Locations, my problem is when I select a certain department and start typing

Codeigniter - foreach form input table

I have a foreach loop contained within a form there an input is required. I want to submit these all of input values to the database. Currently it only submits