js console snippet html code example
Example 1: useful javascript code snippet for console
var vid = document.getElementById('player_html5_api');
vid.muted = true;
Example 2: snppet for seeing output on screen
//Snippet for testing output in the front end, using material ui
//Place your state in place of filters
<Box>
<Card>
<CardHeader title="Output" />
<CardContent>
<pre style={{ backgroundColor: "white" }}>{JSON.stringify(filters, null, 2)}</pre>
</CardContent>
</Card>
</Box>