root = Card([header, progressCard, modulesCard, nextCard, ratingCard])
header = CardHeader("Product Design Fundamentals", "Instructor: Sarah Chen")
progressCard = Card([progressHeading, progressBar], "sunk")
progressHeading = Heading("Your progress", "h3")
progressBar = Progress(72, "72% complete")
modulesCard = Card([modulesHeading, modulesTable], "sunk")
modulesHeading = Heading("Modules", "h3")
modulesTable = Table([moduleCol, statusCol])
moduleCol = Col("Module", ["Introduction to Design", "Design Principles", "Typography", "Color Theory", "Layout & Composition", "Final Project"])
statusCol = Col("Status", ["Completed", "Completed", "In Progress", "Not started", "Not started", "Not started"])
nextCard = Card([nextHeading, nextCallout, nextActions], "sunk")
nextHeading = Heading("Next lesson", "h3")
nextCallout = Callout("info", "Up next", "Typography: Choosing Typefaces")
nextActions = Buttons([continueBtn])
continueBtn = Button("Continue learning", null, "primary")
ratingCard = Card([ratingHeading, ratingText], "sunk")
ratingHeading = Heading("Learner rating", "h3")
ratingText = TextContent("**4.8/5** average from 2,340 learner ratings")