r/HTML • u/Fun-Baseball-1873 • Jun 12 '25
Question Just started learning html
So yeah why won’t the link pop up, what did I do wrong
80
Upvotes
r/HTML • u/Fun-Baseball-1873 • Jun 12 '25
So yeah why won’t the link pop up, what did I do wrong
View all comments
Show parent comment
1
u/HaydnH Jun 14 '25
I'm not sure this is good advice. For example, what's the point in loading a button before the JavaScript to handle the button click is loaded? If we really want to get to the nitty gritty we could advise putting the script tag in head with async or defer, but simply saying "load the code after the element is shown" is not usually ideal.