Mahesh419 / cg-angular-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cg-angular-sample

A customer has requested a web application based on Angular which can store students details (name, marks) while deciding the grade according to the score which student has gained. You are not expected to write backend calls for this application but proper data structures should be used to handle data. A boilerplate has been provided with a set of test cases. There is a bug in the boilerplate therefore it will not build. You are expected to fix the bug and complete the tasks by fulfilling the requirements and the test cases. Start by creating a new branch and once you are completed, push the code into the newly created branch.

Tasks to be completed

  • Fix the bug and build the project
  • Find a suitable data structure to store student details
  • Insert data into the selected data structure with proper validation
  • Implement the needed sorting function
  • Implement the grading functionality which would return the grade as a string where if marks is greater than 74, student is awarded with 'A', if marks is greater than 34 and less than 75, student is awarded with 'B', if marks is less than 35, student is awarded with 'S'
  • Change the color of the add button in leaderboard to green using bootstrap classes

Time Allocation

15 minutes

About


Languages

Language:TypeScript 66.7%Language:JavaScript 19.5%Language:HTML 10.9%Language:Shell 1.9%Language:CSS 1.0%