Help pleaze


whats wrong with this code!


What error message are you getting?


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


yes i would it
but nothing shows on the web browser


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


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


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


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.


Thank you but i fix it already …


What was the problem?