Display Style
Display Style
The style object can change inline CSS on an element. For display-related state, your script can assign a CSS display value directly.
The element already exists, so the job is to change how it is shown rather than create replacement content.
Your task: Select the upgrade panel and set its display style to block. Keep the panel text unchanged.
Free with a JS Exercises account
Sign in to start coding, run your solution, and keep your progress saved for later. No payment needed.
By continuing, you agree to our Terms and Privacy Policy. We'll send occasional product updates and news. You can unsubscribe anytime.
Display Style
The style object can change inline CSS on an element. For display-related state, your script can assign a CSS display value directly.
The element already exists, so the job is to change how it is shown rather than create replacement content.
Your task: Select the upgrade panel and set its display style to block. Keep the panel text unchanged.