Skip to content

Latest commit

 

History

History
114 lines (80 loc) · 3.68 KB

README.md

File metadata and controls

114 lines (80 loc) · 3.68 KB

User Profile Skeleton

Table of Contents

Overview

The challenge

The goal of this project was to create a user profile skeleton screen that displays a loading state before showing the actual user profile information. This approach enhances the user experience by indicating that data is being loaded.

Screenshots

Device State Screenshot
Mobile Loading Mobile Loading
Final Mobile View
Desktop Loading Desktop Loading
Final Desktop View

Links

My process

Built with

  • HTML5
  • CSS3
  • JavaScript

What I learned

  • Implementing skeleton screens to enhance the user experience during data loading.
  • Using CSS animations for a smooth loading effect.
  • Handling dynamic content updates with JavaScript.

Continued Development

Future improvements may include:

  • Integrating real API calls to fetch user data.
  • Enhancing the design with additional animations and transitions.
  • Adding more responsive design features for various screen sizes.

Useful Resources

Installation Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/user-profile-skeleton.git
    
  2. Navigate to the project directory:

    cd user-profile-skeleton
  3. Open index.html in your preferred web browser to view the project.

Dependencies

No external dependencies are required for this project. All styles and functionality are handled through native HTML, CSS, and JavaScript.

Usage Instructions

  • The initial skeleton screen will be displayed.
  • After 5 seconds, the profile content will appear with user details.
  • Customize the script.js file to change the simulated user data.

Project Structure

  • index.html
  • style.css
  • script.js
  • images/
  • README.md

Key Files

  • index.html: The main HTML file containing the structure of the profile and skeleton screen.
  • styles.css: The stylesheet defining the styles for the skeleton screen and profile content.
  • script.js: The JavaScript file simulating data fetch and updating the DOM.
  • images/: Folder containing screenshots of the project in both mobile and desktop views (loading and final states).

Author