Coder Social home page Coder Social logo

aurelianeg / lespetitsplats Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 228 KB

Les Petits Plats is a website containing their own recipes filtered by both search bar and research tag(s). These algorithms are each developed on a separate branch, to compare their performances.

Home Page: https://aurelianeg.github.io/lespetitsplats/

JavaScript 85.43% HTML 4.02% SCSS 10.55%
algorithm-comparison design-integrations fetch search-algorithms

lespetitsplats's Introduction

Les Petits Plats

Les Petits Plats1 is a website containing their own recipes. To stand out from other recipe websites, the performance of the research feature is here the major work issue, with two wanted algorithms.

Goal of this project: Integration, fetch of JSON data, and performance comparison of 2 algorithms.

Load specifications

Website designs

The desktop designs are available on Figma. The website is fully responsive for tablets and mobile.

Design for the home page

Features

  • If user writes at least three characters in search bar, recipes are filtered by that string. Displayed recipes are updated with each newly typed character.
  • Three dropdown lists are available for ingredients, apparels and utensils. User can search for an option by typing in each search field of dropdown lists (displayed options are updated when user is typing new characters).
  • When an option in dropdown lists is clicked, the option is added as a research tag, and recipes are filtered by this tag.
  • Several research tags can be selected, and shown recipes are the result of all tag filters (a recipe containing only one of the selected tags is not displayed).
  • Search bar and research tags are combined, and displayed recipes result of the combination of those filters.

Technical constraints

  • No error or alert on W3C validators for HTML or CSS.
  • No JavaScript library.
  • Develop two research algorithms to compare their performances:
    • 1st algorithm (on basic-version branch) with native loops (while, for...).
    • 2nd algorithm (on array-version branch) with array methods (foreach, filter, map, reduce).

Launch

GitHub Pages

The page is available at https://aurelianeg.github.io/lespetitsplats/ on GitHub Pages.

Cloning

  1. Clone the repository
git clone https://github.com/aurelianeg/lespetitsplats.git
  1. Launch the project with Live Server
live-server

It opens the website to view it in the browser. The page will reload when changes are made in the code.

Footnotes

  1. This is the 5th project of the "Front-end developer (JS - React)" training by OpenClassrooms. โ†ฉ

lespetitsplats's People

Contributors

aurelianeg avatar

Watchers

 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.