var base_image = new Image(); base_image.src = 'https://......jpg'; var can = document.getElementById("pai"); var ctx = can.getContext('2d'); base_image.onload
I'm looking for a way to extract the heading and content from raw HTML. There are a couple of Python packages out there which does this (Newspaper3k, python-rea
Hello everyone I have such a problem. I have two scripts, anim.js and main.js . In anim.js describes the animation, and in main.js I'm trying to make a stop by
I've written a Wordle AI that displays its guesses in the same style as Wordle. (In case you're unfamiliar, each letter has its own colored square.) Sometimes
I am wanting to add hidden/additional information to a dropdown box. Currently, it works using javascript function myFunction() { var copyText1 = document.get
i'm creating blogger template and in that i have a side navigation menu. everything is perfect in navbar. You can check it Here so, its a very simple navigation
How to display the text fields when choosing different option from the selectoption (if select USA option USA text field need to show)? <select name="cntry"&
I just started learning JSP and Java servlets and I stumbled upon an issue. I will use a simple example to show this unexpected behavior. I have a .jsp file whi
I'm trying to make the div symmetrically spaced but when I increase the font size to 200% or 32px, the lower padding, which is of 3em and the
There is a website with the following div: <div class="x" style="user-select: none; filter: blur(4px);"> under this div there are a lot of other divs. I
I'm using Bootstrap 4 in html and I have an input box made of an input bar and a button. I set the size of the button to "lg" (large) but I can't set the input
BeautifulSoup getting href of a list with ++ records I have the following soup: <a href="some_url">next</a> <span class="class">...</span&g
I have this code https://jsfiddle.net/kxrmcpzn/ <!DOCTYPE html> <html class="no-js" lang=""> <head> <meta charset="utf-8" /> &
this is the code where i send email. the file_get_contents(); i retrieve the content but in plain format text. the css style didnt read. <?php use PHPMaile
I'm writing simple HTML & CSS & JS code, I've trying to create a responsive nav-bar with my logo as a link for the home page - however, when the navbar
const [photo,setPhot]=useState('') photo setPhoto(e.target.value)}/> const handleFormOnSubmit=e=>{ updateProfile({photoURL:photo}) const [photo,setPho
I have a page that will show several svg images that will be generated from json data. I created a javascript class that will generate the svg but I don't know
I'm working on a problem where I have to take three images as input from the user and have to send them to the backend by converting them into Base64. I know ho
You can see in the picture below, it displays normally on desktop, but changes on a mobile view. I created this box with a span and added some objects in it, bu
I have a looped video with this css code .bg video{ position: absolute; top: 80px; left: 0; width: 100%; height: 91.4%; object-fit: cover; This is the HTML cod