subject
Computers and Technology, 12.03.2021 15:30 dbrwnn

Football Player Information Page loadPlayersPage method:
parameters: none
purpose: This method will populate the dropdown menu to allow the user to select which player's information to view.
To handle this, you will need to iterate through the players array and do the following for each player:
1. Create an anchor tag
2. Set the href to"#", this will make sure the
3. Set the onclick to call switchPlayers method
4. Set the anchor tag's text to the player's name. anchor tag doesn't change pages (this will need to pass in the index inside the players array)
After setting all of the anchor tags, update the innerHTML of the dropdown menu. As a note, the id for the dropdown menu is player_selector.
switchPlayers (playerNum) method:
parameters:
playerNum The index of the football player in the players array.
purpose:
This method will update the the spans on the player's information pagex and calculate the average passing, rushing, and receiving yards.
Span ids:
the player's year in college
- the player's major in college
- the number of games played for Buffs p_year pmajor g_played player_img the player's photo (must set src and alt p_y r_yardsthe number of rushing yards rec yardsthe number of receiving yards ards - the number of passing yards
Calculated values:
ards - the average number of passing yards for the player's Buff career
avg_p_ avg_r_yards the average number of rushing yards for the player's Buff career
avg_rec_yards -the average number of receiving yards for the player's Buff career

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
If you have a lien on your vehicle, you cannot apply for a duplicate copy of your vehicle’s certificate of title. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 00:20
The pyraminx is a rubik's cube-type toy in the shape of a tetrahedron (not a pyramid). the pyraminx shown below has edges 15\,\text{cm}15cm15, space, c, m long and vertical height h=12.2\,\text{cm}h=12.2cmh, equals, 12, point, 2, space, c, m. the triangle drawn with dashed lines is a right triangle. what is the distance rrr? round your answer to the nearest tenth.
Answers: 1
question
Computers and Technology, 22.06.2019 04:30
Ryan is working on the layout of her web page. she needs to figure out where her header, navigation bar, text, and images should go. what technique can her?
Answers: 1
question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
You know the right answer?
Football Player Information Page loadPlayersPage method:
parameters: none
purpose: Th...
Questions
question
Mathematics, 11.01.2021 20:10
question
Mathematics, 11.01.2021 20:10