Coder Social home page Coder Social logo

lab-templates-css-101's Introduction

LAB-Templates-CSS-101

Learn the about HTML/CSS and apply your learning on a new project of your own choosing.

  • Use Django. Use Templates, Static Files, Dynamic and relative links to acheive that.
  • Your final result should have at least two web pages (you can create more while learning!)

A Suggested learning plan for HTML/CSS with resources. You'll find more resources submitted to discord.

1: Introduction to HTML

Goals: Understand the basic structure of a web page and essential HTML elements.

  1. Basic Structure

    • Learn about HTML tags and the structure of an HTML document.
    • Create your first HTML file with <!DOCTYPE html>, <html>, <head>, and <body> tags.
    • Resources: MDN Web Docs - HTML Basics
  2. Text and Formatting

    • Learn about headings (<h1> to <h6>), paragraphs (<p>), bold (<b>), and italic (<i>).
    • Practice creating and formatting text.
    • Resources: W3Schools - HTML Elements
  3. Links and Images

    • Learn how to create links (<a>) and add images (<img>).
    • Understand attributes like href and src.
    • Resources: W3Schools - HTML Links, HTML Images
  4. Lists and Tables

    • Learn about ordered (<ol>) and unordered (<ul>) lists, and list items (<li>).
    • Introduction to tables (<table>, <tr>, <td>, <th>).
    • Resources: MDN Web Docs - HTML Lists, HTML Tables
  5. Forms and Input

    • Learn about forms (<form>) and input elements (<input>, <textarea>, <button>, <select>, etc.).
    • Resources: MDN Web Docs - HTML Forms
  6. Review and Practice

    • Review all the topics covered so far.
    • Build a simple web page incorporating text, images, links, lists, tables, and a form.
    • Resources: Any HTML tutorial platform for practice (e.g., Codecademy, FreeCodeCamp).
  7. Mini Project

    • Create a webpage of your choosing. examples:a list of hobbies, favorite links,a contact form, about a football team you support, etc.
    • Resources: Personal creativity and practice.

2: Introduction to CSS

Goals: Understand the basics of CSS and how to style HTML elements.

  1. Basic Syntax and Selectors

    • Learn about the structure of CSS rules (selectors, properties, and values).
    • Understand different types of selectors: element, class, ID, and universal.
    • Resources: MDN Web Docs - CSS Basics
  2. Colors and Backgrounds

    • Learn how to apply colors using names, HEX, RGB, and HSL values.
    • Learn about background properties: background-color, background-image, background-repeat, etc.
    • Resources: W3Schools - CSS Colors, CSS Backgrounds
  3. Text Styling

    • Learn about font properties: font-family, font-size, font-weight, font-style, and text-align.
    • Understand how to use Google Fonts.
    • Resources: Google Fonts, MDN Web Docs - CSS Fonts
  4. Unit of Measurements & Positions

  5. Box Model

    • Understand the box model: margin, border, padding, and content.
    • Learn how to use width, height, box-sizing.
    • Resources: MDN Web Docs - Box Model
  6. Layout Basics

    • Introduction to display properties: block, inline, inline-block, none.
    • Learn about CSS positioning: static, relative, absolute, fixed.
    • Resources: W3Schools - CSS Layout
  7. Flexbox Basics

    • Introduction to Flexbox layout model.
    • Learn properties like display: flex, justify-content, align-items, and flex-direction.
    • Resources: CSS Tricks - A Complete Guide to Flexbox
  8. Mini Project

    • Create a styled version of the personal webpage from 1 section.
    • Use various CSS properties learned throughout the week.
    • Resources: Personal creativity and practice.

3: Advanced HTML & CSS Concepts

Goals: Deepen understanding of HTML and CSS with advanced concepts and techniques.

  1. 1: Semantic HTML

    • Learn about semantic HTML tags: <header>, <nav>, <main>, <section>, <article>, <aside>, <footer>.
    • Resources: MDN Web Docs - HTML5 Semantic Elements
  2. 2: Responsive Design

    • Learn about media queries and responsive design principles.
    • Understand how to create a responsive layout that adapts to different screen sizes.
    • Resources: MDN Web Docs - Responsive Design
  3. Day 3: CSS Transitions and Animations

    • Learn how to add transitions (transition-property, transition-duration) and animations (@keyframes, animation-name).
    • Resources: MDN Web Docs - CSS Transitions, CSS Animations
  4. 4: Advanced Selectors and Pseudo-classes

  5. 5: CSS Frameworks

    • Introduction to popular CSS frameworks like Bootstrap and Tailwind CSS.
    • Learn how to incorporate a framework into your project.
    • Resources: Bootstrap - Introduction, Tailwind CSS - Getting Started
  6. 6: Accessibility and Best Practices

Additional Tips

  • Practice Regularly: Consistency is key to mastering HTML and CSS.
  • Build Projects: Apply what you learn by building small projects.
  • Join Communities: Engage with online communities (e.g., Stack Overflow, Reddit, Twitter) for support and inspiration.
  • Stay Updated: Web technologies evolve; keep learning and exploring new techniques.

4:

Mini Project

  • Apply all you've learned on your webpage.
  • Create another webpage (an article, informational, contact us page, etc.) and apply on it all you've learned.

lab-templates-css-101's People

Contributors

e7gx avatar aqeel-aleid 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.