Git Product home page Git Product logo

milestone-project-literary-edinburgh's Introduction

Literary Edinburgh

Literary Edinburgh is the minimum viable product of a mobile-first web application that introduces users to the rich literary history of the capital of Scotland. The site introduces visitors to novels, across numerous genres, which are set in Edinburgh and informs users about literature-related sights, attractions, tours, and events throughout the city. The aims of the website are thus to enrich the experiences of cultural tourists and to increase interest in tourism in the city. Literary Edinburgh is designed in the first instance as shoulder marketing to existing tourist marketing for the city, such as that offered by This is Edinburgh: Official Guide to Edinburgh (https://edinburgh.org/), and, as such, is envisaged as a local government initiative to boost economic growth in the city, i.e. rather than a for-profit business in and of itself. Literary Edinburgh could appear as a link on the This is Edinburgh website, on flyers in tourist offices, museums, libraries, handed out during festivals, etc., and have its own social media accounts.

UX

NOTE: A full user experience design document, detailing the five planes of design for Literary Edinburgh appears as a separate PDF (available here: https://github.com/RossClarkScotland/Milestone-Project-Literary-Edinburgh/blob/master/User%20Experience.pdf). The Following UX section in the present document provides an overview.

Edinburgh thrives on cultural tourism, most notably through its many festivals in August, e.g. the International Book Festival, the Fringe Festival, and The International Festival. Such events draw huge numbers of tourists with disposable income and a keen interest in culture and the arts to Edinburgh each year. These cultural tourists form the primary target group for Literary Edinburgh. As such, the site aims to cater to cultural tourists who are already visiting or interested in visiting Edinburgh in August.

In its current form, Literary Edinburgh is designed for a post-Corona world, in which tourism and event restrictions have returned to normality. However, should the current situation persist in the long-term, the“Books” page enables users to discover Edinburgh through fiction. And in such a context the site could be modified to involve virtual literary tours or act as a platform for writers to perform and discuss their work. This will be discussed further in the‘Features' section.

User stories

User story 1:

“As a huge bookworm, I always love to read about the places I visit so I want to find some great books set in Edinburgh to put me in the mood before I get there.”

User story 2:

"As someone who loved visiting Edinburgh last year, I want to read more about the city so I can learn more about its culture and history.”

User story 3:

“As someone considering a visit to Edinburgh for the Fringe next summer, I would like to know more about what tours and attractions the city has to offer so I can decide where to spend my holiday.”

User story 4:

“As a major reading nerd, I always want to know where I can get my hands on books whenever I am in a city so I know where to go if I am in the mood to read something new.”

Features: Existing features

All pages
  • The fixed navigation bar allows users to easily navigate the pages of the site by giving them quick access to the navbar regardless of how far they may have scrolled down any one page.
  • The fixed footer allows users to easily access related social media pages by giving them quick access to the footer without having to scroll to the bottom of a long page.
Index.html
  • Using media queries, the background image of the landing page changes from a landscape of Arthur’s Seat and Edinburgh’s city centre on large devices to a more vertical image of one of Edinburgh's picturesque closes on smaller devices. This enables users to have a more visually pleasing experience of the site by giving them an image which best suits their device.
  • The call to action button entitled ‘Get me reading’ enables readers to jump straight to the books page by offering them a visually prominent alternative to the navigation bar.
books.html and sights.html
  • By offering them a quick inner-page hyperlink, the ‘Return to the top of the page’ button after each genre category allows users to avoid scrolling for a long time to return to the top of the page.
  • The ‘fade-out-photo’ provides a buffer at the end of each page and allows users to read the text at the bottom of the pages by ensuring that this text is not covered by the social media links in the footer.
books.html
  • The internal page navigation bar allows users to easily browse books by genre by providing inner-page hyperlinks, and, thus to avoid scrolling down the page if they so wish.
  • The book descriptions allow users to decide whether they are reading a particular book by giving a brief background and plot summary of each.
  • The ‘Buy now!’ buttons enable users to purchase a book by providing a direct link to that book’s Amazon page.
sights.html
  • The internal page navigation bar, aided by images, allows users to quickly jump to one of the five categories of sights and activities on the page by providing an inner-page hyperlink to each.
  • The descriptions of each sight or activity allow users to decide what they would like to see or do in Edinburgh by giving a brief overview of each.
  • The hyperlinks on various sights, activities, and writers enable users to easily find out more information on issues they find interesting by opening up relevant pages on a new tab.
  • The embedded videos allow users to find out further information on sights and activities that interest them by watching these videos without having to leave the Literary Edinburgh site.

Features: Features left to implement

  • Given that Literary Edinburgh is conceptualized as static shoulder marketing to the official Edinburgh tourist site This is Edinburgh: Official Guide to Edinburgh (https://edinburgh.org/), no “About” or “Contact” pages were included, since contact and overall information would best be delivered on the main site. However, were Literary Edinburgh to become a standalone site with a working marketing team. “About” and “Contact” pages would be among the first additions.
  • An ‘Authors’ page comprised of an image gallery of Edinburgh authors. Clicking an author’s image would take the user to an in-site biography and bibliography of the author, including relevant embedded videos and external links.
  • A platform for Edinburgh authors to perform their work and to discuss it with readers through live streams.
  • A "Local bookshops" page with information on and images of local Edinburgh bookshops. Once I have acquired the skills to do so, an embedded mapping API can assist users in locating each shop.
  • Integrating a mapping API for the“Sights and activities” to assist users in finding each sight /activity.
  • Develop a social media presence.

Technologies used

Testing

To ensure that the site contains valid HTML, the HTML code was checked by direct input using the W3C Markup Validation Service: https://validator.w3.org/

To ensure valid CSS, direct input via the W3C CSS Validation Service was used: https://jigsaw.w3.org/css-validator/

To test functionality across various devices, I used the web developer tools inspection feature of each of the following browsers:

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Microsoft Opera

I manually checked all the pages and features of the website (navigation, links, buttons, hover effects, embedded videos) across all device simulations that each browser offers. In all cases, the site now appears to function as desired.

In addition to checking functionality using browser developer tools, the site has been manually checked and found to function as desired on the following devices:

Laptops (checked by both myself and my wife, Anita):

  • Lenovo Yoga 530
  • HP 255 G5 Notebook

Tablets:

  • Kindle Fire 3 HD (checked by both myself and my wife, Anita)
  • iPad mini 3 (checked by my father, George)

Smartphones:

  • Samsung Galaxy J4+ (checked by myself)
  • Samsung A50 (checked by my wife, Anita)
  • iPhone 6+ (checked by my friend, Julia)
  • iPhone XR (checked by my brother, Greg)

Bugs and solutions

Initially, some styling problems, particularly overly large spacing between text sections, was a problem on some devices. But this has been resolved using media queries. In the case of the “Books” page, having the book cover image on the left and the descriptive text on the right left too much white space and an unwieldy look on larger screens. As such, the book cover images appear above the descriptive text on larger screens in the finished product.

Once I had deployed Literary Edinburgh to GitHub Pages, the site navigation did not work unless the project GitPod workspace was running. It emerged that I had entered the links incorrectly, hardcoding them using the URLs that appeared on the GitPod preview. The problem was then resolved once the correct navigation links were entered.These corrections were made before the project's submission and now appear on the deployed site.

Shortly before the project's submission, I discovered that the image-based navigation bar on the "Sights" page did not maintain its integrity up to screen widths of 3840, due to the images themselves having different sizes. This was resolved by resizing the images. However, the original navigation layout, consisting of two landscape images stacked on top of each other and three vertical images side by side, lost its aesthetic appeal at very large screen widths because there was too much white space between the three vertical images. As such, I decided to edit the grid to use all landscape images and to place those images next to one another, i.e. each image taking up six Bootsrap Grid columns. To facilitate this, I also added a sixth section, "Bookshops", to the page so that there would be an even six side-by-side images in the navigation bar. All changes were made prior to the project's submission.

The updated navigation gallery (of six horizontal images next to one another) at first lost its integrity on screen widths of 3820px and above, with two image pairs having white space between them while the third image pair contained no white space. This was resolved by placing all gallery images in one row, instead of the multiple rows I had initially used. The gallery now has the same, aesthetically appealing, white space gap between all image pairs at widths of 3820-3840, at least according to the developer tools of all four browsers used in the testing. However, at widths rather greater than 3840 the white space becomes too large and the gallery's aesthetic appeal diminishes. As such, although the navigation gallery complies with the project criteria of the page maintaining its integrity at widths of up to 3840px, there could potentially still be problems on screens of even greater widths.

While coding, I did not have access to any very wide screens, e.g. 3000px or above. The media queries I applied for such screens were calculated by editing in the browser using developer tools. As such, these media queries are to some extent (educated) guesswork.

How the site meets user needs

User story 1:

“As a huge bookworm, I always love to read about the places I visit so I want to find some great books set in Edinburgh to put me in the mood before I get there.”

How the site meets this need:

The “Books” page provides a list of novels, categorized by genre, that take place in Edinburgh. The page contains a description of each novel and a “Buy now!” button with a link to the Amazon page of each novel.

User story 2:

“As someone who loved visiting Edinburgh last year, I want to read more about the city so I can learn more about its culture and history.”

How the site meets this need:

In addition to the “Books” page providing novels set in Edinburgh, the “Sights and activities” page provides background historical and cultural information on Edinburgh literary landmarks, monuments, and festivals. This information is supported by hyperlinks to relevant, informative websites and by embedded YouTube videos.

User story 3:

“As someone considering a visit to Edinburgh for the Fringe next summer, I’d like to know more about what tours and attractions the city has to offer so I can decide where to spend my holiday.”

How the site meets this need:

The “Sights and activities” page contains descriptions of, hyperlinks to, and embedded videos on tours of Edinburgh as well as major landmarks, monuments, and festivals.

User story 4:

“As a major reading nerd, I always want to know where I can get my hands on books whenever I’m in a city so I know where to go if I’m in the mood to read something new.”

How the site meets this need:

The “Sights and activities” page contains links hyperlinks to a number of Edinburgh bookshops. Additionally, there are links to, and embedded videos on, the National Library of Scotland, The Edinburgh International Book Festival, The Writers’ Museum, and The Scottish Storytelling Center, all of which offer ample reading material for anyone interested.

Deployment

I deployed Literary Edinburgh to GitHub Pages, available at: https://rossclarkscotland.github.io/Milestone-Project-Literary-Edinburgh/. To do so, I opened the project repository on GitHub, opened the Settings, and scrolled down to the GitHub Pages section. To build the site, I selected the Master Branch option from the drop down menu of sources. GitHub then published Literary Edinburgh to GitHub Pages.

To run the code for Literary Edinburgh locally, one may:

  1. Open the main page of the repository at: https://github.com/RossClarkScotland/Milestone-Project-Literary-Edinburgh

  2. Click the green “Code” button.

  3. Click the clipboard icon to copy the project URL.

  4. Open a terminal in GitPod, or other Integrated Development Environment.

  5. Open the file you wish to clone to.

  6. Enter the following command into the terminal:

    $ git clone https://github.com/RossClarkScotland/Milestone-Project-Literary-Edinburgh

Further details are available via: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository

Credits

Content:

Media:

index.html
  • The background image comes from Pixabay.com
books.html
  • The book cover images are links to those on Amazon.co.uk. This links were made to ensure that A) all images would be the same size, B) that the links would remain secure as they come from a stable website, and C) that the images on the website would match those the users would see when taken to Amazon by the “Buy now!” button. N.B. these images, and this website as a whole, are used only for educational purposes and no copyright infringement is intended.
  • The ‘fade-out-photo’ comes from Pixabay.com
sights.html
  • The “Landmarks” image on in the page navigation bar comes from Pexels.com. The “Monuments” image on in the page navigation bar comes from Unsplash.com. All other images come from Pixabay.com.
  • All videos embedded in sights.html come are hosted on YouTube.
  • The ‘fade-out-photo’ comes from Pixabay.com

Acknowledgements:

I would like to thank my wife, Anita, for being a great sounding board for ideas for this project, for proof-reading site content, for double-checking functionality across various devices, and, most of all, for putting up with my furious swearing at my laptop when my code refused to work.

I also owe a debt to my friend Milana, for being decidedly unimpressed with my first idea for this project, and thus forcing me to think of a better one, and for offering invaluable feedback on site visual design.

I am indebted, too, to my friend Julia, my father, George, and my brother, Greg, for checking the functionality of the website on their devices.

I would also like to express my gratitude to my course mentor, Spencer Barribal, for offering encouragement and useful ideas and to the Code Institute tutors and Slack community for pointing me in the right direction when my code was leading nowhere but the deepest depths of despair.

milestone-project-literary-edinburgh's People

Contributors

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