Code Monkey home page Code Monkey logo

odin-landing-page's Introduction

Odin-landing-page

Implements a toy landing page from the Odin Project: Foundations lesson using HTML and CSS.

Live preview here!

Assignment Prompt

  1. Download the design images and take a look at what you’re going to be creating here. Image One (Full Design), Image Two (Color and Fonts)
    • The font that’s being used in the images is roboto.
    • Hero text is the statement that appears at the top of a web page.
  2. There are many ways to tackle a project like this, and it can be overwhelming to look at a blank HTML document and not know where to start. Our suggestion: take it one section at a time. The website you’re creating has 4 main sections (and a footer), so pick one and get it into pretty good shape before moving on. Starting at the top is always a solid plan.
  3. For the section you’re working on, begin by getting all the content onto the page before beginning to style it. In other words, do the HTML and then do the CSS. You’ll probably have to go back to the HTML once you start styling, but bouncing back and forth from the beginning will take more time and may cause more frustration. (Note: you don’t need to use more than one stylesheet. Using only one CSS file is adequate for this project).
  4. Many of the elements on this page are very similar to things you saw in our flexbox exercises… feel free to go back to those if you need a refresher.
  5. Do not worry about making your project look nice on a mobile device. We’ll learn that later.
  6. When you finish, don’t forget to push it up to GitHub!

Reflection

  1. Save the alignment and centering of html elements for the final step. Focus on getting the right content first. Sketch the html layout and containers needed to achieve the design.
  2. Apply * {border: 1px solid red} to the entire page to more clearly see the layout of individual elements, their padding, margins, alignment, etc.
  3. If percentage dimensions are not taking hold, check that the parent or ancestors have dimensions specified.
  4. Consider using combinator selectors, chaining, or filtering as an alternative to class labeling.
  5. Using Chrome Dev Tools to view aggregated styles from your style.css file.
  6. Focus on atomic changes and commits.
  7. Experiment with features on seperate branches.

Future Improvements

  1. Responsive Design
  2. Fixed Header Bar

See this example

odin-landing-page's People

Contributors

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