Code Monkey home page Code Monkey logo

foodfrontend's Introduction

Fancy becoming a frontend developer?

This static sample site is written by Html, Javascript ES6 and Sass. It shows you the list of foods and by clicking bottons underneath each, you will see a javascript runs and gives you the calory. Also by clicking on Banner on the top of the page, you will connect to the API that Yammly website exposed to get their recipes which Axios library will handle all Http requests and responses. Bootstrap version 4 is used to style the site based on SASS technology. To bundle the javascript modules, Webpack is used. The package manager is NPM and task runner is combination of NPM and Gulp.

Run the code

By looking at package.josn, you will see some scripts on the top and you can execute them as below. To restore packages in your folder, run:

npm i

To run the site using Browser-Sync library, run:

npm run serve

To compile Sass file to Css, run:

npm run sass

To transpile ES6 file to ES5 and bundle all scripts in one, run:

npm run bundle

To transpile ES6 file to ES5, run:

npm run transpile

Playground for Sass learning

https://www.sassmeister.com/gist/b564090225b2bdee4d6b7b39e8639b41

Playground for ES6 learning

https://babeljs.io/repl

foodfrontend's People

Contributors

nellysattari avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.