-
Objetivo Deber谩s crear una aplicaci贸n que tenga las 4 funciones b谩sicas de una calculadora (suma, resta, multiplicaci贸n y divisi贸n). La calculadora tendr谩 una pantalla donde se visualicen las operaciones y resultados de ellas, deber谩 empezar en 0. Adem谩s deber谩 existir un bot贸n que permita hacer un reset a 0 y otro bot贸n con un signo de igual que mostrar谩 el resultado en pantalla de la operaci贸n que realices.
-
Estructuraci贸n de carpetas No te olvides de mantener tus archivos lo m谩s organizados posibles.
-
Temas a practicar Uso de funciones, eventos, manipulaci贸n del DOM, CSS (dise帽o a tu gusto).
-
驴Quieres subir tu nivel? Intenta hacer tu aplicaci贸n con TDD. Eso quiere decir que escribir谩s primero el test, lo har谩s fallar, luego escribir谩s tu funci贸n y la har谩s pasar. Te recomiendo que utilices JEST para pasar los tests. Y no te olvides de poner un archivo .gitignore para que la carpeta node-modules no se suba al repositorio en github, te dejo un link donde puedes crear tu archivo gitignore: https://www.toptal.com/developers/gitignore (las opcones que puedes poner para generarlo son windows, macos, linux y node)
-
Purpose You will have to create an application that has the 4 basic functions of a calculator (addition, subtraction, multiplication and division). The calculator will have a screen where the operations and results of them are displayed, it must start at 0. There must also be a button that allows you to reset to 0 and another button with an equal sign that will show the result of the operation you perform on the screen.
-
Folder structure Don't forget to keep your files as organized as possible.
-
Topics to practice Use of functions, events, DOM manipulation, CSS (free design).
-
Do you want to raise your level? Try to make your application with TDD. That means you'll first write the test, make it fail, then write your function and make it pass. I recommend that you use JEST to pass the tests. And don't forget to put a .gitignore file so that the node-modules folder is not uploaded to the repository in github, I leave you a link where you can create your gitignore file: https://www.toptal.com/developers/gitignore (the options you can set to generate it are windows, macos, linux and node)