Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam CRT-600 Topic 1 Question 78 Discussion

Actual exam question for Salesforce's CRT-600 exam
Question #: 78
Topic #: 1
[All CRT-600 Questions]

Given the JavaScript below:

Which code should replace the placeholder comment on line 06 to hide accounts that do not match the search string?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Alexia
3 months ago
Option D looks good to me. Gotta love those ternary operators, am I right? Makes the code look all fancy and efficient.
upvoted 0 times
Bobbye
3 months ago
Yes, option D is the correct choice for hiding accounts that do not match the search string.
upvoted 0 times
...
Mollie
3 months ago
I agree, ternary operators are a great way to make the code more concise.
upvoted 0 times
...
...
Shannon
3 months ago
Definitely D. 'Block' and 'none' are the way to go for showing and hiding elements in JavaScript. I learned that the hard way during my last coding bootcamp.
upvoted 0 times
Nadine
3 months ago
Yes, using 'Block' and 'none' is a common practice in JavaScript for showing and hiding elements. It's a good skill to have as a developer.
upvoted 0 times
...
Celeste
3 months ago
I agree, 'Block' and 'none' are commonly used for displaying and hiding elements. It's good to know that for future coding projects.
upvoted 0 times
...
Portia
3 months ago
I think D is the correct answer too. It's important to use the right syntax for showing and hiding elements in JavaScript.
upvoted 0 times
...
...
Leanna
4 months ago
I agree with Laquita, D) 'Block' : 'none' is the correct answer based on the code provided
upvoted 0 times
...
Albert
4 months ago
I'm pretty sure it's D. Hiding things is all about setting 'display' to 'none', right? Rookie mistake, people!
upvoted 0 times
...
Laquita
4 months ago
But 'Block' : 'none' makes more sense because it hides the accounts that do not match the search string
upvoted 0 times
...
Mireya
4 months ago
Option D is the correct answer. The placeholder comment on line 06 should be replaced with 'block' : 'none' to hide accounts that do not match the search string.
upvoted 0 times
Sonia
3 months ago
Oh, I see. Thanks for clarifying!
upvoted 0 times
...
Fernanda
3 months ago
Actually, it is D) 'Block' : 'none'
upvoted 0 times
...
Artie
3 months ago
No, I believe it is B) 'Visible : 'hidden'
upvoted 0 times
...
Barney
3 months ago
I think the answer is A) 'None' : 'block'
upvoted 0 times
...
...
Coletta
4 months ago
I disagree, I believe the correct answer is B) 'Visible : 'hidden'
upvoted 0 times
...
Laquita
4 months ago
I think the answer is D) 'Block' : 'none'
upvoted 0 times
...
Amos
4 months ago
I agree with Goldie, D) 'Block' : 'none' is the correct answer based on the code provided
upvoted 0 times
...
Goldie
4 months ago
But 'Block' : 'none' makes more sense because it hides the accounts that do not match the search string
upvoted 0 times
...
Marci
4 months ago
I disagree, I believe the correct answer is B) 'Visible : 'hidden'
upvoted 0 times
...
Goldie
4 months ago
I think the answer is D) 'Block' : 'none'
upvoted 0 times
...

Save Cancel