Giter Club home page Giter Club logo

calculator-challenge's Introduction

Developer Challenge

Desarrollar de manera simple un sistema que permita visualizar por pantalla:

Un encabezado y pié de página Un campo de entrada de texto en donde se pueda ingresar una formula matemática utilizando números y caracteres []{}() + - * / Un botón que permita resolver la formula ingresada o mostrar una advertencia si existe un error en la misma. El resultado se deberá mostrar por pantalla.

Ej: Caso correcto: (2+3)-[5-(3*1)] Resultado 3

Caso erróneo: (2+3)-(5-(31)] Resultado Error en formula (2+3)-[5-[31]] Resultado Error en formula

Se deberá entregar en un .zip o .rar el código fuente y las indicaciones necesarias para poder visualizarlo en un navegador

Challenge solution by Mariano G. Egui

  • I used Javascript, because I thought this not require processing in server
  • I don't use libraries or frameworks, because was not necessary

This solution can use with any browser or using docker.


How to check?

Clone the project:

git clone --recursive [email protected]:megui88/calculator-challenge.git

Go to your browser and open the file index.html

Or use Docker

Please, is necessary to have

Go to folder and run docker-compose

cd calculator-challenge
docker-compose up -d

Test in localhost:8080

calculator-challenge's People

Contributors

megui88 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.