For a form field, you can add predefined input suggestions as the user types with a JS event listener, but HTML is better, how do you do it?
Front
Active users
2
All-time users
2
Favorites
0
Last updated
2 months ago
Date created
Feb 18, 2021
Unsectioned
(1 card)
For a form field, you can add predefined input suggestions as the user types with a JS event listener, but HTML is better, how do you do it?
Use the <datalist> element.
img
(2 cards)
How would you use HTML to solve the image scaling issues with different screen sizes?
<picture> tag. Just use different sized images within for different media sizes.
It's better to use HTML to speed up site loading with a delayed image load. How?
Use loading="lazy" in the <img> tag