Posts by zuzumebachi • 5 points
1 post
-
-2
votes5
answers16847
viewsA: Take parameters from the URL
var url_string = window.location.href; var url = new URL(url_string); var data = url.searchParams.get("stars"); //pega o value
javascriptanswered zuzumebachi 5