Category "html"

How to show red flag icon in Salesforce LWC using SLDS?

I am writing a lightning html code to display red flag using the SLDS. However, I only see grey flag. Can you help me to get the red variant of the icon? Thank

Why screen readers navigate radio / checkbox buttons by directly selecting them?

I'm trying to be WCAG friendly and have created a group of radio buttons, which, when they receive on-change, trigger action. But when I tried to navigate it by

I have a transparent image to use in my html code in vscode but when I open it with live server the image doesn't get transparent

please help me in understanding my error of the code, in why the transparent images with .png extension are not getting transparent. <!DOCTYPE html> <h

I have a transparent image to use in my html code in vscode but when I open it with live server the image doesn't get transparent

please help me in understanding my error of the code, in why the transparent images with .png extension are not getting transparent. <!DOCTYPE html> <h

Change default input date placeholder

So I have this input button with the default state that has no date chosen (no value), but I don't like the way it stays, so instead, I would like the date form

Javascript hide/show div when the next button is clicked

I have a page with many images acting as button that when clicked on, reveal a seperate set of images. However, I only want one set to be shown at a time -- so

scroll behaviour smooth not working at all

I am wondering why my scroll smooth isn't working at all. I am not too sure why? I thought adding overflow-y: scroll; scroll-behavior: smooth; will help but it

How to filter vowel and consonant letters generated from a random string

I am making a word game that picks 8 random letters from the alphabet and the player must find words that use these letters. I must find out a way to make the l

How can I make these divs inline?

I cant seem to make the elements inside this div inline. Id like the h3 to be above the form then the next h3 and form beside that. <div class="title">

Vuetify date picker not displaying the whole month

I am working with vuetify date picker. The API I am calling will display data from a range of dates. I have called the date picker component with the range prop

Unsafe value used in a resource URL context (iframe)

Trying to pass value as iframe url from local db and and im getting error message: Unsafe value used in a resource URL context. i'm trying to display an array

Prevent flex box from growing

I have attempted all solutions I could find. flex-grow, flex-shrink, align-items:flex-start, flex-basis, and setting a definitive width:50%, etc. and I can't se

React: How to autoplay video on all devices but prevent it from launching full-screen on iPhone

I have a React website that autoplays videos on desktop. However, autoplay causes it to not only autoplay, but launch full-screen autoplay on iPhone (I tried Sa

Scroll bar missing from web app and unable to scroll

The vertical scroll bar in my angular app does not appear when items on the page go beyond the view. The scroll bar was there and I don't recall changing anythi

flex-direction: row isn't working in media query

When the screen size hits a certain number of pixels, I'm trying to get my footer columns to turn into rows inside my media query. I'm following along with a tu

Show current page on the menu Jquery

I'd like to change the background color of the current page the user is on. I've tried some code but they don't work. My js code is in a different file and it's

Headline not showing above Canvas

I created my portfolio a few months ago and everything was working fine. After about half a year I reopened the code again and now it is not working correctly a

How to create fixed height table in HTML and adding data dynamically without changing table layout [closed]

I want to create table in HTML with 10 rows. Table must be static one like below image, whether data is there or not table layout should not c

Add tags to post summaries of lithium themed hugo blogdown website

Using the guidance linked to at Add template for taxonomies to Blogdown default theme I was able to add tags to show-up at the top of my posts and create a /tag

How to create fixed height table in HTML and adding data dynamically without changing table layout [closed]

I want to create table in HTML with 10 rows. Table must be static one like below image, whether data is there or not table layout should not c