Giter Club home page Giter Club logo

persona-poems's Introduction

Persona Poems

Hero Image

Live project available here

A vibrant, simple site designed to provide a short personality poem based on the user's answers.

Description

The site was intented to have a warm welcome and simple structure. I did not want to overwhelm the site with unnecessary features as the main obective is to deliver a short piece of writing to entertain the user.

Features

  • Favicon
  • Single page (simplicity)
  • Responsivity - site responds to M + L Phone, tablet, laptop and computer
  • Clickable Trademark hyperlinking to email
  • Personality quiz in JS which saves answers, using them to create a poem
  • Start, Navigation and Restart buttons

Testing

For validating my code I used:

  • W3C Markup Validator
  • W3C CSS Validator

Tested project on web.dev, receiving the following scores:

  • Performance: 72
  • Accesibility: 79
  • Best Practices: 92
  • SEO: 91

Bugs, Problems

Throughout my project, I encountered many problems and bugs, especially when coding the JavaScript section. This was the most difficult section, as multiple times I needed to rework how the logic of the poem worked.

I tried to document these issues as much as possible, as my github will show. I did run into timing issues this month after contracting Covid, so there is far more that I would have liked to achieve. Still, I'm happy with what I accomplished.

One of my major issues was the logic of the poem and how the sentences were pulled out after an answer was given. Initially, I wanted to have 10 questions varying a different of options, though time did work against me and I was unable to accomplish this. I had trouble deciding whether the answers would be stored in a separate array to the questions, but ultimately I decided it easier to have the question, answer and corresponding poetic sentence stored together in one array. Although I am happy with how the concept turned out in the end and it is certainly one I will expound! Having said that, there are bugs that need to be addressed:

  • User can skip question, leaving 'undefined' as answer in final poem. This can be fixed by removing the right navigation or having a default answer for each question.
  • Left navigation doesn't do anything on the first question. This can be removed or returns the user to the start page.

Technology

  • Github
  • Gitpod
  • HTML
  • CSS
  • JavaScript
  • Google Font
  • Unsplash
  • Font Awesome
  • Icons8
  • Markdown

Acknowledgements

Special thanks to my girlfriend, Grace and my brother, Colin. They gave me invaluable support and guidance through my project yet again, so thank you guys!!

Also, thank you to the fine lecturers of Code Institute, and the ever-growing community on Slack!

I'm delighted to now know what I know about JavaScript. It was a very difficult road from the start of the month as I struggled to get a great bearing on JavaScript, but I'm delighted with how far I've come and relish the next challenge of Python!

persona-poems's People

Contributors

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