Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link & Redirect Problem #11

Open
whovivekshukla opened this issue Mar 13, 2022 · 2 comments
Open

Link & Redirect Problem #11

whovivekshukla opened this issue Mar 13, 2022 · 2 comments

Comments

@whovivekshukla
Copy link

Hi,
Whenever I try to open the links from the home page. It opens on the same page but I want to open it in a new tab. Also, I want to upload a few of my own files on the web. So I created a new folder and put some files in there, but whenever I am trying to access them, it redirects to 404.
Can someone help?

@tjgrist
Copy link

tjgrist commented Mar 30, 2022

@whovivekshukla to open a new tab from a link, you have to set target="_blank" on the anchor tag element. Example:

<a href="https://www.google.com" target="_blank">Open in new tab</a>

For your second question, you have to add the files to the public folder.

@whovivekshukla
Copy link
Author

whovivekshukla commented Mar 31, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants