Coder Social home page Coder Social logo

benciantar / squared Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.88 MB

Hyper Island Project 1 - Squared online shape calculator, combining the basics of html, css and javascript to build our first web app.

HTML 29.81% JavaScript 48.94% SCSS 21.24%
javascript calculator scss

squared's Introduction

#squared

Squared Online Shape Calculator

Brief: My first Hyper Island project, an individual build that features HTML, CSS and Javascript, and is responsive.

Timeframe: Six weeks.

Description: Squared is an online tool that allows the user to select a shape and input the required value (usually the length of one or two sides, depending on the shape). The tool will then calculate the area and perimeter of the shape, converting between mm, cm, m, and km depending on user selection.

Key Learnings:

Functions:
  Main shape display populated by list of shapes pulled from JSON data file.
  Working calculator to calculate area and perimeter for all listed shapes based on user input.
  Conversion formulas to allow user to change and convert units of measurement
  Filter shape list by number of sides

Responsiveness:
  Collapsible nav menu replaced by hamburger menu below certain screen width.
  Media query for responsive design - different layouts for small and large screens.
  % scaling on all elements to allow full function at any ratio.
            
Style/Animation:
  Simple animated details (on hover text highlighting, scaling up icons etc.)
  Animated hamburger menu transition and hamburger icon.
  SVG icon array created in Figma for use with SVG Morpheus transitions between active shape.
  Scaling and highlight animation when a shape is active.
  Intersection observer to animate shapes as they scroll into view.
  Use of an installed custom font as well as an imported Google font.

Workflow:
  Main project hosted on Github.
  All styling done in SCSS.
  Followed basic SEO conventions.
  Scalability - the site was designed to allow for the addition of new shapes as well as additional calculators in the future.

squared's People

Contributors

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