nephate Goto Github PK
Type: User
Type: User
Starter Code for the Udacity's "Mobile Web Specialist Restaurant Reviews App: Stage 1" Project
<script type="application/javascript" charset="utf-8" src="js/dbhelper.js"></script>
window.initMap = () => { let loc = { lat: 40.722216, lng: -73.987501 }; self.map = new google.maps.Map(document.getElementById('map'), { zoom: 12, center: loc, scrollwheel: false }); updateRestaurants(); }
<!DOCTYPE html> <html> <head> <!-- Normalize.css for better cross-browser consistency --> <link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" /> <!-- Main CSS file --> <link rel="stylesheet" href="css/styles.css" type="text/css"> <title>Restaurant Info</title> </head> <body class="inside"> <!-- Beginning header --> <header> <!-- Beginning nav --> <nav> <h1><a href="/">Restaurant Reviews</a></h1> </nav> <!-- Beginning breadcrumb --> <ul id="breadcrumb" > <li><a href="/">Home</a></li> </ul> <!-- End breadcrumb --> <!-- End nav --> </header> <!-- End header --> <!-- Beginning main --> <main id="maincontent"> <!-- Beginning map --> <section id="map-container"> <div id="map"></div> </section> <!-- End map --> <!-- Beginning restaurant --> <section id="restaurant-container"> <h1 id="restaurant-name"></h1> <img id="restaurant-img"> <p id="restaurant-cuisine"></p> <p id="restaurant-address"></p> <table id="restaurant-hours"></table> </section> <!-- end restaurant --> <!-- Beginning reviews --> <section id="reviews-container"> <ul id="reviews-list"></ul> </section> <!-- End reviews --> </main> <!-- End main --> <!-- Beginning footer --> <footer id="footer"> Copyright (c) 2017 <a href="/"><strong>Restaurant Reviews</strong></a> All Rights Reserved. </footer> <!-- End footer --> <!-- Beginning scripts --> <!-- Database helpers --> <script type="text/javascript" src="js/dbhelper.js"></script> <!-- Main javascript file --> <script type="text/javascript" src="js/restaurant_info.js"></script> <!-- Google Maps --> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA_tKbW6A5pQ-eupxI56myUnHLqYCzOjKo&libraries=places&callback=initMap"></script> <!-- End scripts --> </body> </html>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.