Category "html"

Bike parts in box are not fixing in one place - html css

I am using Visual Products Configurator as per client needs. The product is a bike, and it is divided into 4 parts. Bike body Front wheel Back wheel Seat I am

Javascript Animated Skill Bar On Scroll

I'd like to activate all of this animations whenever I scroll to a certain section, in this case the second one.So basically it starts with the section one and

Bootstrap 5 Accordion button (arrow) missing

I've copied the example from Bootstrap 5.1 docs. When I pasted it into my .html it looked clunky (and was missing the default arrow) so I did some minor css to

Why Is My HTML and CSS Code Not Running Properly On The Internet?

I recently added some text effects to my website in HTML and CSS. It runs perfectly on VS Code live sever but whenever I upload the code files on to my cpanel,

Component not centering when screen is smaller

I am making a website which has to be compatible for all devices (laptop, tablet, phone) and can't seem to get my weather API component to become smaller when o

Uncaught Reference Error: variable undefined

I'm trying to define a class in a separate javascript file and then use that class in my HTML file. Here's what I'm trying. I create the class VoiceCard in the

GoLang html template if condition

I made a web app in Go which search for a query in a mysql database. Everything works fine, but I do not know how to obtain following: if there is no result in

Submit a text string plus file - edited

I am trying to submit a text string (downloadstr) and 1 second later to submit a file. I have to do this in plain JS/HTML (microcontroller webserver) I submit t

Using functions from imported modules in another file

Say I have file1.js and file2.js... file1.js: import React from 'react'; const test = ( {prop} ) => { function test1() { prop('1'); } fu

DOM .value attribute not working - returning blank string

For whatever reason, the .value attribute on the input boxes is not returning the values entered. When running it through the Number(), it returns 0, and withou

TemplateDoesNotExist at /home/

I'm following a video tutorial but Im getting an error. The only differance is that author uses Subline Text, while i use VSCode what is causing the error? ente

Keep constraints between two elements when one is getting off screen

I would like an element "1" to go off screen (off red square in my example) and to be followed by an element "2" without having to use anything else than CSS co

Javascript works in codepen but not on browser

const toggleButton = document.getElementsByClassName('navbar-toggle')[0]; const navbarLinks = document.getElementsByClassName('navbar-links'); toggleButton.

Take full screenshot in Chrome

I developed a little chrome extension, which takes a screenshot from the current page. The Problem is, when a part of the current area is covered by e.g. the in

Display text (flexbox) when hover over image

I want to hover over the rotating circle to display the 4 "about" texts. But the issue is that I am using flexbox and when I enter the cursor into the area cove

Price won't show up in the html parsing

I'm trying to get the price of this object into a variable and print it out/put it in a CSV. This is the section of html that I am trying to parse: <span cla

Dropshadow in html canvas using context.putImageData

In a html canvas, I am trying to generate dropshadow on an image with transparant pieces in it. This image is generated by code and then drawn to the canvas usi

Place position fixed item inside d-flex to right hand size

I am trying to make a alphabetic navigation bar at the right hand side of screen. The purpose of this bar is to navigate to the correct country code base on the

How to justify on both sides text into a DIV in HTML5 for being rendered into a PDF by using DinkToPDF

Recently I started using DinkToPdf library to convert a html in an asp.net core 6 project to a PDF file. I started by creating a Proof of Concept cshtml that wi

Why do HTML dropdown selections sent in the form of an email look so unreadable

I'm working on an automated shopping list using HTML only. I've figured out a way to send the dropdown selections to an email draft. I wanted to know why the HT