17 September 2021
Calculator app


Calculator App using vanilla javascript.

🧠 Concepts Covered:

  • How to use ES6 classes to organize code
  • How to sync JavaScript code with a UI
  • CSS Grid
  • Flexbox
  • The best way to cleanly handle user input
  • How to debug complicated edge cases

Fix CORS issue on localhost

Use this page as a proxy to fix CORS issue https://cors-anywhere.herokuapp.com/

/* Example in vanilla Javascript*/

const proxy = 'https://cors-anywhere.herokuapp.com/';
const url = `${proxy}https://github.com/utopianfool/link-api/projects.json`;

with thanks to Web dev simplified https://www.youtube.com/watch?v=j59qQ7YWLxw&ab_channel=WebDevSimplified for the initial tutorials


Creative Web Developer

View all posts by utopianfool →