MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / Indian_USer

Function Indian_USer

assets/js/randomuser.js:122–137  ·  view source on GitHub ↗
(Data)

Source from the content-addressed store, hash-verified

120
121}
122function Indian_USer(Data) {
123
124 var Indexnumber= Math.floor(Math.random()*4)
125 UserName.innerText = IndianData[Indexnumber].Name
126 User_Country.innerText = IndianData[Indexnumber].Country
127 User_City.innerText = IndianData[Indexnumber].City
128 User_Dob.innerText = IndianData[Indexnumber].DOB
129 User_Email.innerText = IndianData[Indexnumber].Email_Address
130 User_Age.innerText = IndianData[Indexnumber].Age
131 User_Gender.innerText = IndianData[Indexnumber].Gender
132 User_PhoneNumber.innerText = IndianData[Indexnumber].phonenumber
133 UserImage.innerHTML = ` <img src=" ${IndianData[Indexnumber].image}" alt="img" srcset="" width="150px" height="150px">`
134
135 console.log(Data)
136
137}
138

Callers 1

randomuser.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected