MS blog
Sunday, August 13, 2023
Best Coding Platforms
1. Visual studio code
Wednesday, July 5, 2023
A HTML code and CSS code for a website similar to your blog
<!DOCTYPE html>
<html>
<head>
<title>My Blog</title>
<link rel="stylesheet" href="blog.css">
<style>
body {
font-family: sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
}
h1 {
font-size: 2em;
}
nav {
float: right;
}
nav a {
text-decoration: none;
color: #fff;
}
main {
padding: 20px;
}
article {
border-bottom: 1px solid #ccc;
padding: 20px;
}
h2 {
font-size: 1.5em;
}
footer {
background-color: #ccc;
padding: 20px;
}
</style>
</head>
<body>
<header>
<h1>My Blog</h1>
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Blog</a>
<a href="#">Contact</a>
</nav>
</header>
<main>
<article>
<h2>My First Blog Post</h2>
<p>This is my first blog post. I'm excited to start writing about my thoughts and experiences.</p>
<p>I'm interested in a lot of different things, so I'm not sure what I'll be writing about yet. But I'm sure it will be interesting!</p>
<p>Stay tuned for more blog posts in the future.</p>
</article>
<article>
<h2>My Second Blog Post</h2>
<p>This is my second blog post. In this post, I'm going to talk about my favorite book.</p>
<p>My favorite book is "The Hitchhiker's Guide to the Galaxy" by Douglas Adams. It's a hilarious and thought-provoking book that I highly recommend.</p>
<p>If you're looking for a good book to read, I highly recommend "The Hitchhiker's Guide to the Galaxy."</p>
</article>
</main>
<footer>
<p>© 2023 My Blog</p>
</footer>
</body>
</html>
Saturday, July 1, 2023
Watch the Videos of Mohit Mishra Coding
https://youtube.com/shorts/j9sh1yrUxbU?feature=share
https://youtube.com/shorts/DLKycAHkp3o?feature=share
https://youtube.com/shorts/j9sh1yrUxbU?feature=share
https://youtube.com/shorts/DLKycAHkp3o?feature=share
https://youtube.com/shorts/akcYbn2b3oU?feature=share
https://youtube.com/shorts/FWi-UeGp6CM?feature=share
https://youtube.com/shorts/P-IkmIW56Oo?feature=share
Simple HTML and JS code for a webpage
<!DOCTYPE html>
<html>
<head>
<title>My Webpage</title>
<script src="script.js">
function changeText() {
var outputDiv = document.getElementById("output");
outputDiv.innerHTML = "Button clicked!";
}
</script>
</head>
<body>
<h1>Welcome to My Webpage!</h1>
<p>This is a paragraph of text.</p>
<button onclick="changeText()">Click Me</button>
<div id="output"></div>
</body>
</html>
PHP language
PHP is a versatile programming language widely used for web development. It offers a range of functionalities and is known for its simplicity and ease of use. With PHP, developers can create dynamic and interactive websites and web applications. It supports various frameworks like Laravel, CodeIgniter, and Symfony, which enhance development efficiency. PHP integrates seamlessly with databases, making it an excellent choice for building robust and scalable applications. Its extensive community and vast library of resources contribute to its popularity. Despite criticisms, PHP remains a popular choice for web development due to its flexibility, wide adoption, and continuous improvements.
The Power and Simplicity of the C Language
The C programming language has stood the test of time, remaining one of the most influential and widely used programming languages to date. Known for its power and simplicity, C serves as the foundation for many modern programming languages and operating systems.
With its straightforward syntax and low-level access to memory, C allows programmers to write efficient and optimized code. Its portability enables developers to write programs that can run on different platforms with minimal modifications.
C's versatility extends to a wide range of applications, from embedded systems and operating systems to game development and high-performance computing. Its extensive library support and wide community make it a valuable choice for both beginners and seasoned programmers.
Despite its age, the C language continues to evolve and maintain its relevance in the ever-changing world of programming. Its influence can be seen in modern languages like C++, Java, and Python, solidifying its position as a timeless language that lays the groundwork for innovation.
In conclusion, the power and simplicity of the C language make it a formidable tool for programmers seeking efficiency, portability, and versatility. Its legacy and ongoing relevance cement its position as a vital language in the world of computer programming.
CSS: Enhancing Web Design with Style
CSS (Cascading Style Sheets) is a powerful language that brings life and aesthetics to the web. With CSS, designers can control the appearance of HTML elements and transform plain web pages into visually captivating experiences. By applying colors, fonts, layouts, and animations, CSS allows for endless creative possibilities.
With its simple syntax and wide browser support, CSS has become an essential tool for web developers. It enables the separation of design and content, making it easier to update and maintain websites. Whether it's creating responsive layouts, implementing stunning transitions, or crafting beautiful typography, CSS empowers designers to shape the digital landscape with style and finesse.
Best Coding Platforms
1. Visual studio code 2. code.org 3. replit.io 4. python idle 5. brackets for rest subscribe to Mohit Mishra Coding and Mohit S ite- ...