Question: Which of the following is NOT a valid brand logo attribute?
- brandSettings.primaryLogo.alt
- brandSettings.primaryLogo.url
- brandSettings.primaryLogo.width
- brandSettings.primaryLogo.src
Explanation
HubSpot documents the available attributes for brand_settings.primaryLogo as alt, height, width, src, and link. The destination associated with the logo is exposed through link, while the image file location is exposed through src. Because HubSpot defines a fixed set of logo attributes, any attribute outside that documented set is not valid. This is why the invalid choice is the one that substitutes a non-documented property name for the documented logo link attribute. HubSpot Developers
Why the other options are incorrect
A) brandSettings.primaryLogo.alt is incorrect because alt is a documented attribute for brand_settings.primaryLogo. HubSpot Developers
C) brandSettings.primaryLogo.width is incorrect because width is a documented attribute for brand_settings.primaryLogo. HubSpot Developers
D) brandSettings.primaryLogo.src is incorrect because src is a documented attribute for brand_settings.primaryLogo. HubSpot Developers
Source for verification
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
