I'm new to coding and currently working on a simple calculator project. The calculator includes various options that can be added to the total result. When the "front bumper" checkbox is checked, it should display three different options for that specific part. However, this functionality is not consistent across all the options.
After successfully implementing the CSS for the front bumper checkbox, I tried to replicate the same for the back bumper and door handles checkboxes. Surprisingly, only the front bumper and door handles sections are working as intended, while the back bumper fails to reveal any additional options when selected. Despite using identical code for all three sections (with differing class names), I'm unsure why they're not behaving in the same way.
Please bear with me as my code might look messy due to my beginner level of expertise.
Just to provide some context, this app aims to calculate vehicle wrap pricing based on the selected options. Given that this topic aligns with my day job, building apps related to it is relatively easier since I have considerable knowledge in this area.