How can I show a field on click?
node.html.twig

&lt;div class = "field-something"&gt;
{{ content.field_something.value }}
&lt;/div&gt;

&lt;div class = "show"&gt;
Show
&lt;/div&gt;


custom.js

(function ($) {

$('.field-something').hide();
$('.show').show();

$('.show').click(function(){
    $('.field-something').fadeIn(2000);
    $('.show').hide();
});

}(jQuery));


Your Theme's style.css

.field-something { float: left; padding-right: 5px; }
.show { color: blue; cursor: pointer; display: none; }


Example DEMO