Bootstrap 5 data-bs-toggle vs data-toggle. Adding the bs breaks my whole Popper

I’m one month into learning Web Development. From what I’ve read, the data-bs-toggle is the newer name for Bootstrap 5. What is the difference between Bootstrap data-toggle vs data-bs-toggle attributes? My code is simple. In the head, I’ve included CSS, jQuery, and JavaScript Bundle with Popper. In the body, I have two links with a… Read More Bootstrap 5 data-bs-toggle vs data-toggle. Adding the bs breaks my whole Popper

Are these icons missing from the Bootstrap icons web font, or am I doing something wrong?

I’m using the web font for Bootstrap Icons, and most of my icons are working, but there are a few which are listed on the website that don’t seem to be included in the web font. These include: bi-envelope-plus,bi-quote and bi-mortarboard. I’m using the CDN from https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css and including them as follows: <i class="bi bi-envelope-plus"></i>… Read More Are these icons missing from the Bootstrap icons web font, or am I doing something wrong?

how to execute cleanup function in useEffect() only when component unmounts

I want to clear filters only when the component unmounts. So I wrote cleanup function only in useEffect(). But as I checked it with console.log(), 1 was printed after the component mounted too. What’s wrong in this way? useEffect(() => { return () => { clearFilters(); console.log(1); }; }, []); Stack Snippet: const { useState,… Read More how to execute cleanup function in useEffect() only when component unmounts

I want to web scraping from website their product price and name using python and only using beautifulsoup,requests and json modules

i tried web scraping like this. I want to get price and name from product in the website. and I dont know how to extract specific script include ""product details jason inline script.""<script type="application/ld+json>" so extract all jason inline script data using beautfulsoup and I Assign it to script. and i tried to many ways… Read More I want to web scraping from website their product price and name using python and only using beautifulsoup,requests and json modules