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

<Button> that opens to a new Tab #29

Open
kmcodesdev opened this issue Apr 14, 2022 · 1 comment
Open

<Button> that opens to a new Tab #29

kmcodesdev opened this issue Apr 14, 2022 · 1 comment

Comments

@kmcodesdev
Copy link

hello, I would like to give functionality to the Button to open a new Tab.

Line 18 of Hero.js file (https://github.com/adrianhajdin/portfolio_website/blob/main/src/components/Hero/Hero.js) ...

Tried different ways but I either received an error or a button that won't respond to clicks!

If you know how to code a Button that opens a new tab I would appreciate your help!

@KamalSinghKhanna
Copy link

@kmcodesdev
I think target="_blank" inside tag should open a new tab.

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