Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Glasgow Class 6 - Mandy Cheung - HTML/CSS - Week 3#500

Open
m4ndycheung wants to merge 31 commits intoCodeYourFuture:masterfrom
m4ndycheung:glasgow-class-6/mandy-cheung
Open

Glasgow Class 6 - Mandy Cheung - HTML/CSS - Week 3#500
m4ndycheung wants to merge 31 commits intoCodeYourFuture:masterfrom
m4ndycheung:glasgow-class-6/mandy-cheung

Conversation

@m4ndycheung
Copy link

@m4ndycheung m4ndycheung commented Feb 10, 2023

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name: Mandy Cheung
  • Your City: Glasgow
  • Your Slack Name: Mandy Cheung

Homework Details

  • Module: HTML / CSS 2
  • Week: 3

Notes

  • What did you find easy?
    HTML Markup - adding fonts, changing colours of elements

  • What did you find hard?

  • CSS Grid - it's easy to begin with, but as I started adding more items, my grid started moving about in unexpected ways. Using inspect and looking at my grid structure helped a lot with this. Also taking it slowly helped and drawing out my grid before I started coding.

  • Media queries. It was tricky to use at first - and still is! With more practice I'll get it.

  • What do you still not understand?
    Why my header text isn't staying inside grid column lines 2 / 12.

  • Any other notes?

  • It was a lot of fun learning how to make a hamburger menu - I felt amazed and amused by how a menu icon is built in pure CSS! wow.

  • I could definitely do more to this site, but overall I'm happy with my work and what I learned about media queries and grid.

  • Netlify: https://transcendent-arithmetic-923379.netlify.app/

Added cupcake logo image
Added images to index.html
Changed the social icons to appear in a column so it matches the mobile wireframe
added a main grid to align children of body__container

added a nested grid for header and footer to allow colour to span from start to end of main grid
Split header into two header sections so that I can create a mobile menu

Added space between logo and nav list
Added menu button markup and some classes.

Moved nav bar back under logo for now. I've not made a mobile menu before, so keeping it simple for now.
Moved input and label, they were not in the right place.

Added ability to toggle menu.
Added grid rules for media query

Created a new nav bar to appear at large screen sizes to match wireframe.

Moved main image and text to match wireframe.
I put a fixed value of 30px on columns 1 and 12 so that the grid has white space on both sides. Without this, the first column seems to get bigger.
I changed grid-row-gap to grid-gap to solve the issue and edited the size of grid template columns in the 900px media query.
Removed padding, and applied to padding top only.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant