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

https://github.com/timalexanderandersson/get-more-sleep-website


https://github.com/timalexanderandersson/get-more-sleep-website

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# GetMoreSleep

The website [GetMoreSleep](https://timalexanderandersson.github.io/Get-More-Sleep-Website/) is for people who having a hard time falling a sleep. And in need of some short tips to help people improve the sleeping quality, get more energy, faster recovery and falling asleep faster.


![responsive](assets/readme-pics/responsive.png)

## Features

### Header

![alt text](assets/readme-pics/header.png)

- GetMoreSleep explains directly what the site is all about.
- color used is #0F7881 made more transparent (0.15)
- Website is clear for all ages.

### navigation
![alt text](assets/readme-pics/navigation.png)
- Navigation to homepage, Tips and contact. they have the center position.
- homepage is all the relevant about the webpage.
- tips for all the hacks for sleep.
- contact for questions about tips or website.
- clearly understand what each of the links navigate to.

### Hard time to fall asleep?
![alt text](assets/readme-pics/main.png)

- This is the information part of the first page of the website.
- telling information about hacks they may not know to get users to go to the tips site.
- and the box include a link to the tips site.
- background color #f1f8f8.

### Tips part

![alt text](assets/readme-pics/tips.png)

- This part of the website is what the user is there for to get the information they search for.
- h2 with clear direction.
- bullet symbols with tips for the user to read.
- clear and short information.

### Contact

![alt text](assets/readme-pics/contact.png)

- Contact site give the user a chance to ask about the website or ask about more sleeping hacks.
- a short text about why the user want to send message.
- firstname ,last name, e-mail and question part is required.

### Footer

![alt text](assets/readme-pics/footer.png)

- bottom of the page is where you find the follow us on social media with icon links to the different webpages.

- instagram link, X/twitter link, Facebook link.

- color used #0F7881 made more transparent (0.15).

## Testing

- The website is tested and is responsive in Google chrome, Safari and Firefox browser.

- Easy to see and read everything on the webpages.

- Everything works on the webpages. social media links. tips link. contact page: every name, lastname, e-mail and textarea is required before you can submit.

### Validators / Lighthouse

![alt text](assets/readme-pics/goodscore.png)

- **accessibility**: lighthouse show an 93 in accessibility.

- **HTML**: testing with official W3C Validator: one warning was found going through the validator.
![alt text](assets/readme-pics/htmlerror.png)

solution: Change the h1 to an h2.

![alt text](assets/readme-pics/htmlOK.png)

- **CSS**: testing with official (jigsaw) validator: no error was found going through the validator.

![alt text](assets/readme-pics/cssOK.png)

### Bugs

- No bugs found.

### Unfixed bugs

- None unfixed
## Deployment

**Deployment was made on github.**
- To the repositories.

![alt text](assets/readme-pics/resp.png)

- select to go in to the website.

![alt text](assets/readme-pics/homepage.png)

- from there to the settings and to pages (settings/pages).

![alt text](assets/readme-pics/settings.png)

![alt text](assets/readme-pics/pages.png)

- Build and deployment go to the dropdown menu Source: deploy from a branch. and on the other drop-down menu Branch: main /(root) and save.

![alt text]()

- main selected and saved.

- back to the repositories and to the website where the link is down at the right under Packages it says Deployments.

- deployment complete. and link is accessible.

![alt text](assets/readme-pics/livesite.png)

## Credits

**Content on the webpage**

- inspiration from love running project with hover effect and footer with social media icons. twitter/X , facebook, and w3schools.
- https://www.verywellmind.com/sleep-syncing-for-better-sleep-and-energy-7504842
https://www.webmd.com/sleep-disorders/features/morning-light-better-sleep
https://healthnews.com/sleep/sleep-hacks/andrew-hubermans-sleep-routine/
https://www.calm.com/blog/breathing-exercises-for-sleep
https://www.verywellhealth.com/eating-before-bed-3014981
the tips.

**Media**
- https://www.pexels.com/ for the picture on the first homepage(clock in bed).
- https://coolors.co/ for color #0F7881 in header and footer.
- https://favicon.io/ for making my icon to the website.
- https://fontawesome.com/ for icon to the title on the website.