Code Monkey home page Code Monkey logo

intro-section-with-dropdown-navigation's Introduction

Frontend Mentor - Intro section with dropdown navigation solution

This is a solution to the Intro section with dropdown navigation challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size

Screenshot

Full screen

Links

Preview functions

Mobile perspective:

  • Mobile Home page

mobile-home-page

  • Mobile Sidebar

mobile-side-ba

  • Mobile Sidebar active options

mobile-side-bar-active-options

Desktop perspective:

  • Desktop Home page

desktop-home-page

  • Desktop topbar active option

desktop-top-bar-active-options

What I learned

  1. Creating a Click Outside Directive in Angular:

    • Implemented a click outside directive within Angular to facilitate the closing of modal windows, tooltips, or dropdown menus.
    • Linked the directive to the HTML tag to ensure that clicking outside the designated area triggers the closing action.
    • Ensured that clicking within the designated area keeps the component open.
  2. Utilizing '@angular/animations' for Basic Animations:

    • Learned to integrate '@angular/animations' to animate sidebar actions in TypeScript.
    • Manipulated the opacity of a layer using triggers, states, transitions, and animations.
    • Implemented animations for opening and closing actions, enhancing user experience and interface interactivity.
  3. CSS Transformations and Animations:

    • Refreshed understanding of CSS transformations for manipulating the positioning of HTML elements at various keyframes.
    • Employed CSS animations to define animation properties, enabling keyframes to animate according to specified parameters.
    • By mastering these techniques, I've enhanced my ability to create dynamic and interactive user interfaces within Angular applications.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • @media
  • @angular/animations
  • @KeyFrame
  • Angular

Author

intro-section-with-dropdown-navigation's People

Contributors

kennedy-was-taken avatar

Watchers

 avatar

intro-section-with-dropdown-navigation's Issues

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.