Category "html"

havie been using js fetch api to post data from the cllient side to the server side in django but its not been posting

haven been trying to fetch data from client side to the server side(url='/update/' using js fetch,been getting the response but the data is not being posted to

How to get value of input tag that changes?

Basically, I wrote this function in JavaScript: <script> function getVal(value) { console.log(value); } </script> And this is my HTML input

How to make back to the top anchor link smooth scroll

i'm trying to make the back to the top button on click to be smooth scrolling but i'm stuck.. at the moment this code works but its not smooth scrolling to the

How to define the initial scroll position of scrollable div

I have a div card (bootstrap) in my project which contains messages from a chat. The new messages append below the old so, when the container is full the user c

Flaticon Icons from CDN stopped showing

They just stopped showing up randomly after a refresh. I got rid of all styling around the element and they are still not showing up. They also stopped showing

Nuxtjs/Vuejs CSS styles are conflicting for 2 components

I have 2 different components in my Vuejs/Nuxtjs application: pages/Create.vue and pages/Design.vue. I have the stylesheet assets/css/styles.css. Within the sty

How to make side nav not scroll while scrolling body in html?

I create a sidebar navigation base on : https://colorlib.com/etc/bootstrap-sidebar/sidebar-05/ If I append the "lorem ipsum". The side navigation will follow sc

Run function only once for particular element [duplicate]

I am building a simple todo app and I am new in JavaScript and I am stuck in a problem. I am trying to run function only once for a particular

How to Make Input Checkbox Update Price Total Using Values + Include Additional Fees for Total?

So I made this basic checkbox price app that updates the food price whenever you click on a checkbox option https://codepen.io/shodoro/pen/GRQNXyq However, I ha

Make Screen Reader read out a prefix text along with DOM contents when using role=option

I have an outer div of role="listbox" and a few inner divs of role="option". When I use keyboard up-down to move focus within the elements of the inner div, it

Can you have an HTML list where you choose the number value of each individual bullet?

I need to be able to generate an HTML list like (1) sdkfljsdlkfj (4) lksdfjlksjdf (2) lksdjfklsdjf (7) sdklfjlskdfj (16) sdklfjhlskdjf The parentheses aren't ne

How do have modal pop up when hovering over bootstrap 5 card?

I was following a template I found online to have a modal pop up when hovering over my cards with bootstrap 5. This is my code so far: class SavedEpisodes exten

how to move Javascript created DIV to bottom of page

I have swagger ui HTML page. there is generating HTML tags and divs with javascript so I want to move this whole description div to the bottom of the page. but

Django Form processing files

So I have the following code: # the view class UpdateDateView(LoginRequiredMixin, UpdateView): model = Date form_class = DateForm template_name = '

I need help understanding a Javascript function used to search a list with a search bar so I can modify it to search a table

I'm working on a college assignment where I use a PHP class to generate table values which a Javascript function then searches with a search bar. It builds off

Set the date value to the mat Input date picker in Angular TS

I have a requirement to read the query parameter for date and set the value of the Mat Input value to the value read by the query parameter. I am using Mat date

downsampling does not appear on the main frame

In html I use the frame on the main page but the downsampling does not appear on the main frame please solve the problem <pre> <frameset rows =

HTML/CSS that worked in chrome looks all mangled up in firefox

So I am trying to create this success modal box which looks absolutely fine in Google Chrome but completely breaks in Firefox. Can I please get some help with w

Creating Sticky Navbar with Drop Down Menu HTML

I am creating a HTML web page which contains a sticky navbar with drop down menu. However, when I created one, the dropdown menu does not works in the sticky na

Boostrap vertical sizing with different style width and height

I am trying to set verticaly icon on profile photo card inside div to be in the middle in white box(div), but dont know why it doesnt works. When I use style="w