התקדמות שלך
44/47

ג'אווה סקריפט המדריך המלא 2024
בניית אפליקציות Pokedex Application


בתרגיל הבא נלמד איך לקלוט מהמשתמש את מספר הפוקימונים שהוא רוצה שיוצגו לו, נלמד איך לרנדר לתוך הDOM את כמות הפוקימונים הנדרשת ובכך ליצור מעיין פוקידקס שמציג תמונות של פוקימונים

  • this link give you the first pokemon image
    https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png
  • Write a function initPokemons() which builds a string of html elements then query your index file, search for the app id and push the generated content to show 150 pokemons.
  • Bonus: create an input that allow us to display 1-898 pokemons and make each pokemon card to scale upon hover
שאלות
דברו איתי
whatsapp
ווצאפwhatsapp דיסקורדwhatsapp