מה הערכת הטיפוח
שהעור שלך באמת צריך?
4 שאלות קצרות — ותגלי את הערכה המושלמת עבורך ב-65% הנחה 💗
הערכה כוללת: סרום עיניים, קרם פנים, סרום משי וקצף ניקוי — ב-65% הנחה!
var sqAnswers = {};
var sqTotal = 4;
function sqGo(n) {
var screens = document.querySelectorAll('.sq-screen');
screens.forEach(function(s){ s.classList.remove('active'); });
var next = document.querySelector('[data-screen="'+n+'"]');
if (next) next.classList.add('active');
// Update progress
var pct = n <= sqTotal ? (n-1)/sqTotal*100 : 100;
document.getElementById('sqProg').style.width = pct + '%';
}
function sqAnswer(q, val) {
sqAnswers[q] = val;
// Highlight selected
var opts = document.querySelectorAll('[data-screen="'+q+'"] .sq-opt');
opts.forEach(function(o){ o.classList.remove('selected'); });
event.target.classList.add('selected');
// Progress bar
var pct = q/sqTotal*100;
document.getElementById('sqProg').style.width = pct + '%';
// Go to next after short delay
setTimeout(function(){
if (q < sqTotal) {
sqGo(q+1);
} else {
// Show loading then result
sqGo(5);
document.getElementById('sqProg').style.width = '100%';
setTimeout(function(){ sqGo(6); }, 2000);
}
}, 350);
}