Category "html"

For Looping data in html and SketchUp

I have an array of data in SketchUp which I need to present to html in a table format. I have an example of my code which I have hard-coded. ID = [["Harry", "22

How to make navigation toggle button above body content view in html?

I have my navigation toggle to hide and show side navigation But if i zoom in the screen, The navigation button will go behind the body content view. .navigatio

How to make svg added as css ::after content scale to the size of the font

I have some generated html that has headers with appended anchors (no content, but with a unique id), and I'm adding a 'link icon' that pops up when you hover t

Rescaling content within an iFrame

I have an iframe, which takes another page and displays it. However, the content within this iFrame becomes unreadable if I move from a external computer monito

Express/Ejs appending localhost to script links in my index.ejs file

Error File structure Route app.get("/api/animation/:token_id", (req, res) => { const tokenId = req.params.token_id; const data = generateWorldData(); c

find element by class name (node js)

For my tool there is a button with a dropdown list if you click the button. The button is using a class : countryButton-1cNDvB button-f2h6uQ lookFilled-yCfaCM c

Display JS script result in Bootstrap color box

I want to display random numbers by JS calculation in CSS Bootstrap colored box as shown below. How can I structure my code by adding the following JS calculati

Adding an custom event to GTM Vimeo event tracking

I'm using this script to push play/pause/progress of vimeo videos on our website. I'd like to push another event "load" when video is loaded on page. I've tried

How do I get a menu to go on top of everything?

I am trying to have a menu that takes up 100vh when the menu button is clicked. However, I also have a header at the top so the menu content is lower than it. H

Beautifulsoup scraping "lazy faded" images

I am looking for a way to parse the images on a web page. Many posts already exist on the subject, and I was inspired by many of them, in particular : How Can I

if class not found return none in beatifulSoup

I'm trying to get None if the class is not found in web scraping. For example, in some cases stage-codes.html#10_99 doesn't exist in HTML. for st in soup.find_a

How to fill an SVG with HTML/CSS?

I've got this SVG, it is blue however I would like it to be black, and for the outer ring to be blue and the sword to be blue, keeping the text white. This is m

Selenium: Message: invalid selector: An invalid or illegal selector was specified

I'm trying to web scrape using selenium an NFT, website Magic Eden. When I try and scrape normal data like text on top of the page my code works fine, but when

How to access nested JSON with Jinja?

I'm learning Jinja for building a simple website. How do I access values of nested JSON in the Jinja syntax? Example: How do I only access the "Education" key i

Web scraping from html code of a database using python

I am new to python and am learning things slowly. I have earlier performed API calls from databases to extract infromation. However, I was dealing with a partic

How to align elements around the perimeter of a circle?

I'm trying to align elements around a circle like this: this is my code, I've added a drag function to rotate the wrapper box, I'm not very Math savy so I don

ReferenceError: Cannot access 'Block' before initialization

I'm writing some js code for doing tetris for a school project, and I got stuck with a class I wrote. This is the code: let canvas = document.getElementById

How do I use pyscript in my HTML code and return output

I am trying to call my python function created. But not getting any output and no resource how to achieve. Code : <!DOCTYPE html> <html> <head>

pycharm handling of <div> tag (no autoclosing)

Im editing html and i use a lot of div tags with bootstrap. for example : <div class="carousel-item"> <img class="d-block i

HTML : why doesn't drag events work in android?

I have a project that uses ondrag events(like ondragover and ondragend) but these events doesnt fired in android.i converted html to apk with Website 2 apk buil