GithubHelp home page GithubHelp logo

usmanajabbar / holberton-headphones Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.9 MB

This repository aims to design a website with HTML/CSS based off a concept file created in Figma.

HTML 42.63% CSS 57.37%
html5 css figma ui-design ux-design

holberton-headphones's Introduction

Holberton-Headphones-Cover-Image UsmanJabbar.COM

HTML/CSS - Holberton Headphones

This project is a part of the Holberton School Specialization Curriculum.

On this project, we were offered a concept design file created in Figma where we were required to replicate a mockup design in HTML and CSS exclusively. The Figma mockup sketch could be found in the extras folder.

Overview / Notes:

  • The mandatory section of the curriculum is broken down into five seperate sections, progessively adding a new section with each iteration of the index.html file.
    • Hero Section
    • Work Section
    • Results Section
    • Contact Us Section
    • Footer Section
  • The project has all of its html files located in the root of the repository. Meanwhile, the required dependencies such as CSS stylesheets as well as fonts are located in the /styles, /images and /fonts directories.
  • The overall structure is being handled by three seperate classes defined in the CSS file, called .section, .container, as well as .content. Furthermore, a number of native HTML tags were stylized to ensure consistency between all of the sections.
/* Section/Container Variables */
:root {
	/* Content Width */
	--min-height-section: 600px;
	--max-width-container: 1000px;
	--max-width-content: 630px;
}
/* Highlight Code */
.section {
	min-height: var(--min-height-section);
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	text-align: center;
}
.container {
	/* Applies to all containers except header-container */
	max-width: var(--max-width-container);
	display: flex;
	flex-direction: column;
	padding: 6rem 1rem; 
}
.content {
	max-width: var(--max-width-content);
	display: flex;
	flex-direction: column;
	align-self: center;
}
  • To aid further development, a number of variables were also used allowing the website to be colorized over time and updated overtime. Variables that control the accent colors of the website, as well as the height and widths of each and class mentioned above.
  • By the end of the project all of the navbar menu links scroll to their respective sections.
  • To ensure a touch of finesse, ensured smooth scroll's present on all of the files.

Author

  • Usman Abdul Jabbar Shaikh (hi[at]usmanjabbar.com | usmanjabbar.com)

holberton-headphones's People

Contributors

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