How to display an alert message if the value is blank in the form
I have a form (bootstrap) in the script and need it if the user does not select the language and the value "" is blank to display the alert message and that he had to choose a language to proceed on...
View ArticleExample for storybook.js HTML
I'm trying to learn storybook.js by starting with @storybook/html. Apart from the Storybook guide to setup HTML and the HTML-kitchen-sink example, I cant find any other examples or projects for HTML....
View ArticleCan anyone tell me what is wrong with this CSS code?
I have copied this code from a free website, it is completely working on this website, but when I use it on my website, it gives me errors such as; unexpected token and '}'expected.. I will add both...
View ArticleLooping change listening and counting loop in JavaScript
Problem/principle of operation:I have tables, divided into X rows and Y columns. In creating the table uses Razor syntax for ASP.NET Core.In the table I have to make a mathematical equation giving me...
View Articledeleting character from a string one by one
i've been trying to create an effect like a string is being typed in my webpage. In other words that string will appear character by character. so I did this using jquery and succeded . the code I used...
View ArticleOne function activated by two buttons
I have two buttons and one function called 'starta' and it has parameter'oi'. My question is shouldn't the button with id of 'ooii' just work and not both of them ? Could somebody explain the reason...
View ArticleIs there a `loadedmetadata` for html5 img?
I'm rendering large images which are streamed natively by the browser.What I need is a Javascript event that indicates that the image's dimensions were retrieved from its metadata. The only event that...
View ArticleHow to use last-of-type but targetting a sub-tag in it using CSS [duplicate]
According to this page, I can use the :last-of-type to select the last occurrence of the specified tag. I've tested it and it works if the elements are static in the HTML.<style>...
View ArticleHow can I centralize my brand + name with my pages?
I am using bootstrap to create my navbar but I am having a problem. My brand img and brand img is not aligned with my pages names... [![enter image description here][1]][1] [1]:...
View ArticleApex Charts dont resize properly when using Flexbox
Recently I changed Floats to FlexBox to have easier work with panels (as advised on other questions I did). While most of the things are working as I expect it, I'm having a problem with Apex Charts...
View ArticleHow to load an image locally and display its contents using HTML [duplicate]
I want a valid code for how to load an image locally and display its contents. I have tried several times but failed.<button class="btn " id="upload-file-button"> Upload Pictures <input...
View ArticleAdvanced CSS challenge: underline only the final line of text with CSS
I want to underline the final line of multi-line text, or at least create the allusion of it. Look closely at the following examples, because I'm trying to do something tricky. A. Here's what I want to...
View Articlehow to find the value of net salary in javascript?
[enter image description here][1][1]: https://i.stack.imgur.com/ztI16.png the variable ns in the image is making problem and not giving the result needed plz suggest the proper way of writting it .
View Articlehamburger navbar problems with activation
I have problems with getting this to work... I watch a tutorial (not old) and followed closely. Can anybody see problems with this code or why it shouldn't work? I have started over multiple times, but...
View ArticleHide 'close' links when modal is not open
Ive been working on this for hours, I've tried vars, I tried hiding elements, and nothing is working and and and.. sorry for the exitement, but I'm almost down to the end, the issue:: I have a basic...
View ArticleDisplay article from backend and style it with html
I have backend that is returning me whole article body text as String. On my website I want to create each article in different HTML/CSS style, for example have <br> tag to break article when it...
View ArticleScraping Search function using Jsoup
Hello guys how are you all :D ?im trying to scrape the search function from this websitehttps://mangairo.com/manga-list/type-topview/ctg-all/state-all/page-1i can scrape its data imgs texts etc etc,...
View ArticleShow variable within TWIG short form if/else statement with HTML
{{r.status == 'active' or 'scheduled' ? 'The order status is <a href="https://example.com/"> {{r.order}} : 'The order status is cancelled'</a>'When using the line above it prints...
View ArticleShrink navbar while scrolling down using Bootstrap 3
I am using Bootstrap 3 for developing a website. I need to create a navbar which should shrink as the user scrolls down.Something like - http://osticket.comHow can I create this? I am using Bootstrap's...
View ArticleCannot Export Canvas as Image
I have single html page on this page I am just trying to download the canvas but getting this, I have also tried this but no luck ,also I cannot set CORS policy because there no web framework...
View Article