Help pleaze


#1

whats wrong with this code!
image


#2

What error message are you getting?


#3

Is that last argument supposed to be a string? Wouldn’t you want the sex property of captainAmerica?


#4

yes i would it
but nothing shows on the web browser


#5

I was saying that you are passing the string, not the property.


#6

no one . its just when i save it and check the web browser theres nothing shows on


#7

As for what shows on a web browser, I can’t help you there.


#8

I have no way of knowing whether the browser should show something because you have not provided enough information. Is the JavaScript file in question being loaded? Is that JS inside <script> tags on the page? You need to share your HTML file and show us the directory structure for your project.


#9

Thank you but i fix it already …


#10

What was the problem?