An open API service indexing awesome lists of open source software.

https://github.com/bccpadge/ping-coming-soon-page

Frontend Mentor - Ping coming soon page using HTML, CSS & JavaScript
https://github.com/bccpadge/ping-coming-soon-page

frontend-mentor html-css-javascript responsive-web-design

Last synced: about 2 months ago
JSON representation

Frontend Mentor - Ping coming soon page using HTML, CSS & JavaScript

Awesome Lists containing this project

README

        

# Frontend Mentor - Ping coming soon page solution

This is a solution to the [Ping coming soon page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/ping-single-column-coming-soon-page-5cadd051fec04111f7b848da). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)

## Overview

### The challenge

Users should be able to:

- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Submit their email address using an `input` field
- Receive an error message when the `form` is submitted if:
- The `input` field is empty. The message for this error should say _"Whoops! It looks like you forgot to add your email"_
- The email address is not formatted correctly (i.e. a correct email address should have this structure: `[email protected]`). The message for this error should say _"Please provide a valid email address"_

### Screenshot

![](./desktop-ping.png)

### Links

- Solution URL: [Frontend Mentor](https://www.frontendmentor.io/solutions/ping-coming-soon-page-using-html-css-and-js-VYLXaAInof)
- Live Site URL: [Github Pages](https://bccpadge.github.io/ping-coming-soon-page/)

## My process

### Built with

- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow

### Continued development

I would like to do more JavaScript projects on Frontend Mentor.

### Useful resources

- [Accessibile forms](https://www.a11yproject.com/posts/how-to-write-accessible-forms/) - I used the input focus state on my input field.
- [Email validation](https://www.w3resource.com/javascript/form/email-validation.php) - I got the regex snippet code from this website.
- [Utopia](https://utopia.fyi/) - Fluid respsonsive design website
- [HTML DOM Element Style](https://www.w3schools.com/jsref/prop_html_style.asp) - I changed the border color to green using the style property in JavaScript.

## Author