Git Product home page Git Product logo

firstpagewithformandnavbar's Introduction

Module 01 Mini-Project: Landing Page

In this mini-project, you will build a landing page using HTML and CSS. While you will be responsible for your own landing page, you will work in a group to brainstorm and share ideas.

Instructions

Work in your group to implement the following user stories:

  • As a client, I want to view a single webpage that collects a visitor's contact information.

  • As a client, I want the landing page to have a header and footer.

  • As a client, I want the landing page to have an image with a caption.

  • As a client, I want the landing page to have a contact form.

  • As a client, I want the landing page to have a polished and accessible UI.

Acceptance Criteria

  • It's done when the page uses semantic HTML elements.

  • It's done when the page uses universal, element, and class selectors in CSS.

  • It's done when the page features at least three colors in the design.

  • It's done when the page uses a single font and font family for all text.

  • It's done when the page uses at least two heading elements (<h1> through <h6>).

  • It's done when the header is fixed to the top of the page on scroll.

  • It's done when the header contains a navigation bar with three links that display inline, including a contact link.

  • It's done when, if the contact link is clicked, the page jumps directly to the contact form.

  • It's done when the contact form includes input elements for name and email.

  • It's done when the contact form includes a Send button.

  • It's done when the image includes a descriptive alt attribute.

  • It's done when the page is deployed to GitHub Pages.

๐Ÿ’ก Notes

Follow these instructions to deploy your project to GitHub Pages:

  1. Create a new repository on your GitHub account and clone it to your computer.

  2. When you're ready to deploy, use the git add, git commit, and git push commands to save and push your code to your GitHub repository.

  3. Navigate to your GitHub repository in the browser and then select the Settings tab on the right side of the page.

  4. On the Settings page, select Pages on the left side of the page. On the GitHub Pages screen, choose main in the dropdown under Source.

  5. Navigate to <your-github-username.github.io/your-repository-name> and you will find that your new webpage has gone live! For example, if your GitHub username is "lernantino" and the project is "css-demo-site", then your URL would be <lernantino.github.io/css-demo-site>.

You can also refer to this YouTube video on enabling GitHub Pages for more guidance.

Important: It might take a few minutes for GitHub pages to display your site correctly. If your project does not deploy or display correctly, check that all file paths in your application are relative and use the right casing. GitHub is case-sensitive, an inccorect capital or lowercase letter could cause problems in deployment.

๐Ÿ’ก Hints

Refer to the documentation:

๐Ÿ† Bonus

If you have completed this activity, work through the following challenge with your group to further your knowledge:

  • How can CSS be used to apply a different style to an <a> element when a cursor points at it?

Use Google or another search engine to research this.


ยฉ 2023 edX Boot Camps LLC. Confidential and Proprietary. All Rights Reserved.

firstpagewithformandnavbar's People

Contributors

kirl777 avatar kirill777-web 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.