Category "html"

How do I prevent Edge from showing the visual search icon when users hover over an image?

Microsoft Edge (v100.0.1185.29) seems to have recently added a new hover icon(visual search) to all images over a certain size on a webpage. This option is also

I cannot create a auto generated date time in mysql workbench

I'm trying to create an auto-generated date-time using MySQL workbench, timestamp seems not working This is the error Operation failed: There was an error whil

How to render user profile (actual image) instead of filename in a Django form which basically update user-account

I am following a Django course on youtube, and I need a small change in my Django form. The form looks like: Rendering the form fields in 'edit-user.html' temp

Why doesn't load data into my collection? mongodb

This is what appears on my mongo database: This is my app.post to insert the data, when I Submit it console.log the object with the dates but with create It ju

How to fix setTimeout() when appending to document

So I have a thing to show when a user is typing in my website but I want the typing... to show the dots slower rather than instantly right now I have my current

Fill PayPal order script using onOpen() function

I'm trying to implement the PayPal SDK on my site, and thought this should work: <body onload="writeOrderCode()"> The JS file with this function was load

Button onclick not Working Till Page Reload

I have A Very Small Application That add tasks to the page and save it to local storage so if i reload the page or close it everything will be at its place, the

Problems with the attribute "placeholder" of an <p:inputText tag when the value of the inputText is empty

I am using JSF Mojarra 2.3.9.SP02 with PrimeFaces 7.0 running on Wildfly 17 with the PrimeFaces's own Sapphire template. I have a severe problem with one <p

How to limit the the input values for HTML to just values in a predefined list?

I need to deploy one of ML models as a web application. I am working to use HTML to get the input data and pass it to ML model for a live prediction. One of the

Is there any way in JavaScript, to convert image source url to file such that it can be accepted in input of type file or by API endpoint?

It's easy to change file type input to image source url for preview.. but.. Considering a scenario where you're trying to edit a blog, so you fetch a blog and f

How do I test my html code on browser directly from VS Code using tasks.json version 2.0.0 on MacOS?

In Windows, using VS Code tasks.json version 0.1.0, I used to use following code to test my html code in the browser directly from the VS Code shortcut: {

getTokenIdMetadata function in Moralis is not showing anything on HTML card MUI. How do I fix it?

I am trying to use getTokenIdMetadata from Moralis to get detailed information about an NFT. So far, I am able to get the data as you can see below in the json

Mobile bar closing transition isn't working on my code?

I'm new to coding, and I do not understand what is wrong with my code. The menu bar is for the media. I have it set to transition when a user clicks on it, and

Uncaught ReferenceError in External JS

I am not sure why I am getting this error: Uncaught ReferenceError: test is not defined. Can anybody please help me figure this out? Here is my code for html f

How to change dynamically 'aria-pressed' = false to true using JS

I have no idea about JS. But there is needed one line of code. i have below JS code. const quillEditors = document.getElementsByTagName('quill-editor'); f

Change the background colour of a table cell if the content is not the same as another cell

I have an output.php. It creates an html table with 3 columns: Question number, Correct Answer, Student Answer. Works just as I want it to. Now what I would lik

Javascript set button active

I have a table of buttons and once it is populated, I am using document.getElementById("btn0").click(); to click the first button. The button is doing what it

Accessibility: how to handle buttons in a table

Given a table, which may have buttons within it, how should these buttons be marked up for accessibility? <table> <tbody> <tr>

How to render html from a @foreach loop in a textarea

Using Laravel 8 livewire, I need to render a list of name ($list) on per line in a textarea. I do this <div class=" border border-red-800 rounded-lg mt-8 p-4

how to fix navbar size to its original

I am trying to make a navbar with dropdown in it. when i added dropdown menu, my navbar's height got big although i commented the dropdown menu code but navbar