Buscar este blog

TRABAJO EN EQUIPO: SELECTORES


MIΓ‰RCOLES, 16 DE MARZO DEL 2022. 


LINK PARÁ REALIZAR LAS ACTIVIDADES  

Problema

SoluciΓ³n

1.       Select the plates.

Plate

2.       Select the bento boxes

Bentos

3.       Select the fancy plate

#fancy

4.       Select the pickle on the fancy plate

Plate apple

5.       Select the pickle on the fancy plate

#fancy pickle

6.       Select the small apples

.small

7.       Select the small oranges

Small.oranges

8.       Select the small oranges in the bents

Bento orange.small

9.       Select all the plates and bents

Plate, bento

10.   Select all the things

*

11.   Select everything on a plate

Plate *

12.   Select the every apple that’s next to a plate

Plate+apple

13.   Select the pickles beside the bento

Bento ~ pickle

14.   Select the Apple directly on a plate

Plate>apple

15.   Select the top orange

Orange :first-child

16.   Select the apple and the pickle on the plates

Plate :only-child

17.   Select the small apple and the pickle

Plate apple :last-child, pickle

18.   Select the third plate

Plate :nth-child(3)

19.   Select the bento

Bento :nth-last-child(3)

20.   Select the first apple

Apple :first-of-type

21.   Select all even plates

Plate :nth-of-type(even)

22.   Select every 2nd plate, starting from the 3rd

Plates:nth-of-type(2n+3)

23.   Select the apple on  the middle plate

Plate apple :only-of-type

24.   Select the last apple and orange

Orange :only-of-type,apple:only-of-type

25.   Select the empty bents

Bento: empty

26.   Select the big apples

Apple:not(.small)

27.   Select the items for someone

*[for]

28.   Select the plates for someone

Plate[for]

29.   Select Vitaly’s meal

Bento[for=”Vitaly”]

30.   Select the items for names that start with ‘Sa’

*[for=”sa”]

31.   Select the items for names that end with ‘ato’

*[for$=”ato”]

32.   Select the meals for names that contain ‘obb’

[for*=”obb”]



Esta actividad fue en equipo y nos puso a pensar demasiado, dado que, nosotras especificabamos todo y eso nos dio mucho en que hacer. ParΓ‘ el final de la clase, solamente logramos resolver 12 de 32.

No hay comentarios:

Publicar un comentario