Skip to content

Conversation

@jsuarezwd
Copy link

@jsuarezwd jsuarezwd commented Oct 21, 2021

What's new?

  • Banner link will open in a new tab

{
case 1:
<a href="https://bit.ly/xam-dev"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>
<a href="https://bit.ly/xam-dev" target="_blank()"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Junior @jsuarezwd , the target attribute should have the value _blank instead of _blank(), also I consider we should include the attribute rel with the values noopener noreferrer for security reasons. See suggested changes:

Suggested change
<a href="https://bit.ly/xam-dev" target="_blank()"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>
<a href="https://bit.ly/xam-dev" target="_blank" rel="noopener noreferrer"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>

Can you please apply those changes to each banner?

Source:

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

Successfully merging this pull request may close these issues.

2 participants