I'm looking for a fast and secure way to add and remove classes from an html element without jQuery. It also should be working in early IE (IE8 and up).
I need to show the alert box when the user typed the number in the input field <input type="text" class="only-text"> if (document.querySelector('.only-te
I have one line in a html file containing a base64 representation of an image. This line spans thousands of lines in the editor, which is a huge hassle when alw
I'm creating a calculator in JavaScript. It is working, except for the add() function (sub, mult, and div work fine) and when I press "=" it sends the answer t
I want to draw 4 circles, being all 4 flex-items, and I need them to scale with the container they are in. I have seen some solutions where padding-bottom is us
Is there an alternative for that because Firefox and Internet Explorer are not supporting it... Example: <form> <input type="datetime-local"> </f
I'm writing a basic calculator in JavaScript, and when I hit "=" on the html form it is returning the entire calculator.js, not the result. I'm not sure why th
I am running into a problem rendering a star rating and was hoping I can get some extra eyeballs on my problem. I have the normal rating working just fine with
I'm using library TheArtOfDev.HtmlRenderer to convert html to image and then send it to printer. The Html I need to convert contains vertical text and rounded
I have a form that I use JavaScript to set the value of a hidden INPUT field which is the text of the OPTION selected. The $_POST captures the value of the OPT
I am using the bootstrap tab to navigate between three different tabs for a user. First tab(primary tab) is to display user details and second tab is to edit th
I'm trying to validate my website with the W3C validator but it doesn't work. I have a YouTube iframe and this is the error: The frameborder attribute on the i
I am making email template in Django to be sent to Outlook and I want to add anchor tag for navigation. However, I found the tags work in html browser but not i
Now im working on a small task with a select tag like this <select name="selectmedgroup" id="selectmedgroup" value
I have a fairly standard bootstrap-styled <table>. I want to make columns of this table resizable, e.g. by click-and-dragging right border of <th> e
we all know Drop-down list can have mutli menus in drop down like this I was trying to do the same using select element #otp2{ margin-top:-100px; }
Is it possible to apply a style in the inner "up arrow" and "down arrow" of a <input type="number"> in CSS? I would like to change the background of the u
In a React application that we are developing we use QA IDs for Selenium tests. Is it bad practice to leave them in the code base in production (live)? If so,
How to reproduce this sort of underline behind the text ABC using spans and css? I have been able to do underline below the text with nested span and colored
I am trying to click a button on a web page using the developer tools console in Google Chrome. The HTML for the button is: <input value="Send an Email" cl