Important LDC MCQs Practice Test 2 – 100 Questions
Quiz Results
Your score: 0/100
Percentage: 0%
Learn With Meaning is your all-in-one tech blog offering expert tutorials, in-depth guides, and the latest updates on computer hardware, software, programming, coding, artificial intelligence, machine learning, cybersecurity, networking, operating systems, software development, tech gadgets, troubleshooting, and emerging technology trends. Whether you are a beginner or tech pro, our clear and comprehensive content helps you master every aspect of modern computing and technology with confidence.
Your score: 0/100
Percentage: 0%
Welcome to Day 11! Today we’ll explore Flexbox, a modern layout technique in CSS that allows you to design complex layouts with ease, including vertical and horizontal alignment, centering, and spacing between items.
Flexbox (Flexible Box Layout) is a one-dimensional layout method for arranging items in rows or columns. It's designed to distribute space dynamically and align items easily, even when their size is unknown or dynamic.
display: flex
— Turns the container into a flex containerjustify-content
— Align items horizontally (start, center, space-between, etc.)align-items
— Align items vertically (start, center, stretch, etc.)flex-direction
— Row (default) or columnflex-wrap
— Allow items to wrap to the next line.flex-container { display: flex; justify-content: space-between; align-items: center; } .flex-item { background-color: #bfdbfe; padding: 1rem; margin: 0.5rem; }
In Day 12, we’ll explore CSS Grid, another powerful layout system for two-dimensional designs.
Welcome to Day 10 of the 60-Day Web Development Series. Today, we’ll explore the CSS Box Model – the foundational concept behind layout, spacing, and positioning in CSS. Every element is a box, and understanding this box is key to designing clean and effective web interfaces.
The CSS Box Model describes how the size of every HTML element is determined and how it interacts with other elements. The model consists of:
.box { margin: 20px; padding: 15px; border: 2px solid #4b5563; background-color: #e0f2fe; }
Here’s a mental model of the box structure (from outside in):
Margin
(outermost)Border
Padding
Content
(innermost)<div>
and apply margin, border, and paddingpx
, rem
, and %
In Day 11, we dive into Flexbox – a modern and powerful layout system that simplifies complex alignments and distributions.
Today, you'll learn how to use CSS to control text color, background color, font size, font family, and other typography features to make your content visually appealing.
You can change text or background colors using the color
and background-color
properties.
h1 { color: darkblue; } p { background-color: #fef08a; color: #333; }
Use font-family
to change the typeface of your text.
body { font-family: Arial, sans-serif; } h1 { font-family: 'Georgia', serif; }
h2 { font-size: 28px; font-weight: bold; text-align: center; text-transform: uppercase; }
In Day 10, we’ll explore the CSS Box Model: margin, padding, borders, and how they affect layout.
CSS (Cascading Style Sheets) allows you to add style to your HTML documents. In this lesson, you'll learn the three main ways to apply CSS: inline, internal, and external.
Used directly within an HTML tag using the style
attribute.
<h1 style="color: red; font-size: 24px;">This is Inline CSS</h1>
Defined within a <style>
tag in the <head>
of the HTML document.
<head> <style> p { color: green; font-size: 18px; } </style> </head> <body> <p>This is Internal CSS</p> </body>
CSS is written in a separate .css
file and linked to your HTML file.
/* style.css */ h1 { color: blue; text-align: center; } /* HTML file */ <head> <link rel="stylesheet" href="style.css" /> </head>
In Day 9, we’ll explore CSS colors, fonts, and typography to make your designs stand out.
HTML5 brought powerful new features that made web development cleaner, more semantic, and more multimedia-friendly. Today we explore what HTML5 introduced and how it helps modern web development.
<header>
, <nav>
, <main>
, <article>
, <footer>
<audio>
and <video>
<audio controls> <source src="song.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
<input type="email" placeholder="Enter your email" /> <input type="date" /> <input type="range" min="0" max="100" /> <input type="color" />
<canvas id="myCanvas" width="200" height="100" style="border:1px solid #000;"></canvas> <script> var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); ctx.fillStyle = "blue"; ctx.fillRect(10, 10, 150, 75); </script>
input type="email"
, date
, and range
<canvas>
to draw a rectangleIn Day 7, we begin our CSS journey! You'll learn how to add beautiful styles to everything you've built so far.
Today you'll create a basic personal portfolio page using only HTML and the semantic tags we’ve learned so far. This project helps you practice structure, content organization, and confidence-building.
A simple portfolio page that includes:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>My Portfolio</title> <script src="https://cdn.tailwindcss.com"></script> </head> <body class="bg-gray-50 text-gray-800 font-sans"> <header class="text-center p-6 bg-blue-600 text-white"> <h1 class="text-3xl font-bold">Muzammil Riaz</h1> <p>Web Developer & Designer</p> </header> <nav class="text-center bg-blue-100 py-2"> <a href="#about" class="mx-2 text-blue-600">About</a>| <a href="#projects" class="mx-2 text-blue-600">Projects</a>| <a href="#contact" class="mx-2 text-blue-600">Contact</a> </nav> <main class="p-6"> <section id="about" class="mb-6"> <h2 class="text-xl font-semibold text-gray-700">About Me</h2> <p>Hello! I'm Muzammil, a passionate web developer learning HTML, CSS, and JavaScript.</p> </section> <section id="projects" class="mb-6"> <h2 class="text-xl font-semibold text-gray-700">My Projects</h2> <ul class="list-disc list-inside"> <li>Quiz App</li> <li>Blog System</li> <li>Portfolio Website</li> </ul> </section> <section id="contact"> <h2 class="text-xl font-semibold text-gray-700">Contact Me</h2> <form class="space-y-4 mt-2"> <div> <label class="block mb-1 font-medium">Name:</label> <input type="text" class="w-full px-3 py-2 border rounded" /> </div> <div> <label class="block mb-1 font-medium">Email:</label> <input type="email" class="w-full px-3 py-2 border rounded" /> </div> <button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">Send</button> </form> </section> </main> <footer class="text-center p-4 mt-6 bg-gray-200"> <p>© 2025 Muzammil Riaz</p> </footer> </body> </html>
In Day 8, we'll begin learning CSS to style our portfolio and make it responsive and beautiful!