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
Can I change HTML and CSS code when I work on the JS project?
Steven Parker224,848 Points
If 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".
Seth Kroger56,407 Points
Given 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.
It 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.