Giter VIP home page Giter VIP logo

calculator's Introduction

Portfolio

A static website to host my projects and tell you a bit about me

Built using HTML, CSS and SCSS

calculator's People

Contributors

chloeh24 avatar

calculator's Issues

Sizing and Grids

I really like how you've used Grid to structure your calculator.

One thing I noticed is that there is an extra row of hidden buttons ๐Ÿ•ต

It looks like this is a way to fit the size of the buttons into the overall calculator. If you were to make the size of the body responsive to the size of the buttons this could be avoided.

Have a look into relative units as a way to increase the flexibility of your calculator.

Real world design

I like that the styling you've used for your calculator emulates real life - it's clear what each button does based on the colours. ๐Ÿ’…

Semantic HTML

HTML contains a lot of elements which can be used to give more meaning to our code - using sections, articles, headers etc. will make your code clearer and increase accessibility.

Wherever you can, avoid using <div>'s in favour of <sections> or <articles>.

Have a look at this if you'd like to read more ๐Ÿ“–

innerHTML vs innerText vs textContent

In general, it is recommended to avoid using innerHTML in favour of textContent. This can help to avoid script injections and security concerns with your code.

Have a look here for some information on the differences and here for some information on usage. ๐Ÿ”’

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.