Latest solutions
Interactive comments section
#sass/scssSubmitted about 1 year agoArchitecture. I have been experimenting with architecture for a few years and till now I don't know exactly what structure of web projects is the best.
Latest comments
- @KaushalM-2103@sotnab
Hi,
Your project looks cool, but there is a lot things to improve. Sizes of fonts and elements are much different than in design. Some elements arent centered, and well-positioned.
I really like your slider which runs smooth.
<p class=" tggl" id="tggl_1" onclick="toggle(this)">1</p> <p class=" tggl" id="tggl_2" onclick="toggle(this)">2</p> <p class=" tggl" id="tggl_3" onclick="toggle(this)">3</p>
Never cast function to js events in html. Script should be separated from html document. In this case you can get these elements by
document.querySelectorAll('.tggl')
and add listeners to every item in loop.There are some other issues like duplicated id's or typos in names but i hope you are going to fix it asap.
Keep it up
Marked as helpful - @ColorzGithub@sotnab
Hi, Your solution have correct layout. Semantic HTML isn't important for newbies but later you will have to learn and implement it. There is no box-shadow, border-radius on container and some other missing styles. In starter files you have style-guide file which includes all colors and fonts for project. For me you should learn BEM, it makes code reusable and much cleaner. Code is readable and fine formatted.
Keep it up.
Marked as helpful