Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Part 2

Exercises 2.1.- 2.5

2.1: Course Information, step 6

Define a component responsible for formatting a single course called Course.

The component structure of the application can be, for example, the following:

App
  Course
    Header
    Content
      Part
      Part
      ...

Hence, the Course component contains the components defined in the previous part, which are responsible for rendering the course name and its parts.

The rendered page can, for example, look as follows: Hence, the Course component contains the components defined in the previous part, which are responsible for rendering the course name and its parts.

The rendered page can, for example, look as follows:

2.2: Course Information, step 7

Show also the sum of the exercises of the course.

2.3*: Course Information, step 8

If you haven't done so already, calculate the sum of exercises with the array method reduce.

2.4: Course Information, step 9

Let's extend our application to allow for an arbitrary number of courses.

2.5: Course Information, step 10