Section 1 - Instruction

You've learned about variables, data types, and arrays. Now let's practice combining these concepts to create more complex data structures and solve real problems.

Understanding how to work with different types of data is essential for building interactive websites.

Engagement Message

Ready to put your knowledge into action?

Section 2 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Let's identify the correct way to create different types of variables. Fill in the blanks to create a user profile:

Suggested Answers

  • "Sarah"
  • 25
  • true
  • ["reading", "gaming"]
Section 3 - Practice

Type

Swipe Left or Right

Practice Question

You're building a shopping cart feature. Which data structure would be most appropriate for each piece of information?

Labels

  • Left Label: Single Value
  • Right Label: Multiple Values

Left Label Items

  • Total cart price
  • Customer name
  • Is checkout complete
  • Number of items

Right Label Items

  • List of product names
  • Product quantities
  • Category options
  • User's favorite items
Section 4 - Practice

Type

Multiple Choice

Practice Question

Given this array of scores: let scores = [95, 87, 92, 78, 89];, which expression would give you the third score?

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal