Frontend Mentor - Results summary component solution

This is a solution to the Results summary component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page

Screenshot

Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.

Alternatively, you can use a tool like FireShot to take the screenshot. FireShot has a free option, so you don't need to purchase it.

Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.

Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.

Links

My process

Built with

  • Semantic HTML5 markup
  • SCSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Angular - Angular framework

Note: These are just examples. Delete this note and replace the list above with your own choices

What I learned

Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.

To see how you can add code snippets, see below:

ngOnInit(){
    
    this.http_api.get(this.url).subscribe(result =>{
      
      this.list_of_value = result;
      this.initValue(this.list_of_value);

      
    },
    error => {
      console.log(error);
    }
    );
  
   
  }
  
  public initValue(list_of_value: any): void  {
    
    this.visual_value = this.list_of_value[0]["score"];
    this.verbal_value = this.list_of_value[1]["score"];
    this.memory_value = this.list_of_value[2]["score"];
    this.reaction_value = this.list_of_value[3]["score"];
  
  }

Continued development

Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.

Note: Delete this note and the content within this section and replace with your own plans for continued development.

Useful resources

  • Example resource 2 - This is an amazing article which helped me finally understand how to load data with angular. I'd recommend it to anyone still learning this concept.

Author