Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Insert Main Dialog Panel with a To Do

Engaged ,
Aug 24, 2025 Aug 24, 2025

Hello

 

Begin to develop a page. From the right panel Insert selected Insert MAIN

 

Do I ignore the Class and ID? If there is the need for Class and ID what do I do?

 

Thanks 

 

insert main.jpg

TOPICS
How to
125
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 24, 2025 Aug 24, 2025

You're under no obligation to use them. The choice to assign reusable classes or unique IDs to selectors is entirely your own.  The most common reasons for using classes are to invoke CSS styles.  

 

<main class="container">

<main class="container-fluid">

<main class="container-[breakpoint]">  

See Bootstrap .container classes:

image.png

Unique IDs are mostly used as hooks for interactive elements like navigation targets or JavaScript functions. 

 

<section id="home">

   Home section

</section>

<section

...
Translate
Community Expert ,
Aug 24, 2025 Aug 24, 2025

You're under no obligation to use them. The choice to assign reusable classes or unique IDs to selectors is entirely your own.  The most common reasons for using classes are to invoke CSS styles.  

 

<main class="container">

<main class="container-fluid">

<main class="container-[breakpoint]">  

See Bootstrap .container classes:

image.png

Unique IDs are mostly used as hooks for interactive elements like navigation targets or JavaScript functions. 

 

<section id="home">

   Home section

</section>

<section id="contact">

   Contact section

</section>

 

<nav>

<a href="#home">Link to Home</a>

<a href="#contact">Link to Contact</a>

</nav>

 

Javascript

document.getElementById('home');
document.getElementById('contact');

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 24, 2025 Aug 24, 2025
LATEST

Thank you for the comment, the details.

Will use just Main tag; and in the days ahead begin to learn how to use Classes and Ids

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines