|
|
|
|
|
by thitcanh
1889 days ago
|
|
You’re missing the point of the article entirely. The author argues to NOT use fake anchor tags like <a href="#"> and then add functionality to it via JavaScript. Instead you should use <button type="button">. Either way, JavaScript is required. What you’re suggesting means your link is actually a link to another page, which works without JavaScript and that’s not the point of the article. |
|