whoiskekeanyway / my-portfolio-with-react

I made my portfolio with react to help with my learning . I am a big fan of learning by doing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portfolio with Reactjs

Description

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page

Links

My process

Built with

  • Reactjs
  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

I learn about the following:

  • How to use flexbox
  • How to use CSS Grid
  • How to use CSS custom properties
  • How to use mobile-first workflow
  • How to use React.useState
  • How to use React.useEffect
  • How to store the screen size in a state and use it directly in the layout
  const menuBar = toggleMenu ? "close-outline.svg" : "menu.svg";
  this is a conditional rendering of close icon or menu icon when the button is toggled
.list-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease-in;
}

.list-item a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

This is the line under the navbar when you hover it
Render the toggle button when the screen is smaller than 500px
 {(toggleMenu || screenWidth > 500) && (
    )}

Author

my-portfolio-with-react

font-family: "Roboto Slab", serif;

About

I made my portfolio with react to help with my learning . I am a big fan of learning by doing


Languages

Language:JavaScript 55.6%Language:CSS 39.6%Language:HTML 4.8%