Giter VIP home page Giter VIP logo

shopright's Introduction

Room homepage

Table of contents

Overview

The challenge

A user can:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Navigate the slider using either their mouse/trackpad or keyboard

Screenshot

Screenshot 2024-06-07 at 12 46 33 AM Screenshot 2024-06-07 at 12 46 33 AM

Links

Built with

What I learned

I learned to leverage styled components in React for dynamic styling based on screen width, enabling responsive design. Additionally, I gained proficiency in utilizing TypeScript to add type safety and enhance the development experience, ensuring robust code. This combination empowered me to create more adaptable and maintainable web applications.

below is some code I'm proud of,

@media (min-width: 781px) and (max-width: 850px) {
  li:nth-last-child(2) {
    color: black;
  }
  li:last-child {
    color: black;
  }
}

@media (min-width: 851px) and (max-width: 1030px) {
  li:last-child {
    color: black;
  }
}

the above code allows me to change the color of the navigation list items based on the size of the screen. Screenshot 2024-06-07 at 12 46 52 AM

as seen above

Continued development

I aspire to enhance my proficiency in utilizing CSS-in-JS libraries like styled-components to create visually appealing and responsive user interfaces. also, I plan to explore backend technologies such as Ruby and databases like PostgreSQL to broaden my skill set and develop full-stack applications.

author

๐Ÿ‘ค Akite Donald

shopright's People

Contributors

quavo19 avatar

Stargazers

 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.