Skip to content

A personal project creating a website for a fictitious local community hub for senior citizens.

Notifications You must be signed in to change notification settings

VTickner/sunset-friends-and-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunset Friends & Events Website

Table of contents

Project Overview

TODO: edit/update text

This is the website I had envisaged when I came up with the name Sunset Friends for the group project on the Code First Girls JavaScript JavaScript course I did earlier this year. Ultimately, that group project went in a somewhat different direction, but I still wanted to create the idea that I had come up with.

Screenshots

TODO:

Desktop:
Desktop screenshot

Mobile:

Links

Process

  • Created the basic structure of the HTML index page along with text, logo, and image content.
  • Created the CSS for the colour scheme and font/space sizing (used custom properties to contain them).
  • Created the CSS layout using flexbox and grid.
  • Rather than setting max-width to the container as I wanted the background colour to go across the whole width I added padding to give the content a maximum-width of 96vw by using the variable --padding--container: calc(4vw / 2);.
  • Gave the main-nav--cta, hero--cta and cta (events page links) a different look to make the links stand out.
  • Added an animation on the logo using CSS @keyframes with transform: scale to produce a zoom-in-out effect on mouse hover.
  • Added an animation on the hero image using CSS @keyframes with transform: translateX to make the hero image move in from the right on page load.
  • Edited :focus to match styling of links for keyboard only users (for logo made :focus to be a circle shape)
  • Added JavaScript to enable the following functionality:
    • Set current year in copyright statement.
    • Added smooth scrolling for "Learn more ↓" page link.
    • Added sticky navigation for larger screens. TODO: might need to change window.innderWidth setting
    • Added mobile navigation menu. TODO: adjust look of menu
    • Added carousel for testimonials.
  • Added accessibility aria labels for the carousel section: role, aria-roledescription, arial-label, aria-labelledby.
  • Added social image icons to footer.

TODO

  • create functioning newsletter form
  • add media queries to make site fully responsive
  • refactor CSS

Built with

  • HTML
  • CSS
    • Flexbox
    • Grid
    • Custom properties
    • Animations
  • JavaScript
    • Carousel (testimonials)
    • Mobile navigation
    • Smooth scrolling
    • Sticky navigation
  • Icons

What I learned

When using :focus styling I noticed that clicking the logo link with the mouse showed the focus styling, which was unnecessary as I only wanted that styling showed when not using a mouse to click on it. I learnt how to remove the styling for the functionality I wanted by using :focus:not(:focus-visible).

TODO: edit/update text

As part of The Complete JavaScript Course 2023: From Zero to Expert! course on Udemy, I have learnt in more detail how to work with the DOM and have a better understanding of how to implement rotating carousels and mobile navigation functionality. I decided to implement these functionalities in one of my own personal projects and felt this was a suitable project to do so.

Continued development

To improve my JavaScript knowledge and capabilities by completing The Complete JavaScript Course 2023: From Zero to Expert! course.

Useful resources

Author

  • V. Tickner

About

A personal project creating a website for a fictitious local community hub for senior citizens.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published