Code Monkey home page Code Monkey logo

foodsavor_htmlscss's Introduction

FoodSavor Named Project for learning SCSS

The design is taken from Jetsetter Figma Design Link Thanks to him for this design.

Table of contents

Overview

This a practice project for learning scss.

Screenshot

Design

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Scaled CSS (using rem)
  • SCSS

What I learned

In this project I learned many things like flexbox, SCSS instead of Custom CSS and in SCSS I learned nesting, variables, importing fonts, varibles storing many styles etc. I also tried to keep the design in Semantic HTML. The purpose of this project was to get back into the programming after my gap in practice.

The over structure (overview) of the HTML is as follows:

<body>
    <header class="header">
        <div class="icon">
        </div>
        <nav>
        </nav>
        <button class="btn">Sign Up</button>
    </header>
    <main>
        <div class="main_content">
            <div class="portion_main">                
                <button> Get started </button>
                <div class="Customers">    
                </div>
            </div>
            <div class="front_images">
            </div>
        </div>
    </main>

    <section class="section_1 quest_text">
        </div>
        <div class="sub_section1">            
        </div>
    </section>
    <section class="section_2 quest_text">
        <div class="Declaration1">
        </div>
        <div class="Feed_Sub">
            <div class="dev">  </div>
            <div class="dev"> </div>

            </div>
            <div class="dev"> </div>
            </div>
        </div>
    </section>
    <footer class="footer">
    </footer>

Some of the SCSS properties I really liked are:

%flex{
    display: flex;
}
%flex1{
    display: flex;
    justify-content: center;
}
%flex2{
    display: flex;
    justify-content: center; 
    align-items: center;
}
%textfont{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 3rem;
}
$Whitecolor: #FFFFFF;
$GreenColor: #7EB685;
$GreenColor2:#DEEDE0;


%button{
    width: 25rem;
    height: 7rem;
    background-color: $GreenColor;
    border: none;;
    border-radius: 5rem;
    @extend %textfont;
    color: $Whitecolor;
}

I also learned how to use the @extend property in SCSS. It is very useful to extend the properties of a class to another class.

Continued development

  • Media Queries can be added to make it responsive.
  • Animations and Transitions can be added to make it more interactive.
  • Multiple pages can be added to make it more interactive.

Useful resources

  • W3School - This resource is perfect for beginners. It has all the basic information about HTML, CSS, SCS, etc. It also has a lot of examples which are very helpful.
  • SCSS official Docs - official docs of SCSS. It has all the information about SCSS and how to use it.

My Social Links

foodsavor_htmlscss's People

Contributors

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