Category "html"

How to align text content with image in a row bootstrap

I want a specific display depending on whether I have an image or not in a row bootstrap. I want when I have an image and text content, I can have in the same r

How can I turn my navbar links into a dropdown menu with HTML CSS and JavaScript?

I am trying to turn the first two links of my navbar into dropdown menus. I want to make it so that when you click on them, the dropdown menu shows and the arro

KnockoutJS - How to hide certain elements inside foreach using Observable Arrays?

I have a list of WebsiteOwners. I'm trying to build a UI which will display more information about the owners when I click on them. this.toExpand = ko.ob

How to redirect the existing URL to new URL

I have a simple html website and in app folder I have a file called application_14.apk now I have sent the download link of this application to my users, later

How to align an embedded map to the center?

I am working with HTML code in Virtual Studio Code I am trying to align an embedded map to the center, how can I do it? This is my HMTML code below <section

how can anyone send email to me on my website in js

I am creating a project as I have created a contact page. I want any user to send me a email by putting his email and message in input box of contact page. I ha

Trouble displaying geometries on leaflet.js map

I am attempting to load a very large geojson to a leaflet map. The map is written in a JavaScript script and is referenced by the HTML script as is outlined bel

Filter by date using React Hook

There are 2 methods of filter by date and by letters , they should work together and separately. 2.I thought I can combine them , but nothing happened and tried

Why is onClick misbehaving and sometimes not showing data behind it?

New to typescript and have been using it for 2 days now mainly to build a custom component for my streamlit app. I have created the below navigation bar and the

A form isn't working when showing mobile view

I'm trying to set a mobile view for my site. In this particular case i have to show two different forms according to the width of the page (under 400px it shows

How can I center an entire DIV tag [duplicate]

I have a problem that I can't figure it out. I just started learning HTML, CSS, JS and BOOTSTRAP. My question is how can I center an entire DI

How to pass multiple parameters with Ajax

<select name="docname" class="form-control" id="docname" required> <option Value="">Please Choose Doctor</option> <?php fo

make a div show on page load

const links = Array.from(document.querySelectorAll("a")); const tabs = Array.from(document.querySelectorAll(".tabcontent")) const hideAll = () => tabs.f

How can i position a logo image from a list react component?

i would like to find the way to position the logo images like it looks here enter image description here I couldn`t find a way to position multiple logo images,

How can I print a function from JavaScript to html

I'm trying to make a out of '*' and I got the code right because it works in the console but when I try to print it in the html document it does not work functi

Discard audio before certain time from Hls.js stream

I am using Hls.js to live stream an audio feed into an audio element in my HTML. In my custom audio controls I limit the user to only be able to scroll back to

Inline images on mobile MJML

I am trying to create an email template using MJML. And I want to create an inline of images both on desktop and mobile. I wrote this code: <mj-section backg

having trouble in getting all the P tags of page

the article passages are divided into different divs tags like in the image you can see it is written data-page-number="2" just like that the data is divided i

URL and page refresh issue for Multilingual site on Django

plz help me to solve one issue. I have a Multilingual site on Django with standart internationalization framework. Settings.py MIDDLEWARE = [ ... 'djang

Prevent scroll bar to go up when click mobile nav

I have a mobile nav and I open it using this code in JS file: var toggleButton = document.querySelector(".toggle-button"); var mobileNav = document.querySel