Giter Site home page Giter Site logo

basement's Introduction

basement

https://basement.vercel.app/


https://www.notion.so/Front-End-Dev-Challenge-feb43cb413e644e683ce7bf84cff7c16

This is the first time I've used next.js

next ???

  • how does css work? It seems to be in 3 places -- components/<component>.module.css, public/static/styles.css, and in pages/index.js in a <style jsx> part of the JS.

  • The commands in npm are next dev and next build, so nextjs is a sort of compiler for the website... but unlike browserify or webpack that have specific goals -- compiling commonjs style JS, next is for the entire website, so this means things like optimizing which bundles you serve on which routes, and putting css into optimal bundles, and rendering some routes server side... so this makes me wonder exactly what it does? How does it's algorithm work when dealing with routes, server-side rendering, etc

  • how do you view hover states in figma?

  • how to use sass for css?

  • what is the target of compilation? I would think there should be a folder like public that holds the compiled site -- static pages and single-page javascript


choices

  • form validation is done with html5 pattern attribute and default invalid helper text -- the simplest possible solution for showing error messages

  • There is only 1 screen in this demo. I assume in real life you would want to show a different page if the user is logged in. Instead, i just added some green text if the user is logged in.

  • The image of the rocket inverts the color while the login is 'resolving'

  • We're using the browser's default validation UI to show problems with validating the login form. The is no display built for a server-side error with login because there is no server

TODO

  • lighthouse
    • performance -- how to measure the 'real' site vs a development site?

basement's People

Contributors

nichoth avatar

Watchers

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