Star Rating System in HTML CSS & JavaScript | CodingNepal

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024
  • Star Rating System in HTML CSS & JavaScript | CodingNepal
    Download Code From Here - www.codingnepa...
    Related Videos You Might Like:
    Password Strength Check [HTML] [CSS]
    ➤ • Password Strength Chec...
    Windows Preloader [HTML] [CSS]
    ➤ • Windows Preloader usin...
    Music Credit:
    Track: Diviners - Savannah (feat. Philly K) [NCS Release]
    Music provided by NoCopyrightSounds.
    ➤ • Diviners - Savannah (f...
    Track: Rival x Cadmium - Seasons (feat. Harley Bird) [NCS Release
    Music provided by NoCopyrightSounds.
    ➤ Watch: • Rival x Cadmium - Seas...
    ROY KNOX - Blue Eyed Demon [NCS Release]
    Music provided by NoCopyrightSounds.
    ➤ Watch: • ROY KNOX - Blue Eyed D...
    My Code Editor - • Best Text Editor for H...
    Facebook - / coding.np
    Instagram - / coding.np
    Keywords :
    five star rating system html css, html css star rating, star rating in html css, css star rating, star rating widget html css, html css star rating system, rating system in html css, css star, star rating in css, star rating in javascript, javascript star rating widget, star rating using html css

ความคิดเห็น • 165

  • @youssefmuhammad2749
    @youssefmuhammad2749 3 ปีที่แล้ว +5

    first thanks so much codeNepal for your help and amazing inspiring really i appreciate your help,
    second something different happened to me i will share it for everyone had the same problem
    when i use tag and put class="fas fa-star" into it every time i clicked on the label it wasn't working and it like not related to the radio input, also the css wasn't working of the label tag and i did everything to fix it and according to my understanding of tag it should be contain a text to work on click, so i tried to add inside label tag instead of put class="fas fa-star" within label tag and indeed it finally works.
    and this some of my code
    "HTML CODE"




















    "CSS CODE" - SCSS
    .review_stars {
    width: 100%;
    float: left;
    height: 90px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    input {
    display: none;
    }
    label {
    float: right;
    font-size: 13px;
    color: #727272;
    transition: all 0.3s ease;
    cursor: pointer;
    }
    input:not(:checked) ~ label:hover,
    input:not(:checked) ~ label:hover ~ label {
    color: #ff8220;
    }
    input:checked ~ label {
    color: #ff8220;
    }
    }

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว +1

      It's not problem by tag, you may did some other mistakes like you may forgot put value in for attribute of and the value is exact same as input id attribute value

    • @youssefmuhammad2749
      @youssefmuhammad2749 3 ปีที่แล้ว +1

      @@CodingNepal thank you for your answering and interesting, i made sure that is all same exact values id and for and made sure all contain it as i mentioned above in my code but it was always didn’t work maybe something wrong in my code but for helping others i share it :D

  • @briandesign
    @briandesign 4 ปีที่แล้ว +16

    if I could I'd give this vid 5 stars haha

  • @princess8486
    @princess8486 3 ปีที่แล้ว +1

    Thank you for sharing so much valuable information and making us fall in love with front-end designing in such an easy and concise way. 🥰

  • @moviesshow7281
    @moviesshow7281 ปีที่แล้ว +1

    Thanks so for the greate code, But sir where form data will save or store? please guide

  • @rajatpatel1148
    @rajatpatel1148 ปีที่แล้ว +1

    Thank you so much brother. These projects really teach a lot. Thanks a ton!! :)

  • @SouryajeetSingh
    @SouryajeetSingh 4 ปีที่แล้ว +2

    Your design are always awesome

    • @jayprecode8012
      @jayprecode8012 4 ปีที่แล้ว +3

      Ever since I've known him..... He's astounding

    • @SouryajeetSingh
      @SouryajeetSingh 4 ปีที่แล้ว +1

      @@jayprecode8012 yes, absolutely right

    • @patriotact3729
      @patriotact3729 4 ปีที่แล้ว +1

      Thanks

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Thanks a lot 😊

  • @wagnaomoreira3961
    @wagnaomoreira3961 4 ปีที่แล้ว +5

    ( W ) Congratulations and thank you, you inspire me! 🇧🇷👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      You're welcome bro 💙

  • @Knuddelfell
    @Knuddelfell 4 ปีที่แล้ว +5

    Underrated YT Channel

  • @sauravdutta5496
    @sauravdutta5496 ปีที่แล้ว +1

    If put the code in a website, where do I get the average rating report?
    Please help me

  • @rufusodion8878
    @rufusodion8878 10 หลายเดือนก่อน

    Thanks for this.
    But I added this to a web page I am currently designing, everything is but when I click the POST button it doesn’t display the “thanks for rating us!” Page, it only reload the website. How can I fix this?

  • @bambindien3327
    @bambindien3327 4 ปีที่แล้ว +4

    Thanks a lot!!! Btw, I've seen a nice search functionality on your website. Do you also have a tutorial especially as far as the real "my-website" internal search is concerned (exact like your solution)? The added google-results on the right wouldn't be so important. That would be really fantastic!

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Actually from that google search bar I'm earning so I've put there... You can watch this search bar video - th-cam.com/video/QxMBHi_ZiT8/w-d-xo.html

  • @simiwuthrich9031
    @simiwuthrich9031 3 ปีที่แล้ว +3

    Looks great! How can I make it work with multiple ratings in the same form?

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      Like what?

    • @simiwuthrich9031
      @simiwuthrich9031 3 ปีที่แล้ว

      I made a feedback form with four different questions and individual ratings. I had to choose a unique name for each rating to make it work.

    • @imperial-x9899
      @imperial-x9899 2 ปีที่แล้ว

      @@simiwuthrich9031 study a little boi

  • @S-Lomar
    @S-Lomar ปีที่แล้ว

    Thank you for sharing your dreams on TH-cam ❤️❤️💓💕💓💕💓💕💓💓💓💓💕💓💕💓💕💓💕💕💕

  • @echizenryoma9648
    @echizenryoma9648 2 ปีที่แล้ว +2

    everything was working fine, until I get to the star widgets hover was not working even though I tried to type the code letter by letter or even copying the source code, i even tried to create a new html and css file for a clean trial but still not working

  • @rage2214
    @rage2214 4 ปีที่แล้ว +1

    Great Sir 👌,, Please also make a video on Website design 🙏

  • @shuvam0516
    @shuvam0516 4 ปีที่แล้ว +1

    Bro image maa js ko help le sliding caption hover effect banau na. Example :- suppose user le mouse ko cursor top bata image maa hover garo vane caption top bata shows hoss... yadi left bata hover vayo vane left bata caption show hoss... yadi bottom bata hover vayo vane bottom bata caption show hoss... and so on for right...
    Aja js practice garda malai yo idea ayo tara banauna sake na.....

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว +1

      Bro kehi demo xw vane insta ma pathaunw... Ali sajilo hunthyo

    • @shuvam0516
      @shuvam0516 4 ปีที่แล้ว

      @@CodingNepal
      Bro html ra css ko code Google drive ko marfat pathai dim comments maa tyo file maa demonstration file ra k k modify garnau parxa tyo sabai lekhe deko hunxu . Yesto garda hunxa ra?

  • @rabiakhurram5030
    @rabiakhurram5030 2 ปีที่แล้ว

    Hi .. is it dynamic or static ??

  • @pokstv
    @pokstv 7 หลายเดือนก่อน

    I did copy his code unforntunately, it cant display after trying to upload in github for assigment purposes.

  • @sdasinteriortimberworks2727
    @sdasinteriortimberworks2727 2 ปีที่แล้ว

    After my customer given rating on this rating system will their review will reflect on the page?

  • @whyyouas
    @whyyouas 3 ปีที่แล้ว +1

    sir. how could i bring the value of radio button to other page with POST method

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      It same like other inputs

  • @MrRhinoLofi
    @MrRhinoLofi 4 ปีที่แล้ว +1

    Hey bro please suggest me where i should share my TH-cam videos for better ranking on TH-cam without spam

  • @aagamshah8276
    @aagamshah8276 3 ปีที่แล้ว +2

    how do i store the output in a database ??

    • @Anuragpandeyhu
      @Anuragpandeyhu 3 ปีที่แล้ว

      if you got your question's Answer please feel free to share it wid me

    • @shreshthmalik4346
      @shreshthmalik4346 ปีที่แล้ว

      Learn php

  • @whyyouas
    @whyyouas 3 ปีที่แล้ว +2

    Why can’t display on mozila firefox. On google chrome it works

    • @satishmedewar1300
      @satishmedewar1300 3 ปีที่แล้ว +1

      yes iam akso facing that problem

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      For mozilla we have to add prefix in CSS codes

    • @satishmedewar1300
      @satishmedewar1300 3 ปีที่แล้ว

      @@CodingNepal bhai Indian na?

  • @006-cm-vaibhav4
    @006-cm-vaibhav4 2 ปีที่แล้ว

    What's the application you are using

  • @xochitlflores9861
    @xochitlflores9861 2 ปีที่แล้ว

    could give the code in the description, it is not possible to visualize it well.

  • @Gamer1626
    @Gamer1626 3 ปีที่แล้ว +2

    Hi, how do I send the result to my email, for example?

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      Watch our PHP tutorials for this

  • @shn8822
    @shn8822 2 ปีที่แล้ว +1

    What does the ~ sign mean?

  • @the3minys
    @the3minys 4 ปีที่แล้ว +1

    Where is the code to allow the user to write in the text area? @CodingNepal

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Please watch video... I did it all

    • @the3minys
      @the3minys 3 ปีที่แล้ว

      @@CodingNepal okay do you know how i could resize the stars?

    • @the3minys
      @the3minys 3 ปีที่แล้ว

      nvm i figured it out great tutorial !

  • @absurdgaming2596
    @absurdgaming2596 10 หลายเดือนก่อน

    Its work but why the stars start from right not from left like you

  • @marwamiimi1935
    @marwamiimi1935 3 ปีที่แล้ว

    When i coped the code..it's not working

  • @MOHDNAVED-mm7be
    @MOHDNAVED-mm7be 2 ปีที่แล้ว

    Sir please give us tutorial for the users reviews data base

  • @jardelduarte7987
    @jardelduarte7987 3 ปีที่แล้ว +1

    Amazing, but how create the backend to this?

    • @imperial-x9899
      @imperial-x9899 2 ปีที่แล้ว

      a headache work for this template cz he using form tag for description will have to use div and change the CSS accordingly then use form tag to fetch data and insert it in the database

    • @hephaestusdiwi
      @hephaestusdiwi ปีที่แล้ว

      @@imperial-x9899 yeah hahaha, this code make headache haha

  • @perfectcodingInstitue
    @perfectcodingInstitue ปีที่แล้ว

    how does the admin know about user rating?

  • @phungtuandat-daniel5481
    @phungtuandat-daniel5481 8 หลายเดือนก่อน

    bro, I can't access your website to download code. Can you send it to me?

  • @ugifredrick8342
    @ugifredrick8342 3 ปีที่แล้ว

    Thank you for this sir👍...
    Pls sir, help make a functional PHP search bar, to search and play videos or musics from mysql database🙏🙏🙏

  • @jayprecode8012
    @jayprecode8012 4 ปีที่แล้ว +3

    Yeah.... I'm ready too.... This is epic

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Thank you 💙

    • @Editzhomie
      @Editzhomie 4 ปีที่แล้ว +1

      Can you the code here through which I can copy it😭

    • @Editzhomie
      @Editzhomie 4 ปีที่แล้ว +1

      Please sir can you do this for me

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      You mean source code link..?

    • @Editzhomie
      @Editzhomie 4 ปีที่แล้ว +1

      Yes sir

  • @dimitargeorgiev6216
    @dimitargeorgiev6216 4 ปีที่แล้ว +2

    why does the stars not show on my preview?
    P.S I'm new to this

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว +1

      You may not connected to the Internet or maybe you haven't forgotten to add FontAwesome cdn link.

    • @dimitargeorgiev6216
      @dimitargeorgiev6216 4 ปีที่แล้ว +2

      @@CodingNepal I am sure its because I didn't add FontAwsome but I tried and I don't think I am doing it correctly

  • @zuhasyed07
    @zuhasyed07 2 ปีที่แล้ว +1

    it is not working why

  • @magiccode3396
    @magiccode3396 4 ปีที่แล้ว +2

    really awesome rating system

  • @asarifirmansyah7961
    @asarifirmansyah7961 ปีที่แล้ว

    where do you get those icons

  • @aridamazazel933
    @aridamazazel933 4 ปีที่แล้ว +1

    How do i view other people's comments & star reviews data using ur code?

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Add php or other backend languages

  • @CodingWithDerek
    @CodingWithDerek 3 ปีที่แล้ว

    How can you make the ~ selector highlight all the labels behind the hovered label? It does not work for me, it highlights all the next labels

    • @MrMarko51
      @MrMarko51 3 ปีที่แล้ว +1

      just add dir="rtl" to the parent element

    • @CodingWithDerek
      @CodingWithDerek 3 ปีที่แล้ว

      @@MrMarko51 let me check!

    • @CodingWithDerek
      @CodingWithDerek 3 ปีที่แล้ว

      @@MrMarko51 It is like adding the attribute reverse to justify-content, I tried it and worked but is not the result I wanted because things goes upside down, regardless thank you!

  • @rahulps
    @rahulps 4 ปีที่แล้ว +1

    how to get the number of stars it is outside the form

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      You have to use backend languages for adding advanced features on it.

    • @rahulps
      @rahulps 4 ปีที่แล้ว

      @@CodingNepal i changed the form tag to a div with form as class name and added a '.' infronof of the form in css page
      and created a new form which included the radio buttons

  • @madhabtripathy8691
    @madhabtripathy8691 2 ปีที่แล้ว

    post.style.display = "block" is not working I don't know why it is, please tell me if anyone knows how to solve it

  • @rafaelamorim5970
    @rafaelamorim5970 3 ปีที่แล้ว +2

    Sou o único com problemas na importação de estrelas?

  • @malireddydushyanth9411
    @malireddydushyanth9411 3 ปีที่แล้ว

    Where can I get this code??

  • @gayathripudipeddi9817
    @gayathripudipeddi9817 3 ปีที่แล้ว

    I tried this but the comments are not getting into database

  • @baskom7103
    @baskom7103 2 ปีที่แล้ว

    what for "form action #" ??

  • @dandedivya9639
    @dandedivya9639 ปีที่แล้ว

    Fas fs-star not working 😢in my project

  • @adminji
    @adminji ปีที่แล้ว

    how can we store these ratings ?

  • @namanyasiapa9307
    @namanyasiapa9307 ปีที่แล้ว

    From Indonesian 🇮🇩

  • @wew1813
    @wew1813 2 ปีที่แล้ว

    Thanks,do you has the code source?

  • @cindyshunelaiwin
    @cindyshunelaiwin ปีที่แล้ว

    How can I download code???

  • @imperial-x9899
    @imperial-x9899 2 ปีที่แล้ว

    gave me a headache fixing the form tag to get the data and insert that in the database, why the hell do you use a form tag there can't just use another tag.

    • @manki3039
      @manki3039 3 หลายเดือนก่อน

      how did u do it? im sitting since 3 days on it trying to fix it

  • @lakshyasaxena
    @lakshyasaxena 3 ปีที่แล้ว

    i cant see a post button copied code

    • @f-zdragon
      @f-zdragon 3 ปีที่แล้ว

      there is to tag not closed find him

  • @stackclever
    @stackclever 3 ปีที่แล้ว +1

    bro can u help me how to post it to other page?

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      Means

    • @stackclever
      @stackclever 3 ปีที่แล้ว

      @@CodingNepal for example a marketplace and i make a dashboard for my seller and i want rank all review to lanfing page

    • @hitesh8965
      @hitesh8965 3 ปีที่แล้ว +1

      @@stackclever use google bussiness widgets for displaying the reviews.....came here searching for same

  • @sai7743
    @sai7743 2 ปีที่แล้ว

    How can we do in reactjs

  • @rajuraichur579
    @rajuraichur579 ปีที่แล้ว

    i just hate the speed of video where u writing code plz slow while writing code

  • @Editzhomie
    @Editzhomie 4 ปีที่แล้ว +1

    Sir the Css code is not working

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Yes I've commented text area so download files instead of copying codes.

    • @Editzhomie
      @Editzhomie 4 ปีที่แล้ว +1

      @@CodingNepal sir i have downloaded it but then also Css file is not working while html file is working

    • @Editzhomie
      @Editzhomie 4 ปีที่แล้ว

      Sir please help me in I need it is very very important for me

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      Can you send me the problems on my Instagram account.?

    • @Editzhomie
      @Editzhomie 4 ปีที่แล้ว

      Sir what is your instagram account

  • @sanasingha7600
    @sanasingha7600 ปีที่แล้ว

    Your code is not working bro

  • @Jay_domain_hub
    @Jay_domain_hub ปีที่แล้ว

    can you please share the source code

  • @shanogeethshanmuganathan9529
    @shanogeethshanmuganathan9529 4 ปีที่แล้ว +1

    Yo bro how to get the emojis ?

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      It's from mobile keyboard.. You can download codes of this tutorial from here - www.codingnepalweb.com

  • @ammaskitchen8042
    @ammaskitchen8042 2 ปีที่แล้ว

    Can i have a coding page

  • @Languager_I
    @Languager_I 3 ปีที่แล้ว

    could send the code

  • @romuloalves9349
    @romuloalves9349 4 ปีที่แล้ว +4

    Ótimo vídeo parabéns 👏.

  • @graceyohanna1879
    @graceyohanna1879 2 ปีที่แล้ว

    Made it look so easy

  • @SpeedCode
    @SpeedCode 3 ปีที่แล้ว +2

    no post btn

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      Hello, after multiple comments like this I'll check the codes of this star rating soon and if there is seems any problem then I'll resolve it and update the codes. Don't worry I'll inform you.

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      Source codes has been updated. Please copy again. Thanks!

  • @separatetraveler8226
    @separatetraveler8226 4 ปีที่แล้ว +1

    Excellent Content !

  • @shraddhadeshmukh5810
    @shraddhadeshmukh5810 3 ปีที่แล้ว +2

    Awesome 👍🏻

  • @Khierovic_74
    @Khierovic_74 4 ปีที่แล้ว +1

    Yeah keep going leader

  • @nassirourahimy8952
    @nassirourahimy8952 ปีที่แล้ว

    That was helpful thank you 😊

  • @A.M-s7z
    @A.M-s7z 4 ปีที่แล้ว +2

    Thank you for the video ❤️❤️

  • @quyenthach1034
    @quyenthach1034 4 ปีที่แล้ว +2

    Great

  • @lievenbeckert3133
    @lievenbeckert3133 4 ปีที่แล้ว +1

    how can i display the data on my website?

  • @Dubyrivas1
    @Dubyrivas1 4 ปีที่แล้ว +2

    ⭐⭐⭐⭐⭐

  • @Knuddelfell
    @Knuddelfell 4 ปีที่แล้ว +5

    Epic!😁

  • @maulanahidayat6039
    @maulanahidayat6039 4 ปีที่แล้ว +2

    Thank you

    • @CodingNepal
      @CodingNepal  4 ปีที่แล้ว

      You're welcome.. Stay tuned 😁

  • @FastOnlineTutorials
    @FastOnlineTutorials 4 ปีที่แล้ว +3

    that awesome

  • @ArtificiallIntelligent
    @ArtificiallIntelligent ปีที่แล้ว

    Shukriya bhai ❤❤

  • @abdoseadaa
    @abdoseadaa 4 ปีที่แล้ว +1

    perfect as usual

  • @ongpytran4552
    @ongpytran4552 4 ปีที่แล้ว +2

    Awesome!!

  • @ro_mot
    @ro_mot 2 ปีที่แล้ว

    THX!

  • @quocatle7140
    @quocatle7140 3 ปีที่แล้ว +1

    Very nice video

  • @alihamaz-ti6vv
    @alihamaz-ti6vv 11 หลายเดือนก่อน

    love it

  • @alixedesigner3318
    @alixedesigner3318 2 ปีที่แล้ว

    Thanks you 💙

  • @LouiesLog
    @LouiesLog 2 ปีที่แล้ว

    Great thank you :)