Coder Social home page Coder Social logo

ui-basics-test-2's Introduction

Test - UI-Basics

Test Instructions

  • In the test folder in this repository, there are both html and css files as well as an images folder. These files contain the foundations of a computer store landing page!
  • The task is to follow the instructions below to complete the landing page.
  • Good luck!

Images

  • Add the hero.jpg as a background image in the header of the page. The background image should cover the whole header, it should not repeat itself and the image should be at the center of the header.

Positioning

  • Change the position of the header to fixed. The header should be aligned at the top of the page and it should not cover any content of the website.

Attributes

  • Add a fontawesome icon to all of the links which have contain the attribute "target="_blank". You must select the elements by this attribute in css and add the icon directly in css. You should use the pseudo-element ::after on the attribute selector, the font should be "FontAwesome" and the content should be " \f35d".

Responsive Design

  • In the "Product Card" section, use flex to make the cards should appear as a column for mobile and as a row for tablet/desktop (breakpoint: 768px). The column and row should appear in the center of the page. The row should not appear on multiple lines.

  • Give the header text padding on the right of 7rem at the breakpoint of 768px.

Tables

  • In the "Product Information" section, create a table with the structure below. The table should be placed beneath the h2 element.

  • Add a grey solid border to the table, table headers and table rows. Make sure the borders collapse into one border. Every odd row should be white, every even row should be grey. The table should take up 100% of the width.

Table Data Structure

------ Lenovo Dell Macbook
OS Ubuntu Microsoft MacOS
Price $350 $450 $550
Color Black White Silver
RAM 4GB 16GB 8GB

reference table

desktop-view mobile-view

Forms

  • In the "Contact Form" section, create a form with an input field for the user's name, an input field for the user's email, textarea for a message and submit button. The submit button should have a class of submit-btn The form should be placed beneath the h2 element. Create label elements for each input field and textarea e.g. "Tell us who you are", "Tell us how to contact you", "How can we help you?".

  • Add types and placeholder text to the input fields and textarea. The first input field should have a type of text, the following placeholder text "Please fill in your full name" and it should have a minimum length of 1. The second input field should have a type of email, the following placeholder text "Please enter your email" and it should have a minimum length of 5. The textarea should have the following placeholder text: "Send us a message!" and it should have a minimum length of 1.

  • On focus, change the outline color of the input fields and textarea should change to blue.

Footer Links

  • In the "Footer Links" section, add an unordered list beneath the h3 element. The unordered list should have a class of icon-list. Inside the unordered list, add three list items. Each list item should have a class of icon. Every list item should have an anchor link nested inside. Only add an "#" symbol to the href. Find three social media icons to place inside the anchor links, e.g. instagram, linked in, twitter.

ui-basics-test-2's People

Contributors

bulentkyc avatar

Stargazers

 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.