Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index.js
- import RandomQuote from './models/famousChefQuotes';
- import { renderRandomQote } from './views/famousChefQuotesViews';
- import SearchFood from './models/foodSearch';
- window.addEventListener( 'load', ( e ) => {
- const quote = new RandomQuote();
- renderRandomQote( quote.pickRandomQuote() );
- } );
- const x = new SearchFood( 'pizza' );
- x.getFood();
Add Comment
Please, Sign In to add comment