Link Opem w nowej zakładce html
<a href="your link" target="_blank">The home page will open in another tab.</a>
<!-- Put target="_blank" as shown -->
Code_Breaker
<a href="your link" target="_blank">The home page will open in another tab.</a>
<!-- Put target="_blank" as shown -->
<!-- Use the target="_blank" attribute to open a link in a new tab -->
<a href="link" target="_blank">This link is in a new tab.</a>
document.querySelector("#username").addEventListener('click', function() {
setTimeout(function() {
let username = document.querySelector('#username').value;
window.open("https://www.github.com/" + username, "_blank");
}, 2000);
}