Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lamba01/ratingcardd
A responsive rating card for E-Commmerce websites
https://github.com/lamba01/ratingcardd
javascript localstorage responsive-design
Last synced: 27 days ago
JSON representation
A responsive rating card for E-Commmerce websites
- Host: GitHub
- URL: https://github.com/lamba01/ratingcardd
- Owner: lamba01
- Created: 2022-10-03T11:11:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T20:15:43.000Z (about 1 year ago)
- Last Synced: 2024-11-15T11:09:47.258Z (3 months ago)
- Topics: javascript, localstorage, responsive-design
- Language: CSS
- Homepage: https://ratingcarddd.netlify.app/
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Interactive rating component solution
# ratingcarddThis is a solution to the [Interactive rating component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/interactive-rating-component-koxpeBUmI). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Author](#author)## 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
- Select and submit a number rating
- See the "Thank you" card state after submitting a rating### Screenshot
![](./screenshot9.png)
### Links
- Solution URL: [solution URL](https://github.com/lamba01/ratingcardd)
- Live Site URL: [ live site URL](https://myratingcard.netlify.app/)## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- JavaScript### What I learned
```js
function rating(sender) {
let x = sender.value;
localStorage.setItem("value", x)
}
let y = document.getElementById("selection");
y.innerText = localStorage.getItem("value");
```### Continued development
I will get to use local storage to oass data more in the future.
### Useful resources
## Author
- Frontend Mentor - [@lamba01](https://www.frontendmentor.io/profile/lamba01)
- Twitter - [@lambacodes](https://www.twitter.com/lambacodes)