Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Stan Shvaika
Full Stack JavaScript Techdegree Student 9,689 PointsCan I change HTML and CSS code when I work on the JS project?
Hello. Now I'm working on the "Build an Interactive Form" project (Full Stack JavaScript). I would change HTML code to make my JavaScript easier but can I do that? Or do I have to work only on JS files? I am not sure.
1 Answer

Steven Parker
224,848 PointsIf you're talking about the course challenges, it's important to do only the tasks given in the instructions. Anything extra may prevent the checking mechanism from scoring you properly.
For the "follow along" projects, you can deviate, but be careful not to make it so different that you can no longer "follow along".
Stan Shvaika
Full Stack JavaScript Techdegree Student 9,689 PointsStan Shvaika
Full Stack JavaScript Techdegree Student 9,689 PointsIt is an example.
Task: T-Shirt Info” section of the form:
Source HTML code:
My modified HTML code:
So, I've added data-relation and data-name attributes because it can make my JS code more understandable and universal.
Seth Kroger
56,407 PointsSeth Kroger
56,407 PointsGiven this is a Techdegree project you should ask in your Slack channel for a definitive answer. We're just fellow community members and have no connection with the Techdegree side of things.