Playing with firebase
How do I make an playing with firebase?
Just a quick testhttps://www.firebase.com/. What is a playing with firebase? How do you make a playing with firebase? This script and codes were developed by Christian Fleschhut on 11 August 2022, Thursday.
Playing with firebase - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>playing with firebase</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.css'>
</head>
<body> <div class='container'> <div class='row'> <div class='col-md-12'> <h2> Firebase Playground </h2> <div class='panel panel-default'> <div class='panel-heading'> Entries <a class='pull-right' href='#newEntry'> <i class='glyphicon glyphicon-plus-sign'></i> New Entry </a> </div> <div class='panel-body'> <div id='messages'></div> </div> </div> <form id='newEntry'> <fieldset> <legend> New entry </legend> <div class='form-group'> <input autofocus class='form-control' name='name' placeholder='Name'> </div> <div class='form-group'> <textarea class='form-control' name='text' placeholder='Message' rows='4'></textarea> </div> <div class='form-group'> <input class='btn btn-primary' type='submit'> </div> </fieldset> </form> <hr> </div> </div>
</div>
<script src='https://cdn.firebase.com/v0/firebase.js'></script>
<script src='http://code.jquery.com/jquery-2.1.0.min.js'></script> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Playing with firebase - Script Codes JS Codes
(function() { var dataRef, messages; dataRef = new Firebase('https://vwj97ubtfe9.firebaseio-demo.com/'); messages = $('#messages'); $('form').on('submit', function(e) { var form, name, submit, text; e.preventDefault(); form = $(this); name = form.find('[name=name]'); text = form.find('[name=text]'); submit = form.find('[type=submit]'); dataRef.push({ name: name.val(), text: text.val() }); return submit.blur(); }); dataRef.on('child_added', function(snapshot) { var entry, html; entry = snapshot.val(); html = '<div class="entry">'; html += '<p><strong>' + entry.name + ': </strong>'; html += entry.text + '</p>'; html += '</div>'; return messages.append(html); });
}).call(this);
Developer | Christian Fleschhut |
Username | cfleschhut |
Uploaded | August 11, 2022 |
Rating | 3 |
Size | 3,175 Kb |
Views | 32,384 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
HubSpot Odometer Quicktest | 2,641 Kb |
Frontend Dev Skillset | 2,835 Kb |
AngularJS tutorial app | 4,565 Kb |
Processing.js Playground | 2,392 Kb |
Vertical Tab Component | 3,878 Kb |
CSS3 loading spinner | 2,950 Kb |
Givie.io Logo in CSS | 2,552 Kb |
Sass random fn | 4,849 Kb |
Starting out with Ember.JS | 4,808 Kb |
Bootstrap 3 Playground | 2,594 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Toggle Time | Petebot | 5,345 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Portfolio Layout Flex | Lahvjal | 3,489 Kb |
Shopping cart | Andiio | 6,581 Kb |
CSS Flip Animation | Bbodine1 | 2,525 Kb |
Heatmap Color Scales | Stevepepple | 2,331 Kb |
3D flipping card | Ssaakkaa | 2,238 Kb |
Reading Grid | Tappily | 4,306 Kb |
Responsive Boxes without Images | Andymcfee | 4,120 Kb |
A Pen by aleen42 | Aleen42 | 11,473 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!