what does “Uncaught ReferenceError: createCookie is not defined,” mean?
On my website, when I press the submit button it spits back this error “Uncaught ReferenceError: createCookie is not defined” at line 61, what do I do to fix it? for context,
this is the full HTML script:
Why does Discord refuse to embed my website?
My website embeds perfectly as expected everywhere I’ve tried except Discord, for some reason it refuses to embed no matter what I try and I cannot figure out why, I’ve tried:
Why does discord REFUSE me my embed, stripping my backend of security completely didn’t fix it, remaking my tags didn’t fix it, IDK WHAT ELSE TO DO
My website embeds perfectly as expected everywhere I’ve tried EXCEPT Discord, for some reason it refuses to embed no matter what I try and I cannot for the life of me figure out why, I’ve tried:
remaking my tags entirely,
Stripping my backend of all security,
completely rebuilding my backend,
allowing discord through every bit of security I have,
The only times it has embedded properly were when i tried hosting one of my html files on tiiny.host and on github pages, so it MUST be something in my backend, but the only things I could think of possibly causing it were CORS, CSP, and Helmet, but even removing all 3 of them entirely didn’t work, I am at a complete and utter loss
Not able to make desired changes to a quiz app
I am trying to make a simple quiz app in vanilla javascript. When a user clicks on the wrong option, I want to change the background color to red and the color of correct answer to lightGreen. After these two color changes, I don’t want to change the background color of two remaining options to red when a user clicks on them.
My logout button did not display. Can you help me with this?
let userSignedIn = false; // Function to handle login form submission function handleLogin(event) { event.preventDefault(); // Prevent form submission // Get input values var email = document.getElementById(“login-email”).value; var password = document.getElementById(“login-password”).value; // Retrieve user data from local storage var storedUserData = JSON.parse(localStorage.getItem(‘userData’)); // Login page confirmation if (storedUserData && storedUserData.email === email && storedUserData.password === […]
Can we make yllix Ads only load if specific function is triggered?
I’m currently developing a web application where users can access certain links after a countdown timer expires. During this waiting period, I’d like to display Yllix ads to make the experience more engaging & to make some $$. However, I’ve encountered a challenge in optimizing the performance of loading my web pages because these ads load even if they are hidden {display:none;} giving a laggy bad experience impression to my users. What i want exactly is loading these ads only if the countdown timer is triggered, otherwise it shouldn’t be loaded in background. Well i asked ChatGPT and Copilot both of them gave me dynamic executing solution but all of these methods not excuting the internal documents of the Ad Units i think because the yllix Ad units only load if they are place in pure html.
My attempt to dynamically append the Yllix ads without success indicates a potential limitation with Yllix’s implementation. Is there a workaround or alternative approach to achieve this? I’m open to any suggestions or insights on how to seamlessly integrate Yllix ads into my countdown timer functionality. And just a Note: i can’t use Adsens please don’t ask me to switch to other Ad Networks. Thank you in advance for your help.
Here’s my ylixx Ad Unite (300×250 Banner):
Why doesn’t this JavaScript code find the most common HTML tag in a page’s source code?
I am designing a web app and the below code is supposed to find the most common HTML tag in a page’s source code, but it always returns ‘html’ instead of the correct tag. Why doesn’t this work as expected?
can’t understand javascript to upload files from my device
I have my javascript code but when I go onto my website, using the html, css and javascript the upload button, wont work in the file part for my website witch for my website I really need the proper javascript code, to make the upload button work so I can upload files or folders into the file part.
window.location.href not redirecting to another page ?#
when i press on the signup button it stores the data and make everything except redirecting to other page instead it give ?# in the path of my browser
`function login() {
let password = document.querySelector(“.password”).value;
let email = document.querySelector(“.email”).value;