HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="style.css" /> </head>
<body>
<!-- Tutorial Visit https://www.inputekno.com/2023/05/table-of-content-otomatis-blogger.html -->
<input class='tocI hidden' id='forTocJs' type='checkbox'/>
<div class='tocL'>
<div class='tocLi'>
<div class='tocLs'>
<label aria-label='Tutup' class='tocH fixH' for='forTocJs'>
<div class='tocC'>
<span>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-card-list" viewBox="0 0 16 16">
<path d="M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"></path>
<path d="M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8zm0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-1-5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"></path>
</svg>
</span>
</div>
<div class='tocT fixT' data-text='Daftar Isi'>
<span class='c cl' data-texxt='Tutup'></span>
</div>
</label>
<div class='Toc tocIn scroll' id='tocAuto'>
<!-- Output list Table Content -->
</div>
</div>
</div>
<label class="fCls" for="forTocJs"></label>
</div>
<div class="page-content">
<h2>THE FUTURE OF AI (UPDATED)</h2>
<p> Artificial Intelligence (AI) has become an increasingly prevalent topic in today's world, with many experts predicting that it will play a significant role in shaping the future of society. From self-driving cars to personalized healthcare, AI has the potential to revolutionize many aspects of our lives. However, as with any new technology, there are also concerns about its impact on society and the potential risks and rewards it brings. </p>
<h3>
Understanding the Basics of AI
</h3>
<p> Before delving into the potential applications and impacts of AI, it's important to understand the basics of what AI is and how it works. At its core, AI refers to the ability of machines to perform tasks that would typically require human intelligence, such as recognizing speech, making decisions, and understanding natural language. This is achieved through a combination of machine learning algorithms and deep learning neural networks, which allow machines to learn from large amounts of data and improve their performance over time. </p>
<h3>
Current Applications of AI
</h3>
<p> AI is already being used in a wide range of applications, from virtual assistants like Siri and Alexa to fraud detection and cybersecurity. In the healthcare industry, AI is being used to develop personalized treatments and improve patient outcomes, while in the finance industry, it is being used to analyze data and make more accurate predictions. Other potential applications of AI include autonomous vehicles, smart homes, and robotics. </p>
<h3>
Ethical Considerations in AI Development
</h3>
<p> As AI becomes more prevalent, there are also important ethical considerations that must be taken into account. These include issues around data privacy, algorithmic bias, and the potential impact of AI on employment. It's important that developers and policymakers work together to ensure that AI is developed in a responsible and ethical manner, with a focus on maximizing the benefits while minimizing the risks. </p>
<h2>AI AND THE JOB MARKET</h2>
<p> One of the biggest concerns surrounding AI is its potential impact on employment. While some experts believe that AI will create new job opportunities, others predict that it will lead to widespread job loss as machines take over tasks previously performed by humans. </p>
<h3>
How AI is Impacting Employment
</h3>
<p> There is evidence to support both sides of this argument. While some industries, such as manufacturing and transportation, are already seeing job losses due to automation, other industries are likely to see an increase in demand for workers with AI-related skills. It's important that workers and businesses alike prepare for these changes and work to ensure that the benefits of AI are shared equitably. </p>
<h2>THE RISKS AND REWARDS OF AI</h2>
<p> While AI has the potential to bring significant benefits to society, there are also risks that must be taken into account. One of the biggest risks is the potential for AI to be used in harmful or malicious ways, such as in cyberattacks or in the development of autonomous weapons. It's important that safeguards are put in place to prevent these risks and that AI is developed in a responsible and ethical manner. </p>
<h3>The Role of Data in AI</h3>
<p> High-quality data is essential for the development and deployment of AI systems. Without access to accurate and representative data, machine learning algorithms may not perform as expected, leading to inaccurate or biased results. This has important implications for the development of AI systems, particularly in areas such as healthcare and finance, where the consequences of inaccurate results can be significant. </p>
<h3>
Privacy Concerns in Data Collection
</h3>
<p> Another important consideration in the use of data for AI is privacy. As AI systems become more prevalent, there is an increasing need for data to be collected and shared to train and improve these systems. However, this also raises concerns around data privacy and the potential for misuse of personal data. It's important that policymakers and industry leaders work together to develop clear guidelines and regulations around data privacy and the use of personal data in AI. </p>
<h2>Machine Learning</h2>
<p> One of the key technologies behind AI is machine learning, which allows machines to learn from data and improve their performance over time. Machine learning is being used in a wide range of applications, from image recognition to natural language processing, and has the potential to revolutionize many industries. However, as with any technology, there are also risks involved, such as the potential for algorithmic bias and the need for large amounts of high-quality data to train machine learning models. </p>
<h2>AI AND THE FUTURE OF HEALTHCARE</h2>
<p> One of the most promising areas for the application of AI is healthcare. AI has the potential to transform many aspects of healthcare, from personalized treatments to drug discovery and diagnostics. </p>
<h2>CONCLUSION</h2>
<p> AI is a rapidly evolving technology with the potential to transform many aspects of our lives. From personalized healthcare to autonomous vehicles, the potential applications of AI are vast and varied. However, as with any new technology, there are also risks and challenges to be addressed, particularly around ethics, data privacy, and the impact on employment. By working together to address these challenges and ensure that AI is developed in a responsible and ethical manner, we can maximize the benefits of this transformative technology for society as a whole. </p>
</div>
</body>
</html>
html {
font-family: "Roboto", sans-serif;
max-width: 600px;
margin: 0 auto;
line-height: 1.8;
scroll-behavior: smooth;
}
.hidden{display:none;}
.tocI:checked~.tocL{right:0;z-index:10}
.tocI:checked~.tocL .tocC{opacity:0;visibility:hidden}
.tocI:checked~.tocL .fCls{background:rgba(0,0,0,.25);opacity:1;visibility:visible}@-webkit-keyframes indicator{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes indicator{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
.fixH .c::after{content:'\2715';line-height:18px;font-size:14px}
.tocI:checked~.tocL .fCls{background:transparent}
.fCls{display:block;position:fixed;top:-50%;left:-50%;right:-50%;bottom:-50%;z-index:1;transition:all .1s ease;background:transparent;opacity:0;visibility:hidden}
.tocL{position:fixed;top:0;bottom:0;right:-280px;width:280px;transition:all .1s ease;z-index:5}
.tocLi{width:100%;height:100%;position:relative;background:#fff;box-shadow:0 5px 30px 0 rgba(0,0,0,.05);z-index:2;border-radius:12px 0 0 12px}
.tocLs{position:relative;top:20px;background:inherit}
.fixH{display:flex;background:inherit;position:absolute;top:0;left:0;right:0;padding:0 10px;z-index:2}
.tocC{position:absolute;left:-45px;top:105px;transition:all .1s ease}
.tocC span{display:flex;align-items:center;justify-content:center;width:45px;height:40px;border-radius:20px 0 0 20px;background:#ffeb3b;box-shadow:0 0 10px 0 rgba(0,0,0,.1);transition:inherit;z-index:1}
.tocC span svg{opacity:.95}
.tocT{display:flex;width:100%}
.fixT::before{content:attr(data-text);flex-grow:1;padding:16px 10px;font-size:90%;opacity:.7}
.fixH .cl{padding:0 10px;display:flex;align-items:center;justify-content:flex-end;position:relative;flex-shrink:0;min-width:40px}
.tocIn{padding:50px 0 0;overflow-y:scroll;overflow-x:hidden;width:100%;height:calc(100vh - 60px)}
.tocIn>ol{padding:0 20px 20px}
.tocIn ol{list-style:none;padding:0;margin:0;line-height:1.5em}
.tocIn ol ol,.tocIn li:not(:last-child){margin-bottom:5px}
.tocIn li a{flex:1 0 calc(100% - 23px)}
.tocIn a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:inherit;text-decoration:none}
.toc-list{width:100%;position:relative;box-shadow:2px 0 0 0 #0000001a inset}.toc-list.is-collapsible .toc-link{padding-left:2.25rem}.toc-list.is-collapsed{display:none}.toc-link{display:block;color:#495057;padding:.75rem 1rem .75rem 1.5rem;transition:.5s}.toc-link.is-active-link{background-color:#eceff1;font-weight:500;box-shadow:2px 0 0 0 #495057 inset}.docs-toc{--bg-scrollbar-thumb:#ced4da;--bg-scrollbar-track:transparent}
@media (min-width:992px){.tocIn .scroll{max-height:calc(100vh - 3.5rem - 44px)}}
ol.toc-list, ul.toc-list{list-style:none;padding:0;font-size:12px}
var content=document.querySelector(".page-content"),headings=content.querySelectorAll("h2, h3, h4, h5, h6, h7"),headingMap={};Array.prototype.forEach.call(headings,function(e){var t=e.id?e.id:e.textContent.toLowerCase().replace(/[^a-z -]/gi,"").trim().split(" ").join("-").replace(/--/g,"-");headingMap[t]=isNaN(headingMap[t])?0:++headingMap[t],headingMap[t]?e.id=t+"-"+headingMap[t]:e.id=t}),tocbot.init({tocSelector:".Toc",contentSelector:".page-content",headingSelector:"h2, h3, h4, h5, h6, h7",hasInnerContainers:!0,listItemClass:"toc-list-item",orderedList:!1,headingsOffset:1});
Also see: Tab Triggers