Stylesheet not loaded because of MIME-type
I'm working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes.The gulp task compiles everything properly, but on the website, I'm unable to see...
View ArticleHow to submit form data to express server?
I have set up a basic express server to accept some information submitted through a form. Unfortunately, I have run into some problems. I cannot log the data I receive onto the console. Can someone...
View ArticleZ-index must be related to body, but the element position must be related to...
I have the following DOM element on my application:<body> ... <!-- ELEMENT 1 --> <div class="position-absolute" style="z-index: 10;"> CONTENT </div> <!-- ELEMENT 2 -->...
View ArticleEnter value in Input text with description in another table
How do I update my Extratos table each time I edit the value in the input text. In update Users I have Input text field and I would like each time to enter a numeric value also update in the Extratos...
View ArticleOverflow-x appears when I add a row
I am a beginner in bootstrap, after doing some research, I know that it is possible that an overflow-x appears when I misuse the bootstrap grid. But there I really don't know where the problem comes...
View ArticleWhy do the browsers render center aligned text differently at different...
I have a "notification bell" on my website and a number in it (how many notifications you have). That number is in the middle until about 1200px, then it goes slightly to the left (1px). Looking...
View ArticleGet html form elements [duplicate]
This question already has an answer here:Is it possible to write data to file using only JavaScript? 8 answersi tried to get form values and write it on config.json fileused this code<form...
View ArticleAdd Multiple Styles with JavaScript
I want to add multiple lines of CSS with JavaScript. I know I can do this:document.getElementById(id).style.property=new style as in:<!DOCTYPE html> <html> <body> <h1...
View ArticleHow do I have text hover over a custom shape?
'''<script> ctx.fillStyle = 'rgb(82, 77, 76, 0.5)'; ctx.fillRect(15, 135, 720, 600); </script> <html> <body> <div Id = "text"> <ul> <li>example1 </li>...
View ArticleHow to run oninput function of 2nd input tag from 1st input tag`s function
I want to run oninput function of 2nd input tag from 1st input tags function. That works with onchange function of 2nd input tags function. There is an example of onchange function : -...
View ArticleHow do I pass a variable into an ejs script tag attribute?
I'm trying to pass an API Key - which I call on the server side and pass through to an EJS file - into the src attribute on a script tag. When I console.log the string it prints exactly how'd I want...
View Articleshow comments to unique to specific blog post
I want to show comments unique to the blog post on each blog post but when I click submit on the comment posting form it throws an error saying IntegrityError at /post/6/comment/ NOT NULL constraint...
View ArticleHow to be able have a form input and display variables on the same page in...
I was wondering how you would be able to take in inputs, and display a different set of read only variables on the same page using django with python and jinja and html. Currently, I am able to display...
View ArticleHow to set the body background image at 50%?
How can I make the body image only visible in half? I also tried with background-size, I don't succeed or I don't realize being a beginner. Looking for a few good hours to answer the question, I do not...
View ArticleMedia queries not working despite simple use
I have a very simple media query. However, it is not working. Here's the code:<!DOCTYPE html><html><head><meta content="width=device-width, initial-scale=1" name="viewport"...
View ArticleHow to force browsers to preload image with display: none?
Firefox will not load images with display: none until they are required to be shown to the user. Chromium will stall until the image is loaded, and then display it.With smaller file sizes, there is a...
View Articlecurved path slider in css
I'm new to css animations I'm trying to realize a css ellitic curve dot slider, and I got a satysfing result, the problem is that the effect get executed from the right side of the screen I want it...
View ArticleDropdown menu doesn't dropdown on hover
<li className={styles.link + "" + styles.hideOnMobile}> <div className={styles.dropdownMenu}> <button className={styles.dropbtn}>Product</button> <div...
View ArticleHow to use multiple route for notification in Laravel
How can I use multiple href tag for notification? I mean whenever I put the route in the tag it redirects me to that only one specific path but I want to redirect them to the related...
View ArticleHTML Form Not Submitting on Safari and iOS Safari
This has never happened to me before but I have this form and when I click on the button, it does not do anything, as if I clicked a <button type="button"></button> element, this is just...
View Article