← Files

F-09hardFiles

Upload, then read the row count

The page parses the CSV in the browser and reports the number of data rows. The file has a header line, 24 data rows, and one customer written as "Okafor, Maria" in quotes, so counting commas or splitting lines by hand gives a different number. The page also mentions a template with 3 rows. Upload paths are relative to the repository root (the folder that contains package.json and public/).

Upload public/files/sample-orders.csv and report how many rows it contains.

Endorphin steps

  1. Navigate to ${BASE_URL}/sandbox/f-09/
  2. Upload "public/files/sample-orders.csv" to "Orders file"
  3. Verify "Parsed 24 rows from sample-orders.csv" is visible

Pass when

The result line says "Parsed 24 rows from sample-orders.csv".

Open the challenge page