Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>CodeConCat - Firebase Example</title>
<script src=""></script>
<script src="" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
<textarea id="text-area" cols="100" rows="10"></textarea>
<script type="text/javascript">
// Connect to Firebase
var ref = new Firebase("");
// Change value when typing
$('#text-area').on('input', (e) => {
// Update textarea when receving data
ref.on('value', (snapshot) => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.