Skip to content

Commit

Permalink
create new window upon clicking second button, with specified dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kenyansa committed Jul 11, 2023
1 parent 6f1b7ae commit c787d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ async function getQuote(url){
getQuote(api_url)

function tweet(){
window.open("https://twitter.com/intent/tweet?text=Hello%20world")
window.open("https://twitter.com/intent/tweet?text=Hello%20world", "Tweet Window", "width=600, height=400");
}

0 comments on commit c787d12

Please sign in to comment.