🔎 What you'll see
Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an insecure resource 'http://...'
🤔 Why it happens
When a page opened over a secure connection (https) loads an image, script or API from an insecure address (http), the browser blocks it or shows a warning.
🛠️ How to fix it
- Change the http:// addresses in your code to https://.
- If the other server doesn't support https, you'll need a different address or service that does.
- For files on your own site, use a site-relative path like /path/... instead of //example.com/...
🤖 What to ask your AI
Replace the parts in [ ] with your own details, then paste it in.
My browser shows a Mixed Content warning: [message]. Can I just change this address to https? If not, what should I do?
Other errors
CORS errorThe browser blocks your page from fetching data from another site404 Not FoundThe address or file can't be foundundefined / Cannot read properties of undefinedReading a property of a value that isn't thereis not definedUsing a name that was never declaredSyntaxErrorBrackets or quotes don't match upExposed API keyYou put a secret key in your code or on GitHubBlank white pageYou deployed it and all you see is a blank screenis not a functionCalling something that isn't a functionUnexpected token < in JSONYou expected JSON but got HTMLCannot use import statement outside a moduleThe browser won't accept your import statementfavicon.ico 404The console shows a 404 for favicon.icoData disappears when I refreshYour to-dos or scores aren't being savedPage looks broken or tiny on phonesFine on a computer, weird on mobilegit push rejectedA "rejected" / non-fast-forward errornpm: command not foundYour terminal says npm or node doesn't existPort 3000 is already in useYour dev server says the port is takenEnvironment variables (.env) aren't loadingYou put your API key in .env but it comes out undefinedThe AI keeps failing to fix the same errorYou ask for a fix and nothing changes