Category "html"

how to move placeholder to top on focus and while typing

I am trying to implement a simple input box where when I click on the box the placeholder value moves to the top but have an issue that it always shows on top.

carousel only with pure javascript - cannot figure out some things

I have a really important project to present next week and I cannot seem to figure out how to do a simple carousel with js and css. I have always used bootstrap

Go to a precedent page in a php site

I'm creating a simple php program and I'm trying to find a way to be able to go from the page 2 back to the page 1 with a button. I tried by making a button in

Next.js Image always on top

I am using Tailwind CSS to style a Next.js website. I have an image element for which I am using Next.js Image element. Now I want to open a modal on top of the

How to clip a background image using css without affecting its size?

I'm using a picture I found on Google Images as a background image. However, a Google Search bar appears at its top. On its left hand side various icons/logs su

county boundaries for US map with large data

I am trying to load all the county boundaries in the initial load. So I researched and found that loadGeoJson will support that. when I test with state boundari

Why does using replaceAll instead of replace give me bad results?

I'm still working on my IDE and I keep running into problems and I'm wondering if I just keep doing something wrong this is the sample of code that I need help

Menu Item does not break like but pushes one word over the other when re-sizing window

It's probably something small, but I cannot figure it out. When resizing the browser window, the string in the list items don't break onto a new line. (see imag

Sticky Nav Bar Issues

I am trying to make a sticky navbar but when i do position: fixed it moves my navigation and merges it to the top left. the logo should be on the left and the n

Schedule Selector when creating events

I want to prevent the user from being able to select multiple times when creating the event, but I don't know how to do this, for example, when an event is at 1

How to replace hash url from one to another

I would like to replace from: https://www.mywebsite.com/search?updated-max=date to: https://www.mywebsite.com/blog Only visibly, because https://www.mywebsite.c

random an infinite generated grid of pictures

I have some trouble with this web app I'm making, I need to make an infinite and random grid, but I don't know how to make it random, in that way that either it

onclick() event is not working in javascript and span tag

I have written the below code to display textarea in the form but it is not working in javaascript. the real requirement is when i click on reply in span tag a

How to convert blob / object to video React

I am building a project that has a video player that is read from FastAPI. How can I convert the blob / object into a video format. Please advise This is what I

By click of the button the same form is added under that form but how can i get the value of the number of times it getting printed &store it in table

by click of the button the same form is added under that form but how can i get the value of the number of times it getting printed &store it in table. How

How to update the actual true value="" of a input field when another field is entered

I have reviewed tonnes of articles and all solutions only update the visually displayed value as opposed to the actual value within the input tag itself. When I

Is it possible to write css directly inside html tags when convert pdf to html?

I'd like make script to edit pdf file, so the solution that I found is to convert pdf to html then edit the html content with WYSIWYG ckeditor and then convert

New text not showing up

I made a Quotes generator website, Which uses an API. When I click Generate Quote it is just stuck on loading How can I fix it? function randomQuote(){ quot

Make YouTube video embed responsive

I have some videos that are embedded on my webpage from YouTube. The thing is I am using the below-attached code to make it responsive (via bootstrap). It's goo

Why are my inline divs at different heights?

I am using a grid container on an html page; inside two adjacent divs in the grid I have some little divs. I want these little divs to appear at the same height