Comments on Coding Resources #3 All Comments Start of Thread Parent

i know this is suuuper late but did you ever figure out how to make them work? im having that exact issue on https://toyhou.se/31004652.severin-saare/38268885.tma-aus and cant figure out where im going wrong. tysm in advance

Honestly I don't entirely remember what issues I was having in the first place but yeah I would say I've gotten pretty good with coding now and can code tabs consistently. Mind showing me the section of the code? I can then probably pick out what's going wrong from there

https://toyhou.se/38770075.code-thing

I copy pasted it into here! thanks in advance. ive never coded from scratch before so i have no clue what im doing

Np! From what I can see, I believe the problem is that you put the "#" in the id names as well. Typically the # goes in the tab buttons not the ids because it's used to tell the link what to respond to if that makes sense. Just take out the # in the content id names and see if that works. If not, I'll gladly take another look at it :]

i changed the #s and its still not working :((

Alright I took another look at it and I found the issue. It turns out there were no proper end tags (</div>s) for each tab. I've gone through each one of them and fixed it up for you! If you plan on doing more of this in the future I recommend using CircleJourney's Code Editor. It's much easier to keep track of things like that when using it and it allows you to monitor progress on your code as you work on it! I will be sending the fixed code in the comments of your pasted one from earlier but for future reference, between each tab, there should always be an extra </div> to close off each "tab-pane" section. I apologize if it's a little confusing as I'm not sure how else to explain it but I hope it helps regardless :]

2 Replies