Build a Campus Directory Normalizer - Step 51

Tell us what’s happening:

I need someone to tell me what I’m doing wrong pls. It keeps showing me: “renderDirectorySummary(normalizedData) should return the correct summary report.”

Your code so far

// User Editable Region
  return ` Campus Directory Summary
  ------------------------
  Departments: ${departments}
  Programs: ${programs}
  Instructors: ${instructors}
  Missing Office Hours: ${missingOfficeHours}
  Programs Without Rooms: ${programsWithoutRooms}`
  
// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Campus Directory Normalizer - Step 51

GitHub Link: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/workshop-campus-directory-normalizer/6a86f98046a13f6752229620.md

And I noticed my user agent isn’t correct :smiling_face_with_tear::smiling_face_with_tear:

Hi @Richmond_otache,

Try putting that into one long template string using newline characters. Careful with that leading space.

Then call your function to see how it looks in the console:
console.log(renderDirectorySummary(normalizedData))

Happy coding

you start with spaces, is that asked for? make sure to put spaces and newline characters only where asked, I see also spaces at the start of each line

Yh it was asked for but it’s not working

I can’t see where in the step, can you point out where it say to use those spaces?