Code Monkey home page Code Monkey logo

catherineisonline / ping-coming-soon-page-frontendmentor Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 3.0 344 KB

This is my solution to the ping coming soon page challenge on Frontend Mentor. [ARCHIVED]

Home Page: https://catherineisonline.github.io/ping-coming-soon-page-frontendmentor/

License: MIT License

JavaScript 11.86% HTML 27.22% CSS 60.92%
frontendmentor frontendmentor-challenge frontendmentorchallenge frontend-mentor frontend-mentor-challenges ping-coming-coosn-page coming-soon-page coming-soon-template beginner-project

ping-coming-soon-page-frontendmentor's Introduction

Ping Coming Soon Page

Solution for a challenge from frontendmentor.io.



About The Project

This challenge is great for beginners and offers a chance to practice basic client-side form validation. The challenge is to build out this Coming Soon page and get it looking as close to the design as possible. You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.



Users should be able to:
1. View the optimal layout depending on their device's screen size. 2. See hover states for all interactive elements on the page.
3. Submit their email address using an input field.
4. Receive an error message when the form is submitted if the input field is empty & the email address is not formatted correctly.

I do not have access to the Figma sketch so the design is not pixel perfect.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flex
  • Grid
  • Mobile-first workflow
  • JavaScript

What I learned

This was my first time trying out form validation. The hardest part which I never managed to fix is the error message disappearing too fast sometimes. At first I used setTimeout however seems like it triggers only once. I changed it to setInterval and it worked, however sometimes what happens is that it disappears very fast even though my timing number isn't that fast. I will eventually get back to this and try to find a different way.

Useful resources

  1. Figma - Paste your design image to check the size of containers, width, etc.
  2. Perfect Pixel - Awesome Chrome extension that helps you to match the pixels of the provided design.

Acknowledgments

A big thank you to anyone providing feedback on my solution. It definitely helps to find new ways to code and find easier solutions!

ping-coming-soon-page-frontendmentor's People

Contributors

catherineisonline avatar

Stargazers

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