Build an Employee Profile Generator - Step 15

Tell us what’s happening:

Before I completely lose my mind, can someone please tell me what I did wrong here? It just keeps saying that I should add the string Data analyst to the position variable.

Your code so far

first_name = 'John'
last_name = 'Doe'
full_name = first_name + ' ' + last_name
address = '123 Main Street'
address += ', Apartment 4B'
employee_age = 28
employee_info = full_name + ' is ' + str(employee_age) + ' years old'
print(employee_info)
experience_years = 5
experience_info = 'Experience: ' + str(experience_years) + ' years'
print(experience_info)
# User Editable Region
position = 'Data analyst'
salary = 75000
employee_card = f'Employee: John Doe | Age: 28 | Position: {position} | Salary: ${salary}'
print(employee_card)
# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 15

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-employee-profile-generator/69727ea5c9606bedfe36d3d2.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @ZombieSlayer

  1. Check for a typo.

Create a variable named position with the value of the string Data Analyst …

  1. Why are you hard-coding values?

Happy coding

I meant to say assign not add. What variables am I hard coding? What would it look like if I didn’t hard code whatever variables I’m hard coding?

Oml I’m so stupid. I figured out the issue. I just forgot to make one of the letters capital.