Unsectioned

Preview this deck

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

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

2

All-time users

2

Favorites

0

Last updated

2 months ago

Date created

Feb 18, 2021

Cards (3)

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?

Front

Use the <datalist> element.

Back

img

(2 cards)

How would you use HTML to solve the image scaling issues with different screen sizes?

Front

<picture> tag. Just use different sized images within for different media sizes.

Back

It's better to use HTML to speed up site loading with a delayed image load. How?

Front

Use loading="lazy" in the <img> tag

Back