(sry for bad eng, we are from Moskow and we are stupid D) We have a problem, so to speak: quation. I with my bro write sam any code on HTMl, JS. and we must make 3d model wiht interactive button, …
Tag: html
Bootstrap Card Render Problem in Google Chrome
Hello I tried to populate Bootstrap cards in a JSP file, but there is this rendering issue with chrome, where card becomes invisible. It works fine in firefox. I have tried inspecting the elements, it was fine. But when I try to scroll down, the card vanishes. Please help me how to resolve this issue. Here is…
framework7: broken tab links after stripping worker IDs from URL
shinyMobile’s inst/framework7-5.7.8/my-app.js file has the following code chunk at the top: It appends a random string (the worker ID) to the URL of the app whenever it is not run locally. E.g., https://my_domain/my_app/ becomes https://my_domain/my_app/_w_123456/. This is super annoying, as it prevents…
dynamically display value from an axios get request using vanilla javascript and dom manipulation
I thought the code below would do it but it gives me an “TypeError: Cannot read property ‘0’ of undefined”. how can get my data to display? I’m still new to javascript, please keep it simple and easy to understand. Answer You have lots of errors in your displayToDos method. It sh…
How to replace jsp tag with HTMLRewriter
I am kinda new to Cloudflare’s HTMLRewriter function. I am trying to replace a jsp tag with some html using HTMLRewriter. More precisely, <%= “${header}” %>. Is there a way I could possibly do this? I managed to replace a header tag <header>, but not jsp or some other string. Ans…
Sticky header nav menu, gap along the top when I scroll down the page
I am having a slight issue with my sticky nav bar. I have a follow us section above the nav bar and what I want to do is that if the user scrolls, for the nav bar to snap back to top of the page. I can’t set top:0 initially because it will cover the follow us. So I need
HTML/Javascript slow/crashing on quiz app
I have a problem with my otherwise fully functioning quiz game. There seems to be crashing/slow loading issues after around 5 or 6 (out of 10) questions. Its very strange because if I answer everything within a second (unrealistic but to error check), there is no problem. But as soon as I take a “normal…
If buttons of item were inactive for 2 sec – make action
I would like to implement such logic: User clicks on “Plus” or “Minus” button. If the user don’t click at any of those buttons for 2 seconds, then we assume that current quantity should be sent to the server. Right now, I have three buttons: “Plus” – increments …
How to use Link and Route inside of condition term
So I am trying to move through pages in react, my goal is when I did validate the things I need (name, and number) the page will switch and I will be in another route. (without refresh the page). I tried to do it with window.location but its refreshing the page I cant use <Link> because I want to switch
js DOM divs manipulation problems
I am currently learning DOM, and found the following task quite hard to complete in an proper manner. The js code is supposed to: append new divs, as a continuation of the existing ones, remove the existing divs, change colour of one div, switch all div’s text content. My issues: Task 1. works but in a …