+ 8

Pls can anyone tell me what's wrong here.

https://code.sololearn.com/WTb0vdh8sjw6/?ref=app

8th Jan 2021, 11:38 AM
Sumaya
Sumaya - avatar
11 Respostas
+ 1
Sumayyah Fahm Your code comes with scss, not css style codes. You need a scss template to achieve it, please use this template https://code.sololearn.com/WUDrkli0UntQ/?ref=app Here is your slider with scss codes, i have added some values on $slide-height and $slide-width scss variables. https://code.sololearn.com/Wz7eZ3Z3raPK/?ref=app
9th Jan 2021, 4:40 AM
Calviղ
Calviղ - avatar
+ 7
yeah - thats the mess if a beginner copies code. Things like this happen. Dont worry too much. Copying as base for own experience ist not so bad. Looks like u copied from codepen. If it is valid SCSS, find an online converter scss to css and replace with vanilla css.
8th Jan 2021, 12:06 PM
Oma Falk
Oma Falk - avatar
+ 2
Ok it's a slider but the images are not sliding
8th Jan 2021, 11:45 AM
Sumaya
Sumaya - avatar
+ 2
$slide-width is not vanilla CSS syntax
8th Jan 2021, 11:46 AM
Gordon
Gordon - avatar
+ 2
It is what we call scss
8th Jan 2021, 11:47 AM
Sumaya
Sumaya - avatar
+ 2
Advanced css
8th Jan 2021, 11:47 AM
Sumaya
Sumaya - avatar
+ 2
But I don't know scss I just copied the code
8th Jan 2021, 11:49 AM
Sumaya
Sumaya - avatar
+ 2
11th Jan 2021, 8:30 AM
Sumaya
Sumaya - avatar
0
Sorry but what is $slide-width in width: $slide-width ? I haven't seen anything like that yet .
8th Jan 2021, 11:46 AM
Abhay
Abhay - avatar
0
Ok ,ty!
8th Jan 2021, 11:48 AM
Abhay
Abhay - avatar
0
You can use animation key frames of css it will helpful for you
10th Jan 2021, 9:27 AM
Anurag Kumar
Anurag Kumar - avatar