Building a “shoutout” component in plain HTML/CSS/JavaScript

Every Wednesday I host WeAreDevelopers Live on YouTube. Afterwards we cut out short videos to post on social media. What we needed was an obvious “shoutout moment” in the recording to indicate an interesting quote or when we moved on to the next topic – much like a clapper in classic movies to sync audio […]


This content originally appeared on Christian Heilmann and was authored by Chris Heilmann

Every Wednesday I host WeAreDevelopers Live on YouTube. Afterwards we cut out short videos to post on social media. What we needed was an obvious “shoutout moment” in the recording to indicate an interesting quote or when we moved on to the next topic – much like a clapper in classic movies to sync audio and video. To this end, I wrote some functionality to show a “cool” and “next” overlay that will make it easier in post production to find the interesting spots. Here’s what that looks like:

The shoutout component in action

You can try the functionality out yourself by checking this codepen, focusing on the browser part and pressing either the `[` or `]` key.
You can also watch the following video to get this article as a step-by-step explanation:

And there is a detailed explanation of the code on the WeAreDevelopers Magazine.

I just love how easy these things are nowadays in HTML, CSS and plain JavaScript.


This content originally appeared on Christian Heilmann and was authored by Chris Heilmann


Print Share Comment Cite Upload Translate Updates
APA

Chris Heilmann | Sciencx (2025-02-26T10:15:05+00:00) Building a “shoutout” component in plain HTML/CSS/JavaScript. Retrieved from https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/

MLA
" » Building a “shoutout” component in plain HTML/CSS/JavaScript." Chris Heilmann | Sciencx - Wednesday February 26, 2025, https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/
HARVARD
Chris Heilmann | Sciencx Wednesday February 26, 2025 » Building a “shoutout” component in plain HTML/CSS/JavaScript., viewed ,<https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/>
VANCOUVER
Chris Heilmann | Sciencx - » Building a “shoutout” component in plain HTML/CSS/JavaScript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/
CHICAGO
" » Building a “shoutout” component in plain HTML/CSS/JavaScript." Chris Heilmann | Sciencx - Accessed . https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/
IEEE
" » Building a “shoutout” component in plain HTML/CSS/JavaScript." Chris Heilmann | Sciencx [Online]. Available: https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/. [Accessed: ]
rf:citation
» Building a “shoutout” component in plain HTML/CSS/JavaScript | Chris Heilmann | Sciencx | https://www.scien.cx/2025/02/26/building-a-shoutout-component-in-plain-html-css-javascript/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.