John and Helenas wedding site
John and Helenas wedding site is a digital and interactive form of wedding invitation to our wedding. It's a place where the invited wedding guests can find information about the wedding, RSVP and look at inspirational pictures of the couple. The website is designed to be written on a piece of paper to get the feeling of an analog wedding invitation.
Features
Existing Features
-
Navigation Bar
- Featured on all four pages, the full responsive navigation bar includes links to the Home page, Wedding info, RSVP and Gallery page and is identical in each page to allow for easy navigation.
- This section will allow the user to easily navigate from page to page across all devices without having to revert back to the previous page via the ‘back’ button.
- The clickable "hamburger" type menu appears at screen widths at 520px or smaller and was created after watching this tutorial by YouTuber Kevin Powell.
-
Landing page
- The landing page image is a photograph of John and Helena lovingly staring into each others eyes, with a nice tile background with a heart in it. It represents the love that will be celebrated at the wedding, and is intended to put the visitor in a good mood for going to our wedding.
- Under the landing page image the user first gets informed they are invited to our wedding and then can read a short introductory text with date and location under it.
- At the bottom of the section are three images to neatly frame the invitation information and add some more color to the otherwise black and white page.
-
Info page
- The info page contains all the information about the wedding, divided under the three sections of When, Where and How.
- The Where section has clickable embedded Google Maps-links for the location of the bus stop and the wedding location.
- The How section has every bit of practical information the guests need for preparation, along with a short schedule in a table format.
-
RSVP Page
- This page contains a simple form for the guests to RSVP to the wedding.
- Required fields are name, email and number of guests. All other fields are optional.
- Here the guests can request a song for the party, inform of food preferences and/or allergies and book a room in the message-field.
-
The Footer
- The footer section includes links to all pages on the website, as well as the relevant social media sites for John. The links will open to a new tab to allow easy navigation for the user.
- The footer is valuable to the user as it encourages them to keep connected via social media, and lets them navigate when they've scrolled all the way down.
- The footer has a small copyright text to inform the user of the author.
-
Gallery
- The gallery shows a bunch of different pictures of John and Helena together to inspire them for e.g. gifts, outfits or a speech. The image masonry style layout was inspired by the Love Running Gallery.
Features Left to Implement
- A future idea is to add a page with a story timeline, where the user can see a timeline with pictures of events through the couples relationship, from the first date to the wedding.
- Another interesting addition would be to develop the process of booking rooms.
Testing
Apart from the two validator tests, the most continuous testing of the project has been testing different screen widths to make sure the website is responsive throughout. I opened the finished project on my iPhone 13 and my wifes iPhone 12, and made sure it looked good in Safari as well as in Chrome.
Lighthouse test
I used the Lightouse test in Google Devtools mainly to ensure the accessibility of the website.
Responsiveness
As i build the website i continuously fooled around with the screen width to ensure the content i added was displayed correctly on all screen widths. I added media queries here and there, where there was a breaking point in the displaying of the content. Mainly i found the pictures needed media queries, and in the places where i used flexbox i simply changed the flex-direction from row to column where needed.
Interesting bugs/errors
After i put the styles.css through the Jigsaw Validator i got these warnings:
- Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
These warnings appeared on all lines where i declared a font family containing a space in the font family name. After a bit of googling i learned that these errors were harmless, however i chose to add single quotes to the font family names to get a clean validation.
Validator Testing
- HTML
- No errors were returned when passing through the official W3C validator
- CSS
- No errors were found when passing through the official (Jigsaw) validator
Unfixed Bugs
No apparent unfixed bugs appear.
Deployment
-
The site was deployed to GitHub pages. The steps to deploy are as follows:
- In the GitHub repository, navigate to the Settings tab
- From the source section drop-down menu, select the Master Branch
- Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.
-
At the first deployment, neither the css nor the images loaded on the website. After a bit of googling i realized that all file names started with a "/" (i.e /assets/css/styles.css) and that caused them not to load. I removed the "/" from all file names and it worked fine.
The live link can be found here - https://johneriksson88.github.io/wedding/index.html
Credits
Content
- The text for all of the website was written by me in consulting with my wife
- Instructions on how to create a responsive form came from this tutorial by George Martsoukos
- Instructions on how to create a responsive navigation bar with hamburger menu came from this tutorial by Kevin Powell
- Code for the footer was derived from this code from Codepen user slstudios
- Instructions on how to create a masonry style gallery came from the Love Running Project in Code Institutes Full Stack Developer Course
- Credits to Youtuber Kevin Powell, whose video on flexbox helped me understand the concept of it
Media
- All photos used on the website except one came from me and my wife
- Hand drawen caricature style portrait of me and my wife drawn by Anton Salvin
- The icons for the social media in the footer and on the info page were taken from Font Awesome