GithubHelp home page GithubHelp logo

harry-potter's Introduction

The objective:

The purpose of this project was to recreate a Harry Potter Website using CSS Flexbox and what we had been taught.

The class was given a pdf with a image of how the website should turn out with various intructions.

These were as follows:

  • The banner image is a background (applied via CSS).

  • The banner background image should take up the whole of the webpage.

  • The banner height was 80vh.

  • The width was 100%.

  • The nav height was 25px.

  • The first section had a suggestion for achieving the structure in html. This would be 2 <div> inside a container <div> - flex was used.

  • Repeat


๐Ÿ“ We were told we would learn how to make it more responsive going forward. This is something I intend to add once learned.

My Thoughts:thought_balloon:

This one was tricky, but I knew going in CSS eluded me.
However after having an extra session with my mentor I was able to see what my problems were.

  1. My Approach:

    I was all over the place, making changes to one element and when I couldn't get it to adjust anymore, I would just move onto the next element I fancied trying to style. My mentor taught me how to change my approach for the better.

I needed to take the document from top to bottom and split screen my html document and CSS style sheet. Starting from the <body> element, I worked my way down the document, I didn't move onto new elements until I had applied all the styles I could to it.

  1. My Focus:

    Again I was focused too much on trying to manipulating the containers and I was also forgetting to manipulate the box model for each element In short my view was too wide and I needed to narrow it. Again my mentor was the one who helped me see this and reign my focus back to all of the element I was manipulating e.g, content, padding, margin, border.

Once I was able to do this, I found the task straightforward, with alot less frustration and a more formulaic method.

I also added the lighthouse report for the site, I'm quite happy with the result.

I also look forward to increasing its responsiveness.

harry-potter's People

Contributors

brummiequinn avatar

Stargazers

 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.