HREF Sourcing to srcdoc Folder

Problem description

When I try to use <a> tags in HTML, CSS, JS and link it to another HTML page it tries to access a folder called srcdoc (which doesn’t appear/exist on my Repl’s), it has the correct URL but then throws a can’t find URL error.

Expected behavior

The links for <a> tags to go to HTML files should allow you to open the other HTML pages.

Actual behavior

The <a> tags direct to a folder called srcdoc, but has the right URL and throws an error where it can’t find the right URL.

Steps to reproduce

  • go and create a new HTML, CSS, JS Repl and add an <a> tag link to another HTML page and run and click the link

Browser

Safari

OS

Mac OS

Device if mobile

iOS

Plan

Core membership

Im not reproing this on .replit.dev https://replit.com/@not-ethan/Testing-a-bug?v=1

1 Like

@not-ethan I checked my Repl and it is a .replit.dev URL and the problem still occurs → https://48c1ee5b-4647-4690-ba32-fa899fee5d56-00-172htpoql18jl.picard.replit.dev/

It also doesn’t work on other devices like PC. This is a really big issue, in my opinion, that needs to be fixed. It would be great if it was fixed soon as I have a school project that needs to be finished in a few weeks.

I also made another very simple 2 paged HTML Repl that didn’t work either.

I can’t reproduce with a simple testing Repl, perhaps it’s just your account?:
https://replit.com/@Firepup650/Testing-loading-issues (I reused an older test repl, lol)
https://65f7f162-5551-48fe-988d-49f8d8ec7b5d-00-l7v3wexigqxa.riker.replit.dev/

1 Like

@Firepup650 thats odd, I forked your Repl and it works, but when I fork mine they don’t work.

1 Like

Could you share one of your bugged ones?

https://replit.com/@AMS-TSA/WebsiteDesign

1 Like