I have a table that is being populated by firebase database values. When I launch the application, I obtain the following error: Uncaught SyntaxError SyntaxError: The requested module ‘https://www.gstatic.com/firebasejs/9.8.3/firebase-app.js’ does not provide an export named ‘child’ at…
Tag: html
Auto excluding selector resembling a toggle
I’ve being searching around and found some jQuery and Vanilla answers. I even found the exact answer to my problem, but it did not work within the rest of my code. So I have come with this adapted code which I took from this question Show / Hide Div on Click with JavaScript and it works fine but…a…
What is causing my Canvas element to overflow and what can I do to fix it?
I have a problem with sizing my canvas element properly. The result as seen below is a canvas element (green outline) that extends it’s height outside of it’s parent div. What is causing this problem and what can I do to fix it? HTML: Here is the HTML code, there isn’t much to it. SCSS: The …
why isnt javascript ‘For’ statement working in array?
i have a script that creates an array of words from a sencence and then capitalises each letter i am getting sintax errors whenever i run the script. Here is all of the JavaScript that is related to the input and output boxes. the error is for the i in addressArray[i] and the townArray[i] i feel like it is st…
Browser sending request for already buffered video data
Problem As the title says, I’m seeing an issue where the browser (when seeking through a video) is constantly making requests for ranges of bytes it should already have. Code I’ve provided a minimal code sample; to replicate the issue, whip around the current time control on the video and look at …
HTML – Text besides div in a line when spaces added
I have html – https://jsfiddle.net/nko8p6fr/ It can be seen that , in the text – very long text ; there are 2 spaces. I want long and text to bring in one line. First line should contain only one word , rest all words in second line. Something like this – How can I achieve it? Note :- These …
Facing issue while updating auto increment counter value in react.js using useEffect Hook
I’m having an issue with the auto-increment counter, which updates every 2 secs. It updates the value but in a glitchy way Please check the code and share your views regarding the problem. Answer try this
Receive “Cannot set properties of null” error when changing SELECT options using JS
I wrote a script to change the options of a second SELECT element based on the first SELECT element options. But the issue is whenever I try to change the second SELECT options, the console gives me the following error. Important: This is a tiny snippet of code from my entire script and page. Uncaught TypeErr…
How to draw writable rectangles on images using JS
Liveworksheets is a website for students and teachers where teachers can upload files with questions then after uploading the file the teacher answers these questions and then send this file to students -without answers of course- to answer it. There are many ways that can teacher use to solve these questions…
How to access an element from an external HTML document?
I’m trying to build a small project where I create a new HTML document (which would be an individual page of an e-commerce product) and another document takes the information from that created document. However, I have no idea how to extract information from an external document without having to embed …