Project #6
In this project, we have to make an app that allows people to predict their credit score based on their "responsibleness". The reason why we are doing this is because it can help people know what to improve on themselves like paying bills on time and paying back the lenders. To do this, we have to make a survey that pretty simple to make. I first got some inspiration from CodePen and then try to code it myself. I then organized the whole list with some CSS. For the HTML, it requires the <form> tag and the <option> tag. By implementing them, it allows a list to be created.
The next step is to get the function to work. I first made a value for each choice on each question. Depending on your answer, your score on the survey would increase or not change at all. The function that I made required lots of many other functions and if functions. The value of the global variable would increase depending on the answer and then once the total comes up, a word prompt would be created. Now that the score and prompt is created, it would tell the person what their possible credit score could be and take consideration on their decisions.
Comments
Post a Comment