<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: CodeWithYaku</title>
    <description>The latest articles on Forem by CodeWithYaku (@codewithyaku).</description>
    <link>https://forem.com/codewithyaku</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F689820%2F05804507-004a-484a-a100-f9140a7e265d.png</url>
      <title>Forem: CodeWithYaku</title>
      <link>https://forem.com/codewithyaku</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/codewithyaku"/>
    <language>en</language>
    <item>
      <title>AI DeepSeek: The Developer’s Secret Weapon to Revolutionize Your Workflow 🚀</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Tue, 28 Jan 2025 11:00:12 +0000</pubDate>
      <link>https://forem.com/codewithyaku/ai-deepseek-the-developers-secret-weapon-to-revolutionize-your-workflow-2fh0</link>
      <guid>https://forem.com/codewithyaku/ai-deepseek-the-developers-secret-weapon-to-revolutionize-your-workflow-2fh0</guid>
      <description>&lt;p&gt;Artificial Intelligence (AI) is no longer a futuristic concept—it’s here, and it’s transforming industries at an unprecedented pace. For developers, AI tools like DeepSeek are becoming the ultimate game-changers. Whether you’re a frontend wizard, a backend guru, or a full-stack maestro, DeepSeek is poised to revolutionize how you work, code, and innovate.&lt;/p&gt;

&lt;p&gt;In this article, we’ll dive deep into what AI DeepSeek is, how it’s reshaping the developer landscape, and why it’s the secret weapon you need to supercharge your workflow. Let’s get started!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is AI DeepSeek? 🤔&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AI DeepSeek is an advanced AI-powered platform designed to assist developers in automating repetitive tasks, optimizing code, and accelerating development cycles. Think of it as your AI pair programmer, debugging assistant, and productivity booster—all rolled into one.&lt;/p&gt;

&lt;p&gt;DeepSeek leverages cutting-edge machine learning models to understand your codebase, predict potential issues, and suggest improvements in real-time. It’s like having a senior developer by your side, 24/7, without the coffee breaks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How AI DeepSeek Will Change the Game for Developers 🎮&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Automate Repetitive Tasks&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s face it: no developer enjoys writing boilerplate code or debugging the same issues over and over. DeepSeek automates these mundane tasks, freeing up your time to focus on what really matters—building innovative solutions.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For example, DeepSeek can:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Generate boilerplate code for APIs, UI components, or database schemas.&lt;/p&gt;

&lt;p&gt;Automatically refactor code to improve readability and performance.&lt;/p&gt;

&lt;p&gt;Identify and fix common bugs before they even reach production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Supercharge Your Debugging Process&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Debugging is often the most time-consuming part of development. DeepSeek’s AI-powered debugging tools can analyze your code, pinpoint errors, and suggest fixes ( that actually works )  in seconds.&lt;/p&gt;

&lt;p&gt;Imagine this: you’re working on a complex Svelte app , and you encounter a cryptic error. Instead of spending hours Googling solutions, DeepSeek instantly identifies the issue and provides a detailed explanation and fix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Optimize Your Code Like Never Before&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DeepSeek doesn’t just help you write code—it helps you write better code. By analyzing patterns in your codebase, it can suggest optimizations for performance, security, and scalability.&lt;/p&gt;

&lt;p&gt;For instance, if you’re building a landing page, DeepSeek can recommend CSS and JavaScript optimizations to ensure your page loads faster and ranks higher on search engines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Accelerate Learning and Skill Development&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DeepSeek isn’t just a tool—it’s a mentor. Whether you’re learning a new framework like Svelte or mastering advanced CSS techniques (like the ones in this CSS quiz), DeepSeek provides real-time feedback and suggestions to help you grow as a developer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Enhance Collaboration Across Teams&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With DeepSeek, collaboration becomes seamless. Its AI-driven insights ensure that everyone on your team is on the same page, whether you’re working on REST APIs, GraphQL, or gRPC (like we explored in this API comparison).&lt;/p&gt;

&lt;p&gt;Real-World Use Cases of AI DeepSeek 🌍&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Frontend Development&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DeepSeek can help frontend developers create responsive, pixel-perfect designs faster than ever. From optimizing CSS to automating UI testing, DeepSeek ensures your frontend code is clean, efficient, and user-friendly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Backend Development&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For backend developers, DeepSeek can streamline database management, API development, and server optimization. It’s like having a DevOps engineer and a database administrator rolled into one AI-powered assistant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Full-Stack Development&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Full-stack developers can leverage DeepSeek to bridge the gap between frontend and backend development. Whether you’re building a React.js todo app or integrating WebRTC with Svelte, DeepSeek ensures seamless integration and optimal performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Developers Love AI DeepSeek ❤️&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Time-Saving: Automate repetitive tasks and focus on creativity.&lt;/p&gt;

&lt;p&gt;Error-Free Code: Catch bugs before they become problems.&lt;/p&gt;

&lt;p&gt;Continuous Learning: Get real-time feedback to improve your skills.&lt;/p&gt;

&lt;p&gt;Scalability: Build robust, scalable applications with ease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Future of Development with AI DeepSeek 🔮&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As AI continues to evolve, tools like DeepSeek will become indispensable for developers. They won’t replace developers—they’ll empower us to achieve more, faster, and with fewer headaches.&lt;/p&gt;

&lt;p&gt;The question isn’t whether you should start using AI DeepSeek—it’s when. And the answer is: now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ready to Revolutionize Your Workflow? 🚀&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AI DeepSeek is more than just a tool—it’s a paradigm shift in how we approach development. Whether you’re optimizing your frontend workflow (like the tips in this article) or exploring new technologies, DeepSeek is your ultimate ally.&lt;/p&gt;

&lt;p&gt;So, what are you waiting for? Dive into the world of AI DeepSeek and unlock your full potential as a developer. The future of coding is here, and it’s smarter than ever.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let’s Stay Connected! 🌐&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you enjoyed this article and want to stay updated on the latest in tech, development, and AI, follow me on my socials:&lt;/p&gt;

&lt;p&gt;🐦 &lt;a href="//x.com/codewithyaku"&gt;X (Twitter)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔵 &lt;a href="//bluesky.com/codewithyaku"&gt;Bluesky&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💻&lt;a href="//github.com/yakumwamba"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;👔&lt;a href="//linkedin.com/in/BrianLemba"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🎥 &lt;a href="https://www.youtube.com/channel/UCK0rMapZToqT9HPvpE-15Gw" rel="noopener noreferrer"&gt;YouTube&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let’s build, learn, and grow together! 🚀&lt;/p&gt;

&lt;p&gt;What’s your take on AI DeepSeek? Let me know in the comments below! 👇&lt;/p&gt;

</description>
      <category>deepseek</category>
      <category>developer</category>
      <category>coding</category>
      <category>ai</category>
    </item>
    <item>
      <title>Unleash the Power of LangChain 🦜️🔗: 10 Cool Use Cases You Can Build.</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Sun, 30 Apr 2023 05:52:01 +0000</pubDate>
      <link>https://forem.com/codewithyaku/unleash-the-power-of-langchain-10-cool-use-cases-you-can-build-12bo</link>
      <guid>https://forem.com/codewithyaku/unleash-the-power-of-langchain-10-cool-use-cases-you-can-build-12bo</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Wow, have you heard about LangChain? It's an incredible technology that's taking the world by storm! LangChain lets developers build applications using large language models (LLMs) and combine them with other sources of computation or knowledge. It's like ChatGPT, but with so much more customization! With this powerful library, developers can create amazing applications such as question answering, chatbots, and agents.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Document Summarization:&lt;/strong&gt; Leverage LangChain's Data Augmented Generation to interact with external data sources and summarize long pieces of text, making it easy for users to digest key information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customized Question Answering:&lt;/strong&gt; Build a question-answering system that can search specific documents or databases, providing users with precise answers to their queries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Intelligent Chatbots:&lt;/strong&gt; Create chatbots capable of understanding and responding to user inputs, offering a more interactive and engaging experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual Assistants:&lt;/strong&gt; Develop a virtual assistant that can perform various tasks, such as scheduling appointments, managing to-do lists, and offering personalized recommendations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Language Translation:&lt;/strong&gt; Use LangChain to build an application that can translate text between different languages, breaking down language barriers and facilitating communication.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sentiment Analysis:&lt;/strong&gt; Analyze user-generated content like product reviews or social media posts to determine the sentiment behind the text, helping businesses understand customer feedback.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Content Generation:&lt;/strong&gt; Develop an application that can generate creative content, such as blog posts, social media captions, or even poetry, based on user inputs or specific topics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code Completion:&lt;/strong&gt; Create an intelligent code completion tool that helps developers write code more efficiently by suggesting relevant code snippets based on the current context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Personalized Learning:&lt;/strong&gt; Build a learning platform that can understand a user's knowledge gaps and generate customized content to help them learn and grow effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Collaborative Filtering&lt;/strong&gt; Develop a recommendation system that leverages LangChain's memory capabilities to provide users with personalized suggestions based on their preferences and browsing history.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;LangChain offers endless possibilities for creating powerful applications that harness the capabilities of large language models. &lt;/p&gt;

&lt;p&gt;By combining LLMs with other sources of computation or knowledge, you can build innovative solutions to tackle various problems and enhance user experiences. Start exploring LangChain today and unlock its potential for your next project &lt;/p&gt;

&lt;p&gt;If you would like to check out the project visit &lt;a href="https://github.com/hwchase17/langchain"&gt;LangChain&lt;/a&gt;&lt;br&gt;
Make sure you follow me on&lt;/p&gt;

&lt;p&gt;&lt;a href="//github.com/yakumwamba"&gt;Github&lt;/a&gt;&lt;br&gt;
&lt;a href="//twitter.com/codewithyaku"&gt;Twitter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you need anything else send me an email - &lt;a href="mailto:brianlemba2@gmail.com"&gt;brianlemba2@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading 😁🙌&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devops</category>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Understanding APIs: Comparing REST, SOAP, GraphQL, and gRPC:</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Tue, 29 Nov 2022 20:33:50 +0000</pubDate>
      <link>https://forem.com/codewithyaku/understanding-apis-comparing-rest-soap-graphql-and-grpc-3m2p</link>
      <guid>https://forem.com/codewithyaku/understanding-apis-comparing-rest-soap-graphql-and-grpc-3m2p</guid>
      <description>&lt;p&gt;APIs are an integral part of modern software development, allowing applications and services to communicate and exchange data. With the development of technology, there are now four main types of APIs to choose from: REST, SOAP, &lt;br&gt;
GraphQL, and gRPC. &lt;/p&gt;

&lt;p&gt;Whether you’re an application architect or a backend developer, it’s essential to understand which type of API is best suited to your particular application. Each API has its own architecture, which has adapted to the changing needs of the times. As technology has evolved and our relationship with it has changed, APIs have emerged to fill new gaps and serve new purposes. &lt;/p&gt;

&lt;p&gt;In this article, we compare SOAP, REST, GraphQL, and gRPC APIs to each other, exploring their pros and cons, use cases, and considerations when selecting the best one for your needs. Additionally, we’ll discuss how blockchain technology is being incorporated into these APIs to provide users with a more secure and efficient platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;REST (Representational State Transfer)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;REST is a type of software architecture that uses a stateless client-server model to create an application. The client (browser) sends a request to the server, which then processes the request and sends a response back to the client. The client can then take the response and display it in a user interface.&lt;/p&gt;

&lt;p&gt;In JavaScript, we can create a REST API using the Node.js framework and Express.js. The following is a basic example of a REST API using Node and Express:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Import Express
const express = require('express');

// Create an Express App
const app = express();

// Set up a GET request
app.get('/', (req, res) =&amp;gt; {
  res.send('Hello World!');
});

// Listen for requests
app.listen(3000, () =&amp;gt; {
  console.log('Server listening on port 3000');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, we’ve imported Express and created an Express App. We’ve then set up a GET request, which is a type of request used to retrieve data from the server. Finally, we’ve set up the server to  listen for requests on port 3000.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SOAP (Simple Object Access Protocol)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;SOAP is a type of web service protocol that sends and receives data in the form of XML. It is used to exchange data between applications over the internet, and is based on a set of rules called the Simple Object Access Protocol.&lt;/p&gt;

&lt;p&gt;We can create a SOAP API in JavaScript using the Node.js framework and the soap package. The following is a basic example of a SOAP API using Node and soap:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Import the soap package
const soap = require('soap');

// Create a SOAP Server
const myService = {
  MyService: {
    MyPort: {
      MyFunction: (args) =&amp;gt; {
        return {
          name: args.name
        };
      }
    }
  }
};

const xml = require('fs').readFileSync('myservice.wsdl', 'utf8');

// Initialize the SOAP Server
const server = soap.listen(app, '/wsdl', myService, xml);

// Listen for requests
app.listen(3000, () =&amp;gt; {
  console.log('Server listening on port 3000');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, we’ve imported the soap package and created a SOAP Server. We’ve then defined a MyFunction function, which is used to process incoming XML requests. Finally, we’ve initialized the SOAP Server and set up the server to listen for requests on port 3000.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GraphQL&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GraphQL is a query language used to access data from an API. It is based on the idea of a Graph, where data is organized into nodes and edges. It is designed to be flexible and efficient, allowing clients to request only the data they need.&lt;/p&gt;

&lt;p&gt;We can create a GraphQL API in JavaScript using the Node.js framework and the graphql package. The following is a basic example of a GraphQL API using Node and graphql:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Import the graphql package
const { graphql, buildSchema } = require('graphql');

// Define the schema
const schema = buildSchema(`
  type Query {
    hello: String
  }
`);

// Define the root query
const root = {
  hello: () =&amp;gt; 'Hello World!'
};


// Create the GraphQL server
const server = graphql(schema, root);

// Listen for requests
app.listen(3000, () =&amp;gt; {
  console.log('Server listening on port 3000');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, we’ve imported the graphql package and defined a schema. We’ve then defined a root query, which is used to process incoming GraphQL requests. Finally, we’ve created the GraphQL server and set up the server to listen for requests on port 3000. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;gRPC (gRPC Remote Procedure Calls)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;gRPC is a remote procedure call (RPC) framework that is used to create distributed applications. It uses the HTTP2 protocol to establish a connection between the client and the server, and is designed to be fast and efficient.&lt;/p&gt;

&lt;p&gt;We can create a gRPC API in JavaScript using the Node.js framework and the grpc package. The following is a basic example of a gRPC API using Node and grpc:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
// Import the grpc package
const grpc = require('grpc');

// Define the service
const server = new grpc.Server();


// Define the method
server.addService({
  sayHello: (call, callback) =&amp;gt; {
    callback(null, { message: 'Hello ' + call.request.name });
  }
});

// Start the server
server.bind('0.0.0.0:3000', grpc.ServerCredentials.createInsecure());
server.start();

// Listen for requests
app.listen(3000, () =&amp;gt; {
  console.log('Server listening on port 3000');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, we’ve imported the grpc package and defined a service. We’ve then defined a method, which is used to process incoming gRPC requests. Finally, we’ve started the server and set up the server to listen for requests on port 3000. &lt;/p&gt;

&lt;p&gt;Thats it for the examples &lt;/p&gt;

&lt;p&gt;I will outline the Pros and Cons, however if you feel I have left anything let me know in the comments below &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;REST (Representational State Transfer): *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Pros:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scalable to meet the needs of the application &lt;/li&gt;
&lt;li&gt;Easy to implement &lt;/li&gt;
&lt;li&gt;No additional software or hardware needed &lt;/li&gt;
&lt;li&gt;Good performance &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Difficult to maintain &lt;/li&gt;
&lt;li&gt;Not suitable for real-time applications &lt;/li&gt;
&lt;li&gt;Unstructured data transfer &lt;/li&gt;
&lt;li&gt;No support for streaming data &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;SOAP (Simple Object Access Protocol):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pros:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Supports both synchronous and asynchronous communication &lt;/li&gt;
&lt;li&gt;Supports streaming data &lt;/li&gt;
&lt;li&gt;Supports security protocols &lt;/li&gt;
&lt;li&gt;Supports multiple data formats &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cons: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Complex to implement and maintain &lt;/li&gt;
&lt;li&gt;Poor performance &lt;/li&gt;
&lt;li&gt;Not suitable for real-time applications &lt;/li&gt;
&lt;li&gt;Difficult to debug &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;GraphQL:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pros:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy to use and implement &lt;/li&gt;
&lt;li&gt;Flexible and efficient &lt;/li&gt;
&lt;li&gt;Supports multiple data formats &lt;/li&gt;
&lt;li&gt;Improved performance &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Difficult to maintain &lt;/li&gt;
&lt;li&gt;No built-in security protocols &lt;/li&gt;
&lt;li&gt;Not suitable for real-time applications &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;gRPC (gRPC Remote Procedure Calls):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pros:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy to use and implement &lt;/li&gt;
&lt;li&gt;Supports multiple languages &lt;/li&gt;
&lt;li&gt;Supports streaming data &lt;/li&gt;
&lt;li&gt;Good performance &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Difficult to maintain &lt;/li&gt;
&lt;li&gt;Poor error handling &lt;/li&gt;
&lt;li&gt;Not suitable for real-time applications &lt;/li&gt;
&lt;li&gt;No built-in security protocols&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading this far if you enjoyed the article please make sure to follow me on Twitter &lt;a href="https://twitter.com/codewithYaku" rel="noopener noreferrer"&gt;CodeWithYaku&lt;/a&gt; and github at &lt;a href="https://github.com/yakumwamba" rel="noopener noreferrer"&gt;Yaku&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>gratitude</category>
    </item>
    <item>
      <title>7 tips on how to optimize your Frontend workflow efficiency</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Thu, 10 Feb 2022 02:48:52 +0000</pubDate>
      <link>https://forem.com/codewithyaku/how-to-optimize-your-frontend-development-workflow-for-greater-efficiency-469j</link>
      <guid>https://forem.com/codewithyaku/how-to-optimize-your-frontend-development-workflow-for-greater-efficiency-469j</guid>
      <description>&lt;p&gt;What is a workflow?&lt;/p&gt;

&lt;p&gt;A workflow is a collection of tools and processes that you use to get your work done. It might include a text editor, a code linter, a build tool, and a version control system.&lt;/p&gt;

&lt;p&gt;Why optimize your workflow?&lt;/p&gt;

&lt;p&gt;💅A well-optimized workflow can &lt;/p&gt;

&lt;p&gt;1.Save you time ⏰&lt;/p&gt;

&lt;p&gt;2.Improve your productivity 📊&lt;/p&gt;

&lt;p&gt;3.Make your code easier to read and maintain 🐕‍🦺&lt;/p&gt;

&lt;p&gt;There are many different ways to optimize your workflow. Here are 7 tips that can help you get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Use a text editor that supports syntax highlighting and autocompletion&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A good text editor can make your life a lot easier. It should have syntax highlighting and autocompletion to make it easy to read and write code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Use a code linter to help you write clean code&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A code linter can help you write code that is error-free and consistent. It can also help you learn the rules of your language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Use a build tool to automate your development tasks&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A build tool can automate common tasks, such as compiling your code, minifying your code, and running tests. This can save you time and improve your productivity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Use a version control system to track your changes and collaborate with others.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A version control system can help you track your changes, collaborate with others, and roll back changes if necessary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Use a package manager to manage your dependencies&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A package manager can help you install and manage your dependencies. This can make it easier to keep your code up-to-date.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Use a code formatter to format your code automatically.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A code formatter can help you keep your code organized and consistent. It can also make your code easier to read and maintain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Use a code scanner to scan your code for potential security vulnerabilities.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A code scanner can help you find and fix potential security vulnerabilities in your code. This can help keep your code safe and secure.&lt;/p&gt;

&lt;p&gt;Thank you for reading! I hope you found this blog useful. If you're interested in following my GitHub profile, please click the "follow" button below. I'll be sure to keep you updated on my latest projects &lt;a href="//GitHub.com/yakumwamba"&gt;follow&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>121 CSS Quiz Questions that will refresh your knowledge of CSS in style 😎</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Sun, 30 Jan 2022 22:14:11 +0000</pubDate>
      <link>https://forem.com/codewithyaku/121-css-quiz-questions-that-will-send-you-flying-from-zero-to-100-in-style-265c</link>
      <guid>https://forem.com/codewithyaku/121-css-quiz-questions-that-will-send-you-flying-from-zero-to-100-in-style-265c</guid>
      <description>&lt;p&gt;Hi everyone and welcome to this awsome list 121 CSS quiz that will test your knowledge on CSS and make you 100% confident on your job interview. As a bonus this list inlcudes all 121 answers to the quiz question 😎.&lt;/p&gt;

&lt;p&gt;To get started clone this repo here &lt;a href="https://github.com/Yakumwamba/css-interview-quiz-and-answers.git" rel="noopener noreferrer"&gt;https://github.com/Yakumwamba/css-interview-quiz-and-answers.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and Also don't forget to &lt;a href="https://github.com/Yakumwamba" rel="noopener noreferrer"&gt;follow me&lt;/a&gt; on github if you want more content on frontend development in general. &lt;/p&gt;

&lt;p&gt;Enjoy this Awesome quiz Thanks.&lt;/p&gt;

&lt;h2&gt;
  
  
  CSS
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Q1. In the following example, which selector has the highest specificity ranking for selecting the anchor link element?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;ul&lt;/span&gt; &lt;span class="nt"&gt;li&lt;/span&gt; &lt;span class="nt"&gt;a&lt;/span&gt;
&lt;span class="nt"&gt;a&lt;/span&gt;
&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="nt"&gt;a&lt;/span&gt;
&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="nt"&gt;a&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;.example a&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;div a&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;ul li a&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q2. Using an attribute selector, how would you select an &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element with a "title" attribute?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] a[title]{...}&lt;/li&gt;
&lt;li&gt;[ ] a &amp;gt; title {...}&lt;/li&gt;
&lt;li&gt;[ ] a.title {...}&lt;/li&gt;
&lt;li&gt;[ ] a=title {...}&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q3. CSS grid and flexbox are now becoming a more popular way to create page layouts. However, floats are still commonly used, especially when working with an older code base, or if you need to support older browser version. What are two valid techniques used to clear floats?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Use the "clearfix hack" on the floated element and add a float to the parent element.&lt;/li&gt;
&lt;li&gt;[ ] Use the overflow property on the floated element or the "clearfix hack" on either the floated or parent element.&lt;/li&gt;
&lt;li&gt;[ ] Use the "clearfix hack" on the floated element or the overflow property on the parent element.&lt;/li&gt;
&lt;li&gt;[x] Use the "clearfix hack" on the parent element or use the overflow property with a value other than "visible."&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q4. What element(s) do the following selectors match to?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="nc"&gt;.nav&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="err"&gt;...;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="nt"&gt;nav&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="err"&gt;...;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="nf"&gt;#nav&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="err"&gt;...;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; An element with an ID of "nav"
&lt;span class="p"&gt;  2.&lt;/span&gt; A nav element
&lt;span class="p"&gt;  3.&lt;/span&gt; An element with a class of "nav"
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;      They all target the same nav element.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; An element with an class of "nav"
&lt;span class="p"&gt;  2.&lt;/span&gt; A nav element
&lt;span class="p"&gt;  3.&lt;/span&gt; An element with a id of "nav"
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; An element with an class of "nav"
&lt;span class="p"&gt;  2.&lt;/span&gt; A nav element
&lt;span class="p"&gt;  3.&lt;/span&gt; An div with a id of "nav"
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q5. When adding transparency styles, what is the difference between using the opacity property versus the background property with an &lt;code&gt;rgba()&lt;/code&gt; value?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Opacity specifies the level of transparency of the child elements. Background with an &lt;code&gt;rgba()&lt;/code&gt; value applies transparency to the background color only.&lt;/li&gt;
&lt;li&gt;[ ] Opacity applies transparency to the background color only. Background with an &lt;code&gt;rgba()&lt;/code&gt; value specifies the level of transparency of an element, as a whole, including its content.&lt;/li&gt;
&lt;li&gt;[x] Opacity specifies the level of transparency of an element, including its content. Background with an &lt;code&gt;rgba()&lt;/code&gt; value applies transparency to the background color only.&lt;/li&gt;
&lt;li&gt;[ ] Opacity applies transparency to the parent and child elements. Background with an &lt;code&gt;rgba()&lt;/code&gt; value specifies the level of transparency of the parent element only.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q6. What is true of block and inline elements? (&lt;em&gt;Alternative&lt;/em&gt;: Which statement about block and inline elements is true?)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] By default, block elements are the same height and width as the content container between their tags; inline elements span the entire width of its container.&lt;/li&gt;
&lt;li&gt;[x] By default, block elements span the entire width of its container; inline elements are the same height and width as the content contained between their tags.&lt;/li&gt;
&lt;li&gt;[ ] A &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; element is an example of an inline element. &lt;code&gt;&amp;lt;header&amp;gt;&lt;/code&gt; is an example of a block element.&lt;/li&gt;
&lt;li&gt;[ ] A &lt;code&gt;&amp;lt;span&amp;gt;&lt;/code&gt; is an example of a block element. &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; is an example of an inline element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q7. CSS grid introduced a new length unit, fr, to create flexible grid tracks. Referring to the code sample below, what will the widths of the three columns be?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.grid&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grid&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;500px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="py"&gt;grid-template-columns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50px&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="n"&gt;fr&lt;/span&gt; &lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="n"&gt;fr&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] The first column will have a width of 50px. The second column will be 50px wide and the third column will be 100px wide.&lt;/li&gt;
&lt;li&gt;[x] The first column will have a width of 50px. The second column will be 150px wide and the third column will be 300px wide.&lt;/li&gt;
&lt;li&gt;[ ] The first column will have a width of 50px. The second column will be 300px wide and the third column will be 150px wide.&lt;/li&gt;
&lt;li&gt;[ ] The first column will have a width of 50px. The second column will be 500px wide and the third column will be 1000px wide.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q8. What is the line-height property primarily used for?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] to control the height of the space between two lines of content&lt;/li&gt;
&lt;li&gt;[ ] to control the height of the space between heading elements&lt;/li&gt;
&lt;li&gt;[ ] to control the height of the character size&lt;/li&gt;
&lt;li&gt;[ ] to control the width of the space between characters&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q9. Three of these choices are true about class selectors. Which is NOT true?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Multiple classes can be used within the same element.&lt;/li&gt;
&lt;li&gt;[ ] The same class can be used multiple times per page.&lt;/li&gt;
&lt;li&gt;[ ] Class selectors with a leading period&lt;/li&gt;
&lt;li&gt;[x] Classes can be used multiple times per page but not within the same element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q10. There are many properties that can be used to align elements and create page layouts such as float, position, flexbox and grid. Of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] position&lt;/li&gt;
&lt;li&gt;[ ] flexbox&lt;/li&gt;
&lt;li&gt;[ ] grid&lt;/li&gt;
&lt;li&gt;[ ] float&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q11. In the shorthand example below, which individual background properties are represented?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;background&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;blue&lt;/span&gt; &lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="nc"&gt;.jpg&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="nt"&gt;no-repeat&lt;/span&gt; &lt;span class="nt"&gt;scroll&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;background-color&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;blue&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-image&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="nc"&gt;.jpg&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
  &lt;span class="nt"&gt;background-repeat&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;no-repeat&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-attachment&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;scroll&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-position&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;background-color&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;blue&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-img&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="nc"&gt;.jpg&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
  &lt;span class="nt"&gt;background-position&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;no-repeat&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-scroll&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;scroll&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-size&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;background-color&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;blue&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-src&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="nc"&gt;.jpg&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
  &lt;span class="nt"&gt;background-repeat&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;no-repeat&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-wrap&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;scroll&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-position&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;background-color&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;blue&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-src&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="nc"&gt;.jpg&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
  &lt;span class="nt"&gt;background-repeat&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;no-repeat&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-scroll&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;scroll&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="nt"&gt;background-position&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q12. In the following example, according to cascading and specificity rules, what color will the link be?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;yellow&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;ul&lt;/span&gt; &lt;span class="nt"&gt;li&lt;/span&gt; &lt;span class="nt"&gt;a&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;ul&lt;/span&gt; &lt;span class="nt"&gt;a&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;green&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;a&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;red&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;





&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"example"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;link&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&lt;/span&gt;list item&lt;span class="nt"&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&lt;/span&gt;list item&lt;span class="nt"&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] green&lt;/li&gt;
&lt;li&gt;[x] yellow&lt;/li&gt;
&lt;li&gt;[ ] blue&lt;/li&gt;
&lt;li&gt;[ ] red&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q13. When elements overlap, they are ordered on the z-axis (i.e., which element covers another). The z-index property can be used to specify the z-order of overlapping elements. Which set of statements about the z-index property are true?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] Larger z-index values appear on top of elements with a lower z-index value. Negative and positive numbers can be used. z-index can only be used on positioned elements.&lt;/li&gt;
&lt;li&gt;[ ] Smaller z-index values appear on top of elements with a larger z-index value. Negative and positive numbers can be used. z-index must also be used with positioned elements.&lt;/li&gt;
&lt;li&gt;[ ] Larger z-index values appear on top of elements with a lower z-index value. Only positive numbers can be used. z-index must also be used with positioned elements.&lt;/li&gt;
&lt;li&gt;[ ] Smaller z-index values appear on top of elements with a larger z-index value. Negative and positive numbers can be used. z-index can be used with or without positioned elements.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q14. What is the difference between the following line-height settings?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;line-height&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;20&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;line-height&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] The value of 20px will set the line-height to 20px. The value of 2 will set the line-height to twice the size of the corresponding font-size value.&lt;/li&gt;
&lt;li&gt;[ ] The value of 20px will set the line-height to 20px. The value of 2 is not valid.&lt;/li&gt;
&lt;li&gt;[ ] The value of 20px will set the line-height to 20px. The value of 2 will default to a value of 2px.&lt;/li&gt;
&lt;li&gt;[ ] The value of 20px will set the line-height to 20px. The value of 2 will set the line-height to 20% of the corresponding font-size value.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q15. In the following example, what color will paragraph one and paragraph two be? (&lt;em&gt;Alternative&lt;/em&gt;: In this example, what color will paragraphs one and two be?)
&lt;/h4&gt;



&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;section&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;paragraph one&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;paragraph two&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;





&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;red&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] Paragraph one will be blue, paragraph two will be red.&lt;/li&gt;
&lt;li&gt;[ ] Both paragraphs will be blue.&lt;/li&gt;
&lt;li&gt;[x] Paragraphs one will be red, paragraph two will be blue.&lt;/li&gt;
&lt;li&gt;[ ] Both paragraphs will be red.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q16.What are three valid ways of adding CSS to an HTML page?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; External; CSS is written in a separate file.
&lt;span class="p"&gt;  2.&lt;/span&gt; Inline; CSS is added to the &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt; of the HTML page.
&lt;span class="p"&gt;  3.&lt;/span&gt; Internal; CSS is included within the HTML tags.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; External; CSS is written in a separate file and is linked within the &lt;span class="nt"&gt;&amp;lt;header&amp;gt;&lt;/span&gt; element of the HTML file.
&lt;span class="p"&gt;  2.&lt;/span&gt; Inline; CSS is added to the HTML tag.
&lt;span class="p"&gt;  3.&lt;/span&gt; Internal; CSS is included within the &lt;span class="nt"&gt;&amp;lt;header&amp;gt;&lt;/span&gt; element of the HTML file.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; External; CSS is written in a separate file and is linked within the &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt; element of the HTML file.
&lt;span class="p"&gt;  2.&lt;/span&gt; Internal; CSS is included within the &lt;span class="nt"&gt;&amp;lt;header&amp;gt;&lt;/span&gt; element of the HTML file.
&lt;span class="p"&gt;  3.&lt;/span&gt; Inline; CSS is added to the HTML tag.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; External; CSS is written in a separate file and is linked within the &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt; element of the HTML file.
&lt;span class="p"&gt;  2.&lt;/span&gt; Inline; CSS is added to the HTML tag.
&lt;span class="p"&gt;  3.&lt;/span&gt; Internal; CSS is included within the &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt; element of the HTML file.
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q17. Which of the following is true of the SVG image format? (&lt;em&gt;Alternative&lt;/em&gt;: Which statement about the SVG image format is true?)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] CSS can be applied to SVGs but JavaScript cannot be.&lt;/li&gt;
&lt;li&gt;[ ] SVGs work best for creating 3D graphics.&lt;/li&gt;
&lt;li&gt;[x] SVGs can be created as a vector graphic or coded using SVG specific elements such as &amp;lt;svg&amp;gt;, &amp;lt;line&amp;gt;, and &amp;lt;ellipse&amp;gt;.&lt;/li&gt;
&lt;li&gt;[ ] SVGs are a HAML-based markup language for creating vector graphics.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q18. In the example below, when will the color pink be applied to the anchor element?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:active&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;pink&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] The color of the link will display as pink after its been clicked or if the mouse is hovering over the link.&lt;/li&gt;
&lt;li&gt;[ ] The color of the link will display as pink on mouse hover.&lt;/li&gt;
&lt;li&gt;[x] The color of the link will display as pink while the link is being clicked but before the mouse click is released.&lt;/li&gt;
&lt;li&gt;[ ] The color of the link will display as pink before it has been clicked.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q19. To change the color of an SVG using CSS, which property is used?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Use background-fill to set the color inside the object and stroke or border to set the color of the border.&lt;/li&gt;
&lt;li&gt;[ ] The color cannot be changed with CSS.&lt;/li&gt;
&lt;li&gt;[ ] Use fill or background to set the color inside the object and stroke to set the color of the border.&lt;/li&gt;
&lt;li&gt;[x] Use fill to set the color inside the object and stroke to set the color of the border.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q20. When using position: fixed, what will the element always be positioned relative to?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] the closest element with position: relative&lt;/li&gt;
&lt;li&gt;[x] the viewport&lt;/li&gt;
&lt;li&gt;[ ] the parent element&lt;/li&gt;
&lt;li&gt;[ ] the wrapper element&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q21. By default, a background image will repeat _
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] only if the background-repeat property is set to repeat&lt;/li&gt;
&lt;li&gt;[x] indefinitely, vertically, and horizontally&lt;/li&gt;
&lt;li&gt;[ ] indefinitely on the horizontal axis only&lt;/li&gt;
&lt;li&gt;[ ] once, on the x and y axis&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q22. When using media queries, media types are used to target a device category. Which choice lists current valid media types?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] print, screen, aural&lt;/li&gt;
&lt;li&gt;[ ] print, screen, television&lt;/li&gt;
&lt;li&gt;[x] print, screen, speech&lt;/li&gt;
&lt;li&gt;[ ] print, speech, device&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q23. How would you make the first letter of every paragraph on the page red?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] p::first-letter { color: red; }&lt;/li&gt;
&lt;li&gt;[ ] p:first-letter { color: red; }&lt;/li&gt;
&lt;li&gt;[ ] first-letter::p { color: red; }&lt;/li&gt;
&lt;li&gt;[ ] first-letter:p { color: red; }&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q24. In this example, what is the selector, property, and value?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#000000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;  "p" is the selector
  "#000000" is the property
  "color" is the value
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;  "p" is the selector
  "color" is the property
  "#000000" is the value
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;  "color" is the selector
  "#000000" is the property
  "#p" is the value
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;  "color" is the selector
  "p" is the property
  "#000000" is the value
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q25. What is the rem unit based on?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] The rem unit is relative to the font-size of the p element.&lt;/li&gt;
&lt;li&gt;[ ] You have to set the value for the rem unit by writing a declaration such as rem { font-size: 1 Spx; }&lt;/li&gt;
&lt;li&gt;[ ] The rem unit is relative to the font-size of the containing (parent) element.&lt;/li&gt;
&lt;li&gt;[x] The rem unit is relative to the font-size of the root element of the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q26.Which of these would give a block element rounded corners?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] corner-curve: 10px&lt;/li&gt;
&lt;li&gt;[ ] border-corner: 10px&lt;/li&gt;
&lt;li&gt;[x] border-radius: 10px&lt;/li&gt;
&lt;li&gt;[ ] corner-radius: 10px&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://www.w3schools.com/css/css3_borders.asp" rel="noopener noreferrer"&gt;Official doc:&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q27. In the following media query example, what conditions are being targeted?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;min-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1024px&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;screen&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;orientation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;landscape&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="err"&gt;…&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode.&lt;/li&gt;
&lt;li&gt;[ ] The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode.&lt;/li&gt;
&lt;li&gt;[ ] The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode.&lt;/li&gt;
&lt;li&gt;[ ] The rule will apply to a device that has a width of 1024px or narrower, or is a screen device in landscape mode.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q28. CSS transform properties are used to change the shape and position of the selected objects. The transform-origin property specifies the location of the element's transformation origin. By default, what is the location of the origin?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] the top left corner of the element&lt;/li&gt;
&lt;li&gt;[ ] the center of the element&lt;/li&gt;
&lt;li&gt;[ ] the top right corner of the element&lt;/li&gt;
&lt;li&gt;[ ] the bottom left of the element&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q29. Which of the following is not a valid color value? (&lt;em&gt;Alternative:&lt;/em&gt; Which choice is not a valid color value?)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;color: #000&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;color: rgb(0,0,0)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;color: #000000&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;color: 000000&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q30. What is the vertical gap between the two elements below?
&lt;/h4&gt;



&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"margin-bottom: 2rem;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Div 1&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"margin-top: 2rem;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Div 2&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] 2rem&lt;/li&gt;
&lt;li&gt;[ ] 32px&lt;/li&gt;
&lt;li&gt;[ ] 64px&lt;/li&gt;
&lt;li&gt;[ ] 4rem&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing" rel="noopener noreferrer"&gt;Reference MDN Webdocs&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q31. When using the Flexbox method, what property and value is used to display flex items in a column?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] flex-flow: column; or flex-direction: column&lt;/li&gt;
&lt;li&gt;[ ] flex-flow: column;&lt;/li&gt;
&lt;li&gt;[ ] flex-column: auto;&lt;/li&gt;
&lt;li&gt;[ ] flex-direction: column;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q32. Which type of declaration will take precedence?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] any declarations in user-agent stylesheets&lt;/li&gt;
&lt;li&gt;[x] important declarations in user stylesheets&lt;/li&gt;
&lt;li&gt;[ ] normal declarations in author stylesheets&lt;/li&gt;
&lt;li&gt;[ ] important declarations in author stylesheets&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q33. The flex-direction property is used to specify the direction that flex items are displayed. What are the values used to specify the direction of the items in the following examples?
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fram-sah%2FLinkedIn-Assessments%2Fmaster%2FCSS%2Fimages%2Frm-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fram-sah%2FLinkedIn-Assessments%2Fmaster%2FCSS%2Fimages%2Frm-1.png" alt="quote"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[x]

&lt;ul&gt;
&lt;li&gt;Example 1: &lt;code&gt;flex-direction: row;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 2: &lt;code&gt;flex-direction: row-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 3: &lt;code&gt;flex-direction: column;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 4: &lt;code&gt;flex-direction: column-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;[ ]

&lt;ul&gt;
&lt;li&gt;Example 1: &lt;code&gt;flex-direction: row-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 2: &lt;code&gt;flex-direction: row;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 3: &lt;code&gt;flex-direction: column-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 4: &lt;code&gt;flex-direction: column;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;[ ]

&lt;ul&gt;
&lt;li&gt;Example 1: &lt;code&gt;flex-direction: row;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 2: &lt;code&gt;flex-direction: row-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 3: &lt;code&gt;flex-direction: column;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 4: &lt;code&gt;flex-direction: reverse-column;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;[ ]

&lt;ul&gt;
&lt;li&gt;Example 1: &lt;code&gt;flex-direction: column;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 2: &lt;code&gt;flex-direction: column-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 3: &lt;code&gt;flex-direction: row;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Example 4: &lt;code&gt;flex-direction: row-reverse;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Note: Examples seem to be missing.&lt;/p&gt;

&lt;h4&gt;
  
  
  Q34. There are two sibling combinators that can be used to select elements contained within the same parent element; the general sibling combinator (~) and the adjacent sibling combinator (+). Referring to example below, which elements will the styles be applied to?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;h2&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;h2&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;beige&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;





&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;section&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;paragraph 1&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;h2&amp;gt;&lt;/span&gt;Heading&lt;span class="nt"&gt;&amp;lt;/h2&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;paragraph 2&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;paragraph 3&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] Paragraphs 2 and 3 will be blue. The h2 and paragraph 2 will have a beige background.&lt;/li&gt;
&lt;li&gt;[x] Paragraphs 2, and 3 will be blue, and paragraph 2 will have a beige background.&lt;/li&gt;
&lt;li&gt;[ ] Paragraph 2 will be blue. Paragraphs 2 and 3 will have a beige background.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q35. When using flexbox, the "justify-content" property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below?
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fram-sah%2FLinkedIn-Assessments%2Fmaster%2FCSS%2Fimages%2Frm-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fram-sah%2FLinkedIn-Assessments%2Fmaster%2FCSS%2Fimages%2Frm-2.png" alt="quote"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[x] justify-content: space-around;&lt;/li&gt;
&lt;li&gt;[ ] justify-content: center;&lt;/li&gt;
&lt;li&gt;[ ] justify-content: auto;&lt;/li&gt;
&lt;li&gt;[ ] justify-content: space-between;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q36. There are many advantages to using icon fonts. What is one of those advantages?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Icon fonts increase accessibility.&lt;/li&gt;
&lt;li&gt;[ ] Icon fonts can be used to replace custom fonts.&lt;/li&gt;
&lt;li&gt;[x] Icon fonts can be styled with typography related properties such as font-size and color.&lt;/li&gt;
&lt;li&gt;[ ] Icon fonts are also web safe fonts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q37. What is the difference between &lt;code&gt;display:none&lt;/code&gt; and &lt;code&gt;visibility:hidden&lt;/code&gt;?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Both will hide the element on the page, but display:none has greater browser support. visibility:hidden is a new property and does not have the best browser support&lt;/li&gt;
&lt;li&gt;[ ] display:none hides the elements but maintains the space it previously occupied. visibility:hidden will hide the element from view and remove it from the normal flow of the document&lt;/li&gt;
&lt;li&gt;[x] display:none hides the element from view and removes it from the normal flow of the document. visibility:hidden will hide the element but maintains the space it previously occupied.&lt;/li&gt;
&lt;li&gt;[ ] There is no difference; both will hide the element on the page&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q38. What selector and property would you use to scale an element to be 50% smaller on hover?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] element:hover {scale: 0.5;}&lt;/li&gt;
&lt;li&gt;[x] element:hover {transform: scale(0.5);}&lt;/li&gt;
&lt;li&gt;[ ] element:hover {scale: 50%;}&lt;/li&gt;
&lt;li&gt;[ ] element:hover {transform: scale(50%);}&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q39. Which statement regarding icon fonts is true?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Icon fonts can be inserted only using JavaScript.&lt;/li&gt;
&lt;li&gt;[ ] Icon fonts are inserted as inline images.&lt;/li&gt;
&lt;li&gt;[ ] Icon fonts require browser extensions.&lt;/li&gt;
&lt;li&gt;[x] Icon fonts can be styled with typography-related properties such as font-size and color.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q40. The values for the font-weight property can be keywords or numbers. For each numbered value below, what is the associated keyword?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;font-weight&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;400&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;font-weight&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;700&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] bold; normal&lt;/li&gt;
&lt;li&gt;[x] normal; bold&lt;/li&gt;
&lt;li&gt;[ ] light; normal&lt;/li&gt;
&lt;li&gt;[ ] normal; bolder&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q41. If the width of the container is 500 pixels, what would the width of the three columns be in this layout?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;.grid { display: grid; grid-template-columns: 50px 1fr 2fr; }&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[x] 50px, 150px, 300px&lt;/li&gt;
&lt;li&gt;[ ] 50px, 200px, 300px&lt;/li&gt;
&lt;li&gt;[ ] 50px, 100px, 200px&lt;/li&gt;
&lt;li&gt;[ ] 50px, 50px, 100px&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note: an alternative for Q7.&lt;/p&gt;

&lt;h4&gt;
  
  
  Q42. Using the :nth-child pseudo class, what would be the most efficient way to style every third item in a list, no matter how many items are present, starting with item 2?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;li&lt;/span&gt;&lt;span class="nd"&gt;:nth-child&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;3&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="nt"&gt;n&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt; &lt;span class="nb"&gt;px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;li&lt;/span&gt;&lt;span class="nd"&gt;:nth-child&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="nt"&gt;n&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt; &lt;span class="nb"&gt;px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;li&lt;/span&gt;&lt;span class="nd"&gt;:nth-child&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt;
  &lt;span class="nt"&gt;li&lt;/span&gt;&lt;span class="nd"&gt;:nth-child&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;5&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt;
  &lt;span class="nt"&gt;li&lt;/span&gt;&lt;span class="nd"&gt;:nth-child&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;8&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt; &lt;span class="nb"&gt;px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;li&lt;/span&gt;&lt;span class="nd"&gt;:nth-child&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="nt"&gt;n&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt; &lt;span class="nb"&gt;px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q43. Which selector would select only internal links within the current page?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;a[href="#"] {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a[href~="#"]&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a[href^="#"]&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;a[href="#"]&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q44. What is not true about class selectors?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] Only one class value can be assigned to an element.&lt;/li&gt;
&lt;li&gt;[ ] An element can have multiple class value.&lt;/li&gt;
&lt;li&gt;[ ] Class selectors are marked with a leading period.&lt;/li&gt;
&lt;li&gt;[ ] More than one element can have the same class value.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q45. What is the difference between the margin and padding properties?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Margin adds space around and inside of an element; padding adds space only inside of an element.&lt;/li&gt;
&lt;li&gt;[x] Margin adds space around an element; padding adds space inside of an element.&lt;/li&gt;
&lt;li&gt;[ ] Margin adds a line around an element, padding adds space inside of an element.&lt;/li&gt;
&lt;li&gt;[ ] Margin adds space inside of an element, padding adds space around an element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q46. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left and right?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] padding: 10px 10px 0px 0px;&lt;/li&gt;
&lt;li&gt;[ ] padding: 10px 0px;&lt;/li&gt;
&lt;li&gt;[ ] padding: 10px 0;&lt;/li&gt;
&lt;li&gt;[ ] padding: 10px 0px 10px 0px;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q47. Is there an error in this code? If so, find the best description of the problem
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@font-face&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-family&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;'Avenir'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sans-serif&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;src&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sx"&gt;url('avenir.woff2')&lt;/span&gt; &lt;span class="n"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;'woff2'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="sx"&gt;url('avenir.woff')&lt;/span&gt; &lt;span class="n"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;'woff'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] The font file formats are not supported in modern browsers.&lt;/li&gt;
&lt;li&gt;[ ] The src attribute requires a comma between the URL and format values.&lt;/li&gt;
&lt;li&gt;[ ] There are no errors in the example.&lt;/li&gt;
&lt;li&gt;[x] The sans-serif inclusion is problematic.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q48. Which style places an element at a fixed location within its container?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] position: absolute;&lt;/li&gt;
&lt;li&gt;[ ] display: flex;&lt;/li&gt;
&lt;li&gt;[ ] display: block;&lt;/li&gt;
&lt;li&gt;[ ] float: left;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q49. The calc() CSS function is often used for calculating relative values. In the example below, what is the specified margin-left value?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;margin-left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;calc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;5%&lt;/span&gt; &lt;span class="err"&gt;+&lt;/span&gt; &lt;span class="m"&gt;5px&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] The left margin value is equal to 5% of its parents element's width plus 5px&lt;/li&gt;
&lt;li&gt;[ ] The left margin value is equal to 5% of the viewport width plus 5px&lt;/li&gt;
&lt;li&gt;[ ] The left margin value is equal to 5% of the closest positioned element's width plus 5px&lt;/li&gt;
&lt;li&gt;[ ] The left margin value is equal to 5% of the selected element's width (.example) plus 5px&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q50. What is the CSS selector for an &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag containing the title attribute?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;a[title]&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a &amp;gt; title&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a=title&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a.title&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note: an alternative for Q2.&lt;/p&gt;

&lt;h4&gt;
  
  
  Q51. Which code would you use to absolutely position an element of the logo class?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;.logo { position: absolute; left: 100px; top: 150px; }&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.logo { position: absolute; margin-left: 100px; margin-top: 150px; }&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.logo { position: absolute; padding-left: 100px; padding-top: 150px; }&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.logo { position: absolute; left-padding: 100px; top-padding: 150px; }&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q52. In this example, what color will Paragraph 1 be?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="nd"&gt;:first-of-type&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;red&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nc"&gt;.container&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;yellow&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="nd"&gt;:first-child&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;green&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;





&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"container"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Heading&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Paragraph1&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Paragraph2&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] blue&lt;/li&gt;
&lt;li&gt;[ ] green&lt;/li&gt;
&lt;li&gt;[x] red&lt;/li&gt;
&lt;li&gt;[ ] yellow&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q53. What is the &lt;code&gt;::placeholder pseudo-element&lt;/code&gt; used for?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] It is used to format the appearance of placeholder text within a form control.&lt;/li&gt;
&lt;li&gt;[ ] It specifies the default input text for a form control.&lt;/li&gt;
&lt;li&gt;[ ] It writes text content into a hyperlink tooltip.&lt;/li&gt;
&lt;li&gt;[ ] It writes text content into any page element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q54. Which statement is true of the single colon (&lt;code&gt;:&lt;/code&gt;) or double colon (&lt;code&gt;::&lt;/code&gt;) notations for pseudo-elements-for example, &lt;code&gt;::before&lt;/code&gt; and &lt;code&gt;:before&lt;/code&gt;?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] All browsers support single and double colons for new and older pseudo-elements. So you can use either but it is convention to use single colons for consistency.&lt;/li&gt;
&lt;li&gt;[ ] In CSS3, the double colon notation (&lt;code&gt;::&lt;/code&gt;) was introduced to create a consistency between pseudo-elements from pseudo-classes. For newer browsers, use the double colon notation. For IE8 and below, using single colon notation (&lt;code&gt;:&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;[ ] Only the new CSS3 pseudo-elements require the double colon notation while the CSS2 pseudo-elements do not.&lt;/li&gt;
&lt;li&gt;[x] In CSS3, the double colon notation (&lt;code&gt;::&lt;/code&gt;) was introduced to differentiate pseudo-elements from pseudo-classes. However, modern browsers support both formats. Older browsers such as IE8 and below do not.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q55. Which choice is not valid value for the font-style property?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] normal&lt;/li&gt;
&lt;li&gt;[ ] italic&lt;/li&gt;
&lt;li&gt;[x] none&lt;/li&gt;
&lt;li&gt;[ ] oblique&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q56. When would you use the @font-face method?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] to set the font size of the text&lt;/li&gt;
&lt;li&gt;[x] to load custom fonts into stylesheet&lt;/li&gt;
&lt;li&gt;[ ] to change the name of the font declared in the font-family&lt;/li&gt;
&lt;li&gt;[ ] to set the color of the text&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q57. When elements within a container overlap, the z-index property can be used to indicate how those items are stacked on top of each other. Which set of statements is true?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; Larger z-index values appear on top elements with a lower z-index value.
&lt;span class="p"&gt;  2.&lt;/span&gt; Negative and positive number can be used.
&lt;span class="p"&gt;  3.&lt;/span&gt; z-index can be used only on positioned elements.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; Smaller z-index values appear on top of elements with a larger z-index value.
&lt;span class="p"&gt;  2.&lt;/span&gt; Negative and positive numbers can be used.
&lt;span class="p"&gt;  3.&lt;/span&gt; z-index can be used with or without positioned elements.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; Smaller z-index values appear on top of elements with a larger z-index value.
&lt;span class="p"&gt;  2.&lt;/span&gt; Negative and positive number can be used.
&lt;span class="p"&gt;  3.&lt;/span&gt; z-index must also be used with positioned elements.
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;  1.&lt;/span&gt; Larger z-index values appear on top of elements with a lower z-index value.
&lt;span class="p"&gt;  2.&lt;/span&gt; Only positive number can be used.
&lt;span class="p"&gt;  3.&lt;/span&gt; z-index must also be used with positioned elements.
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Note: an alternative for Q13.&lt;/p&gt;

&lt;h4&gt;
  
  
  Q58. You have a large image that needs to fit into a 400 x 200 pixel area. What should you resize the image to if your users are using Retina displays?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] 2000 x 1400 pixels&lt;/li&gt;
&lt;li&gt;[ ] 200 x 100 pixels&lt;/li&gt;
&lt;li&gt;[x] 800 x 400 pixels&lt;/li&gt;
&lt;li&gt;[ ] 400 x 200 pixels&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q59. In Chrome's Developer Tools view, where are the default styles listed?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] under the User Agent Stylesheet section on the right&lt;/li&gt;
&lt;li&gt;[ ] in the third panel under the Layout tab&lt;/li&gt;
&lt;li&gt;[ ] under the HTML view on the left&lt;/li&gt;
&lt;li&gt;[ ] in the middle panel&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q60. While HTML controls document structure, CSS controls &lt;code&gt;___&lt;/code&gt;.
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] semantic meaning&lt;/li&gt;
&lt;li&gt;[ ] content meaning&lt;/li&gt;
&lt;li&gt;[ ] document structure&lt;/li&gt;
&lt;li&gt;[x] content appearance&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q61. What is the recommended name you should give the folder that holds your project's images?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] images&lt;/li&gt;
&lt;li&gt;[ ] #images&lt;/li&gt;
&lt;li&gt;[ ] Images&lt;/li&gt;
&lt;li&gt;[ ] my images&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q62. What is an advantage of using inline CSS?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] It is easier to manage.&lt;/li&gt;
&lt;li&gt;[x] It is easier to add multiple styles through it.&lt;/li&gt;
&lt;li&gt;[ ] It can be used to quickly test local CSS overrides.&lt;/li&gt;
&lt;li&gt;[ ] It reduces conflict with other CSS definition methods.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q63.Which W3C status code represents a CSS specification that is fully implemented by modern browsers?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Proposed Recommendation&lt;/li&gt;
&lt;li&gt;[ ] Working Draft&lt;/li&gt;
&lt;li&gt;[x] Recommendation&lt;/li&gt;
&lt;li&gt;[ ] Candidate Recommendation&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q64. Are any of the following declarations invalid?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;color&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;red&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* declaration A */&lt;/span&gt;
&lt;span class="nt"&gt;font-size&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="nt"&gt;em&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* declaration B */&lt;/span&gt;
&lt;span class="nt"&gt;padding&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* declaration C */&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] Declaration A is invalid.&lt;/li&gt;
&lt;li&gt;[ ] Declaration B is invalid.&lt;/li&gt;
&lt;li&gt;[ ] Declaration C is invalid.&lt;/li&gt;
&lt;li&gt;[x] All declarations are valid.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q65. Which CSS will cause your links to have a solid blue background that changes to semitransparent on hover?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:link&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#0000ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;a&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:link&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="nd"&gt;:link&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q66. Which CSS rule takes precedence over the others listed?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;div.sidebar {}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;* {}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;div#sidebar2 p {}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.sidebar p {}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q67. The body of your page includes some HTML sections. How will it look with the following CSS applied?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* white */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#0000ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* blue */&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;200px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] blue sections on a white background&lt;/li&gt;
&lt;li&gt;[ ] Yellow sections on a blue background&lt;/li&gt;
&lt;li&gt;[ ] Green sections on a white background&lt;/li&gt;
&lt;li&gt;[ ] blue sections on a red background&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q68. Which CSS keyword can you use to override standard source order and specificity rules?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;!elevate!&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;*prime&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;override&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;!important&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q69. You can use the &lt;code&gt;___&lt;/code&gt; pseudo-class to set a different color on a link if it was clicked on.
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;a:visited&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a:hover&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a:link&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;a:focus&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q70. Which color will look the brightest on your screen, assuming the background is white?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;background-color: #aaa;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;background-color: #999999;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;background-color: rgba(170,170,170,0.5);&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;background-color: rgba(170,170,170,0.2);&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q71. Which CSS selector can you use to select all elements on your page associated with the two classes header and clear?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;."header clear" {}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;header#clear {}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;.header.clear {}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.header clear {}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q72. A universal selector is specified using a(n) &lt;code&gt;___&lt;/code&gt;.
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] "h1" string&lt;/li&gt;
&lt;li&gt;[ ] "a" character&lt;/li&gt;
&lt;li&gt;[ ] "p" character&lt;/li&gt;
&lt;li&gt;[x] "*" character&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q73. In the following CSS code, &lt;code&gt;'h1'&lt;/code&gt; is the &lt;code&gt;___&lt;/code&gt;, while &lt;code&gt;'color'&lt;/code&gt; is the &lt;code&gt;___&lt;/code&gt;.
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;h1&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;red&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] property; declaration&lt;/li&gt;
&lt;li&gt;[ ] declaration; rule&lt;/li&gt;
&lt;li&gt;[ ] "p" character&lt;/li&gt;
&lt;li&gt;[x] selector; property&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q74. What is an alternate way to define the following CSS rule?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;font-weight&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;bold&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] font-weight: 400;&lt;/li&gt;
&lt;li&gt;[ ] font-weight: medium;&lt;/li&gt;
&lt;li&gt;[x] font-weight: 700;&lt;/li&gt;
&lt;li&gt;[ ] font-weight: Black;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q75. You want your styling to be based on a font stack consisting of three fonts. Where should the generic font for your font family be specified?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] It should be the first one on the list.&lt;/li&gt;
&lt;li&gt;[ ] Generic fonts are discouraged from this list.&lt;/li&gt;
&lt;li&gt;[x] It should be the last one on the list.&lt;/li&gt;
&lt;li&gt;[ ] It should be the second one on the list.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q76. What is one disadvantage of using a web font service?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] It requires you to host font files on your own server.&lt;/li&gt;
&lt;li&gt;[ ] It uses more of your site's bandwidth.&lt;/li&gt;
&lt;li&gt;[ ] It offers a narrow selection of custom fonts.&lt;/li&gt;
&lt;li&gt;[x] It is not always a free service.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q77. How do you add Google fonts to your project?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] by using an HTML link element referring to a Google-provided CSS&lt;/li&gt;
&lt;li&gt;[ ] by embedding the font file directly into the project's master JavaScript&lt;/li&gt;
&lt;li&gt;[ ] by using a Google-specific CSS syntax that directly links to the desired font file&lt;/li&gt;
&lt;li&gt;[ ] by using a standard font-face CSS definition sourcing a font file on Google's servers&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q78. Using the following HTML and CSS example, what will equivalent pixel value be for .em and .rem elements?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;html&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;2rem&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nc"&gt;.rem&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1.5rem&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nc"&gt;.em&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;2em&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;





&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"rem"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"em"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] The .rem will be equivalent to 25px; the .em value will be 20px.&lt;/li&gt;
&lt;li&gt;[ ] The .rem will be equivalent to 15px; the .em value will be 20px.&lt;/li&gt;
&lt;li&gt;[x] The .rem will be equivalent to 15px; the .em value will be 40px.&lt;/li&gt;
&lt;li&gt;[ ] The .rem will be equivalent to 20px; the .em value will be 40px.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q79. What property is used to adjust the space between text characters?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;font-style&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;text-transform&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;font-variant&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;letter-spacing&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q80. What is the correct syntax for changing the cursor from an arrow to a pointing hand when it interacts with a named element?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;.element {cursor: pointer;}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.element {cursor: hand;}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.element {cursor: move-hand;}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;.element {cursor: pointer-hand;}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q81. What is the effect of this style?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;background-position&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="err"&gt;50&lt;/span&gt;&lt;span class="o"&gt;%;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x] The background image is placed 10% from the left and 50% from the top of its container&lt;/li&gt;
&lt;li&gt;[ ] The background image is placed 10% from the bottom and 50% from the left of its container&lt;/li&gt;
&lt;li&gt;[ ] The background image is placed 10% from the right and 50% from the bottom of its container&lt;/li&gt;
&lt;li&gt;[ ] The background image is placed 10% from the top and 50% from the left of its container&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q82. How will the grid items display?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;grid-template-columns&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="nt"&gt;fr&lt;/span&gt; &lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="nt"&gt;fr&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] The first column is twice the height of the second column and will be as wide as the content&lt;/li&gt;
&lt;li&gt;[ ] The first column is half the size of the container and the second column will absorb the remaining space&lt;/li&gt;
&lt;li&gt;[x] The first column is twice as wide as the second column and will fit proportionally within the grid container&lt;/li&gt;
&lt;li&gt;[ ] The first column is twice the width and height of the second column, and will fit proportionally within the grid container&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q83. Which style rule would make the image 50% smaller during a hover?
&lt;/h4&gt;



&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"photo"&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"..."&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] img#photo:hover {scale: 0.5;}&lt;/li&gt;
&lt;li&gt;[x] img#photo:hover {transform: scale(0.5);}&lt;/li&gt;
&lt;li&gt;[ ] img#photo {hover-scale: 0.5;}&lt;/li&gt;
&lt;li&gt;[ ] img#photo:hover {size: smaller;}&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q84. Which CSS properties can you use to create a rounded corner on just the top-left and top-right corners of an element?
&lt;/h4&gt;



&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;A&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;border-radius&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;B&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;border-top-left-radius&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="nt"&gt;and&lt;/span&gt; &lt;span class="nt"&gt;border-top-right-radius&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;C&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;border-radius&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;D&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;border-top-radius&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="err"&gt;10&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ] A and C&lt;/li&gt;
&lt;li&gt;[ ] C and D&lt;/li&gt;
&lt;li&gt;[ ] B and C&lt;/li&gt;
&lt;li&gt;[x] A and B&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q85. Review the HTML example below. Then choose the list of selectors that select the &amp;lt;p&amp;gt;, from lowest to highest specificity.
&lt;/h4&gt;



&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;section&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"example"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;...&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="nt"&gt;class&lt;/span&gt;&lt;span class="o"&gt;*=&lt;/span&gt;&lt;span class="s2"&gt;'example'&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;4&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;4&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="nt"&gt;class&lt;/span&gt;&lt;span class="o"&gt;*=&lt;/span&gt;&lt;span class="s2"&gt;'example'&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[ ]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="nt"&gt;class&lt;/span&gt;&lt;span class="o"&gt;*=&lt;/span&gt;&lt;span class="s2"&gt;'example'&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;4&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;[x]
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight css"&gt;&lt;code&gt;  &lt;span class="err"&gt;1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;section&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;3&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="nt"&gt;class&lt;/span&gt;&lt;span class="o"&gt;*=&lt;/span&gt;&lt;span class="s2"&gt;'example'&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;4&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="nc"&gt;.example&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;...;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Q86. Which property is used to create a drop shadow effect on an HTML element?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] element-shadow&lt;/li&gt;
&lt;li&gt;[ ] outer-shadow&lt;/li&gt;
&lt;li&gt;[ ] dropbox-shadow&lt;/li&gt;
&lt;li&gt;[x] box-shadow&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q87. What is the correct selector for targeting all text inputs that are not disabled?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;input[type="text"]:not([disabled]) {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;input[type="text"]:not("disabled") {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;input[type*="text"]:not([disabled="disabled"]) {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;input[type="text"]:not([type="disabled"]) {...}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Explanation:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;input[type="text"]&lt;/code&gt; selects all the input with type text, and &lt;code&gt;:not([disabled])&lt;/code&gt; selects all the elements not having the attribute "disabled". Combining both only selects all the input elements with type attribte as "text" and not having "disabled" attribute.`&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/css/css_attribute_selectors.asp" rel="noopener noreferrer"&gt;Reference link attribute-selector&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:not" rel="noopener noreferrer"&gt;Reference link-:not()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q88. How can you create a semi-transparent background color?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] background-color: hsl(0, 0, 0, 0.5);&lt;/li&gt;
&lt;li&gt;[ ] background-color: rgbx(0, 0, 0, 0.5);&lt;/li&gt;
&lt;li&gt;[x] background-color: rgba(0, 0, 0, 0.5);&lt;/li&gt;
&lt;li&gt;[ ] background-color: rgba(0, 0, 0, 1);&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Explanation:&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;rgba&lt;/code&gt; is a funtion in css. rgba stands for red, green, blue and alpha. The value of alpha can be between 0 and 1 both inclusive with 0 being fully transparent and 1 being fully opaque.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/cssref/func_rgba.asp" rel="noopener noreferrer"&gt;Reference link-rgba&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q89. Using this HTML markup, how would you select only the headings contained within the &lt;code&gt;&amp;lt;header&amp;gt;&lt;/code&gt; element?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`html&lt;/p&gt;

&lt;p&gt;Heading 1&lt;br&gt;
  &lt;/p&gt;
&lt;h2&gt;Heading 2&lt;/h2&gt;

&lt;h2&gt;Heading 2&lt;/h2&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;header h1, header h2 {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;header h1 + header h2 {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;header h1, h2 {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;h1, h2 {...}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q90. Suppose you want to have a list of items (.item) displayed in a row and in reverse order using flexbox. What is the error in the CSS below?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.container {&lt;br&gt;
  display: flex;&lt;br&gt;
}&lt;br&gt;
.item {&lt;br&gt;
  border: 1px solid red;&lt;br&gt;
  flex-direction: row-reverse;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] The value for flex-direction should be reverse-row.&lt;/li&gt;
&lt;li&gt;[ ] The .container element should have a property of flex: display.&lt;/li&gt;
&lt;li&gt;[x] The flex-direction property should be declared in the container.&lt;/li&gt;
&lt;li&gt;[ ] The display value should be flex-inline to display the items in a row.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q91. Which choice is not a valid transition?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] &lt;code&gt;transition: margin 1000ms ease-in-out;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transition: color 1.3s ease-in;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transition: position 400ms linear;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transition: opacity 1s ease-in;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q92. In this example, what color will the paragraphs be and why?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
article p {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;br&gt;
article &amp;gt; p {&lt;br&gt;
  color: green;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`html&lt;/p&gt;


&lt;p&gt;Paragraph 1&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;Paragraph 2&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Paragraph 1 will be blue. Paragraph 2 will be green.&lt;/li&gt;
&lt;li&gt;[ ] Both paragraphs will be green.&lt;/li&gt;
&lt;li&gt;[x] Paragraph 1 will be green. Paragraph 2 will be blue.&lt;/li&gt;
&lt;li&gt;[ ] Both paragraphs will be blue.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q93. Review the declaration of border style shown below. What is the corresponding longhand syntax?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
border: 1px solid red;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
border-size: 1px;
border-style: solid;
border-color: red;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
border-size: 1px;
border-type: solid;
border-color: red;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
border-width: 1px;
border-style: solid;
border-color: red;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
border-width: 1px;
border-line: solid;
border-color: red;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q94. Pseudo-classes are used to &lt;code&gt;_&lt;/code&gt;.
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[x] style the state of the selected element&lt;/li&gt;
&lt;li&gt;[ ] insert presentational content&lt;/li&gt;
&lt;li&gt;[ ] style a specific part of the selected element&lt;/li&gt;
&lt;li&gt;[ ] style the elements using class selectors&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q95. In this example, what styles will be applied to which elements?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
section {&lt;br&gt;
  color: gray;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`html&lt;/p&gt;


&lt;p&gt;paragraph&lt;/p&gt;
&lt;br&gt;
  link

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] The paragraph and link will be gray.&lt;/li&gt;
&lt;li&gt;[ ] The background color of the section element will be gray.&lt;/li&gt;
&lt;li&gt;[ ] The paragraph will be gray. The link will be the browser default, black.&lt;/li&gt;
&lt;li&gt;[x] Only the paragraph will be gray.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q96. Which answer is an example of a type selector (also sometimes referred to as an element selector)?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;.header {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;header {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;#header {...}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;header &amp;gt; h1 {...}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q97. What is the correct order for listing different link states in a website so those states display correctly on the page?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
a
a:hover
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
:link
:visited
:hover
:active
:focus
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
:active
:focus
:hover
:link
:visited
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x]
&lt;code&gt;&lt;/code&gt;&lt;code&gt;css
:link
:visited
:focus
:hover
:active
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q98. Which selector is used to select the paragraph element that is a direct descendent of section?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;section * p&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;section + p&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;section ~ p&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[x] &lt;code&gt;section &amp;gt; p&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reference: &lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Child_combinator" rel="noopener noreferrer"&gt;Child combinator&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q99. For this code, what is the font color of the hypertext link?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
ul {&lt;br&gt;
  --color: red;&lt;br&gt;
}&lt;br&gt;
p {&lt;br&gt;
  color: var(--color);&lt;br&gt;
}&lt;br&gt;
a {&lt;br&gt;
  color: var(--color, orange);&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`html&lt;/p&gt;

&lt;p&gt;Paragraph&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    list item a link 
  &lt;/li&gt;
  &lt;li&gt;list item&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[x] red&lt;/li&gt;
&lt;li&gt;[ ] orange&lt;/li&gt;
&lt;li&gt;[ ] blue&lt;/li&gt;
&lt;li&gt;[ ] black&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://www.sitepoint.com/pseudo-classes-the-basics/" rel="noopener noreferrer"&gt;Reference&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q100. Which statement is not true?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Specificity determines which CSS rule is applied by the browsers.&lt;/li&gt;
&lt;li&gt;[x] When two selectors apply to the same element, the one with lower specificity wins.&lt;/li&gt;
&lt;li&gt;[ ] The last rule defined overrides all previous rules and even conflicting rules.&lt;/li&gt;
&lt;li&gt;[ ] Rules with more specific selectors have greater specificity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/" rel="noopener noreferrer"&gt;Reference&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q101. What is the output of the margin value when used within this context, assuming that its containing element is larger than 800px?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.example {&lt;br&gt;
  width: 800px;&lt;br&gt;
  margin: 0 auto;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[ ] The example element will have 0 margin space around the whole element. The auto value will center align the element horizontally and vertically within its container.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] The example element will have 0 margin space on the left and right. It will be sized automatically on the top and bottom, which will center align the element within its container.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[x] The example element will have 0 margin space on the top and bottom. The margin will be sized automatically on the left and right, which may center align the element within its container.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] The margin value is invalid because its missing a unit measurement after the 0.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/3170772/what-does-auto-do-in-margin-0-auto" rel="noopener noreferrer"&gt;Source: SOW&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q102. There are currently four viewport-percentage lengths that can be used to define the value relative to the viewport size: vw, vh, vmin, and vmax. If the current viewport size has a width of 800px and a height of 600px, what will these values be equivalent to in pixels?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
10vw = ?px&lt;br&gt;
10vh = ?px&lt;br&gt;
10vmin = ?px&lt;br&gt;
10vmax = ?px&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[x] 10vw = 80px&lt;br&gt;
  10vh = 60px&lt;br&gt;
  10vmin = 60px&lt;br&gt;
  10vmax = 80px&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] 10vw = 60px&lt;br&gt;
  10vh = 80px&lt;br&gt;
  10vmin = 80px&lt;br&gt;
  10vmax = 60px&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] 10vw = 8px&lt;br&gt;
  10vh = 6px&lt;br&gt;
  10vmin = 6px&lt;br&gt;
  10vmax = 8px&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] 10vw = 6px&lt;br&gt;
  10vh = 8px&lt;br&gt;
  10vmin = 8px&lt;br&gt;
  10vmax = 6px&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q103. Which element(s) will be blue?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
h2 ~ p {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`html&lt;/p&gt;


&lt;p&gt;P1&lt;/p&gt;
&lt;br&gt;
  &lt;h2&gt;H2&lt;/h2&gt;
&lt;br&gt;
  &lt;p&gt;P3&lt;/p&gt;
&lt;br&gt;
  &lt;p&gt;P4&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[ ] P3P3&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] P1P1&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] P1, P3, and P4P1, P3, and P4&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[x] P3 and P4&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Q104. Referring to the HTML markup and CSS example below, which element(s) will be targeted?
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
p:first-of-type:first-letter {&lt;br&gt;
  color: red;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`html&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
  &lt;p&gt;Paragraph 1.&lt;/p&gt;
&lt;br&gt;
  &lt;p&gt;Paragraph 2.&lt;/p&gt;


&lt;h1&gt;Heading&lt;/h1&gt;
&lt;br&gt;
    &lt;p&gt;Paragraph 3.&lt;/p&gt;
&lt;br&gt;
    &lt;p&gt;paragraph 4.&lt;/p&gt;
&lt;br&gt;
  


&lt;p&gt;Paragraph 5.&lt;/p&gt;
&lt;br&gt;
    &lt;p&gt;Paragraph 6.&lt;/p&gt;
&lt;br&gt;
  &lt;br&gt;
&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[ ] The first letter in all paragraphs will be red.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] Only the first letter in paragraphs 1 and 5 will be red.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[x] The first letter in paragraphs 1, 3, and 5 will be red.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] Only the first letter in paragraph 1 will be red.Only&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q105. Which five style features are associated with the box model?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[x] margin, padding, border, width, height&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] width, height, z-index, overflow, font size&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] margin, padding, font size, line height, border&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] font size, line height, letter spacing, width, height&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q106. Which choice will not set all links that include domain.com to pink?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;br&gt;
[] a[href$='domain.com'] {&lt;br&gt;
  color: pink;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;[x] a[href='*domain.com'] {&lt;br&gt;
  color: pink;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;[] a[href*='domain.com'] {&lt;br&gt;
  color: rgb(255, 155, 155);&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;[] a[href*='domain.com'] {&lt;br&gt;
  color: pink;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/" rel="noopener noreferrer"&gt;Reference&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q107. Which property and value pair could be used to apply a linear gradient effect?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;br&gt;
[x] background: linear-gradient(#648880, #293f50);&lt;/p&gt;

&lt;p&gt;[ ] background-image: linear(#648880, #293f50);&lt;/p&gt;

&lt;p&gt;[ ] background: gradient(linear, #648880, #293f50);&lt;/p&gt;

&lt;p&gt;[ ] background-color: linear-gradient(#648880, #293f50);&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Q108. You want to add a background circle behind an icon. Which style declaration is correct?
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;br&gt;
[] .glyphicon-bgcircle {&lt;br&gt;
  circle-radius: 50%;&lt;br&gt;
  margins: 50px;&lt;br&gt;
  background-color: #fdadc6;&lt;br&gt;
  color: rgba(255, 255, 255, 1);&lt;br&gt;
  font-size: 24px;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;[] glyphicon-bgcircle {&lt;br&gt;
  border-circle: 50%;&lt;br&gt;
  padding: 50px;&lt;br&gt;
  background-color: #fdadc6;&lt;br&gt;
  color: rgba(255, 255, 255, 1);&lt;br&gt;
  font-size: 24px;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;[x] .glyphicon-bgcircle {&lt;br&gt;
  border-radius: 50%;&lt;br&gt;
  padding: 50px;&lt;br&gt;
  background-color: #fdadc6;&lt;br&gt;
  color: rgba(255, 255, 255, 1);&lt;br&gt;
  font-size: 24px;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;[] .glyphicon-bgcircle {&lt;br&gt;
  radius-rounded: 50%;&lt;br&gt;
  margins: auto;&lt;br&gt;
  background-color: #fdadc6;&lt;br&gt;
  color: rgba(255, 255, 255, 1);&lt;br&gt;
  font-size: 24px;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q109. When using a font stack to declare the font family, in what order should the values appear?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[x] The first value is the first choice, followed by alternative options, ordered by preference. The last option should be a generic font.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] The first value is the first choice. The order of the alternative options does not matter. It depends on what is available on the user's computer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] The first value is the first choice, and must be followed by at least one alternative option before adding the generic font.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] The first value is the first choice, followed by a maximum of three alternatives.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Q110. Which items are valid values for the font-size property?
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
A. font-size: xsmall&lt;br&gt;
B. font-size: 50%&lt;br&gt;
C. font-size: 1em&lt;br&gt;
D. font-size: 20px&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[ ] C, D&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[x] B, C, D&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] A, C&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] A, B, C, D&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q111. In this image, the blue box and sample text are both contained within the same parent element. The blue box is floated on the left margin of the container. Why is it not contained with the container?
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fram-sah%2FLinkedIn-Assessments%2Fmaster%2FCSS%2Fimages%2Frm-3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fram-sah%2FLinkedIn-Assessments%2Fmaster%2FCSS%2Fimages%2Frm-3.png" alt="Sample text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;[ ] Floating the blue box increased its height.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] Floating the blue box on the left also moves it down.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ ] Floating the blue box actually shifts it to the right and down.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[x] Floating the blue box took it out of document flow and the container is sized only to the sample text.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q112. Given this code, which CSS declaration of .overlay will span the entire width and height of its container? Given this code, which CSS declaration of .overlay will span the entire width and height of its container?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;p&gt;.container {&lt;br&gt;
  position: relative;&lt;br&gt;
  height: 200px;&lt;br&gt;
  width: 200px;&lt;br&gt;
  border: 1px solid black;&lt;br&gt;
}&lt;/p&gt;



&lt;p&gt;&amp;lt;p&amp;gt;.container {&amp;lt;br&amp;gt;&lt;br&gt;
   position: relative;&amp;lt;br&amp;gt;&lt;br&gt;
   height: 200px;&amp;lt;br&amp;gt;&lt;br&gt;
   width: 200px;&amp;lt;br&amp;gt;&lt;br&gt;
   border: 1px solid black;&amp;lt;br&amp;gt;&lt;br&gt;
 }&amp;lt;/p&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;p&amp;gt;&lt;br&gt;&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.overlay {&lt;br&gt;
  position: static;&lt;br&gt;
  top: 200px;&lt;br&gt;
  bottom: 200px;&lt;br&gt;
  right: 200px;&lt;br&gt;
  left: 200px;&lt;br&gt;
  background-color: rgba(0, 0, 0, 0.5);&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.overlay {&lt;br&gt;
  position: absolute;&lt;br&gt;
  top: 200px;&lt;br&gt;
  bottom: 200px;&lt;br&gt;
  right: 200px;&lt;br&gt;
  left: 200px;&lt;br&gt;
  background-color: rgba(0, 0, 0, 0.5);&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.overlay {&lt;br&gt;
  position: static;&lt;br&gt;
  top: 0;&lt;br&gt;
  bottom: 0;&lt;br&gt;
  right: 0;&lt;br&gt;
  left: 0;&lt;br&gt;
  background-color: rgba(0, 0, 0, 0.5);&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.overlay {&lt;br&gt;
  position: absolute;&lt;br&gt;
  top: 0;&lt;br&gt;
  bottom: 0;&lt;br&gt;
  right: 0;&lt;br&gt;
  left: 0;&lt;br&gt;
  background-color: rgba(0, 0, 0, 0.5);&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q113. Which missing line of code would place the text on top of the image? Which missing line of code would place the text on top of the image?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`js&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/grumpy-cat.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/grumpy-cat.gif"&gt;&lt;/a&gt;&lt;br&gt;
  &lt;/p&gt;
&lt;p&gt;The z-index property is cool!&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
img {&lt;br&gt;
  position: absolute;&lt;br&gt;
  left: 0px;&lt;br&gt;
  top: 0px;&lt;br&gt;
  // Missing line&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`js&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/grumpy-cat.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/grumpy-cat.gif"&gt;&lt;/a&gt;&lt;br&gt;
  &lt;/p&gt;
&lt;p&gt;The z-index property is cool!&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
img {&lt;br&gt;
  position: absolute;&lt;br&gt;
  left: 0px;&lt;br&gt;
  top: 0px;&lt;br&gt;
  // Missing line&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;z-index: 1;z-index: 1;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;z-index: -1;z-index: -1;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;z-index: 0;z-index: 0;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;z-index: true;z-index: true;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q114. To make the font size of an element one size smaller than the font size of the element's container, which style property would you apply? To make the font size of an element one size smaller than the font size of the element's container, which style property would you apply?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;font-size: reduce;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;font-size: 8px;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;font-size: -1em;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;font-size: smaller;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q115. Given this markup, which selector would result in the text being highlighted in yellow?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;js&lt;br&gt;
&amp;lt;span class="highlight"&amp;gt;#BLM&amp;lt;/span&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.highlight {&lt;br&gt;
  background-color: yellow;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;h1&gt;
  
  
  highlight {
&lt;/h1&gt;

&lt;p&gt;background-color: yellow;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
.highlight {&lt;br&gt;
  color: yellow;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;h1&gt;
  
  
  highlight {
&lt;/h1&gt;

&lt;p&gt;color: yellow;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q116. To prevent a background image from tiling in any direction, which style property would you apply?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[X]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
background-repeat: no-repeat;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
background-repeat: fixed;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
background-repeat: none;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
background-tile: none;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q117. To rotate an object 30 degrees counterclockwise, which style property would you apply?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[X] &lt;code&gt;transform: rotate(-30deg);&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transform: rotate(30deg);&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;rotate: 30deg;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;spin: 30deg;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q118. Which style rule would you apply to set the background image to display the contents of the wood.png file?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;background-image: file(wood.png);&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[X] &lt;code&gt;background-image: url(wood.png);&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;background-image: wood.png;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;image: wood.png&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q119. What style rule would set the font color of only paragraph two to blue?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;js&lt;br&gt;
&amp;lt;section&amp;gt;&amp;lt;p&amp;gt;paragraph one&amp;lt;/p&amp;gt;&amp;lt;/section&amp;gt;&amp;lt;p&amp;gt;paragraph two&amp;lt;/p&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
section &amp;gt; p {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
p {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
section + p {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;css&lt;br&gt;
p + section {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Q120. You want to move an element up 100px. Which CSS property would you use?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;transform: translateX(-100px)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transform: translateY(-100px)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transform: translateY(100px)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;transform: translateX(100px)&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Q121. Which style will horizontally center the inner &amp;lt;div&amp;gt; within the outer &amp;lt;div&amp;gt;?
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;js&lt;br&gt;
&amp;lt;div id="outer"&amp;gt;&amp;lt;div id="inner"&amp;gt;Center Me!&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id="outer"&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;h1&gt;
  
  
  inner {
&lt;/h1&gt;

&lt;p&gt;width: 50%;&lt;br&gt;
}&lt;/p&gt;

&lt;h1&gt;
  
  
  outer {
&lt;/h1&gt;

&lt;p&gt;width: 100%;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;h1&gt;
  
  
  inner {
&lt;/h1&gt;

&lt;p&gt;left: 0;&lt;br&gt;
  right: 0;&lt;br&gt;
  position: center;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;h1&gt;
  
  
  inner {
&lt;/h1&gt;

&lt;p&gt;text-align: center;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`css&lt;/p&gt;

&lt;h1&gt;
  
  
  inner {
&lt;/h1&gt;

&lt;p&gt;width: 50%;&lt;br&gt;
  margin: 0 auto;&lt;br&gt;
}&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Wordle 🧩🎲</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Sun, 30 Jan 2022 00:30:43 +0000</pubDate>
      <link>https://forem.com/codewithyaku/wordle-animations-55oo</link>
      <guid>https://forem.com/codewithyaku/wordle-animations-55oo</guid>
      <description>&lt;p&gt;The word game has gone from dozens of players to hundreds of thousands in a few months. It was created by a software engineer in Brooklyn for his partner.&lt;/p&gt;

&lt;p&gt;Today we going to replicate the UI and add some little animations :)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div id="container"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;div id="restart"&amp;gt;
  &amp;lt;div class="restart-letter"&amp;gt;S&amp;lt;/div&amp;gt;
  &amp;lt;div class="restart-letter"&amp;gt;T&amp;lt;/div&amp;gt;
  &amp;lt;div class="restart-letter"&amp;gt;A&amp;lt;/div&amp;gt;
  &amp;lt;div class="restart-letter"&amp;gt;R&amp;lt;/div&amp;gt;
  &amp;lt;div class="restart-letter"&amp;gt;T&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above HTML code contains a div with an id of "container" and another div with an id of "restart". Within the "restart" div are four more divs, each with a class of "restart-letter".&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
body,
html {
  background-color: #333;
  margin: 0px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#container {
  font-size: 30px;
}

#restart {
  padding-top: 10px;
  display: none;
}

#restart:hover .restart-letter{
  border: 2px solid #565758;
}

.restart-letter {
  background: #121213;
  border: 0px solid #565758;
  color: #d7dadc;
  font-family: "Clear Sans", Sans-Serif;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-sizing: border-box;
}

.cell {
  display: inline-block;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;background-color&lt;/code&gt; and margin properties are applied to the body and html elements to create a solid black background and remove all margins. The height property is set to 100% to ensure that the background covers the entire page, and the overflow-* properties are used to hide any overflow content.&lt;/p&gt;

&lt;p&gt;The display property is set to flex on the body element, which will cause all child elements to be displayed in a flexible grid. The &lt;code&gt;align-items&lt;/code&gt; and &lt;code&gt;justify-content&lt;/code&gt; properties are set to center to evenly distribute the items in the grid. The flex-direction property is set to column, which will cause the grid to be displayed in a vertical column.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;#container&lt;/code&gt; element has a font-size of 30px and is displayed inline-flex. This will cause its children to be displayed in a single row, and the justify-content and align-items properties will be applied to them.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;.restart-letter&lt;/code&gt; element is given a background and border color, font family, and width. It is also set to display: inline-flex which will cause it to be displayed in a single row with the other elements. The &lt;code&gt;justify-content&lt;/code&gt; and &lt;code&gt;align-items&lt;/code&gt; properties are also set to center.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import animationManager from "https://assets.codepen.io/278239/animationManager.js";
import animationData from "https://assets.codepen.io/278239/sparta.js";

const container = document.getElementById('container');
const restart = document.getElementById('restart');

animationManager.initialize(container, 6, 5);
animationManager.start(animationData.frames, animationData.animation);
animationManager.onComplete = function() {
  restart.style.display = 'block';
}
restart.addEventListener('click', function() {
  animationManager.restart();
  restart.style.display = 'none';
})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This code imports a few files - the first being &lt;em&gt;&lt;a href="https://assets.codepen.io/278239/animationManager.js"&gt;https://assets.codepen.io/278239/animationManager.js&lt;/a&gt;&lt;/em&gt;, which contains the &lt;code&gt;animationManager&lt;/code&gt;function. This function is then used to initialize, start, and complete animations. The second file imported is &lt;a href="https://assets.codepen.io/278239/sparta.js"&gt;https://assets.codepen.io/278239/sparta.js&lt;/a&gt;, which contains the &lt;code&gt;animationData&lt;/code&gt;. Finally, a few elements are defined - container and restart. The container is used to hold the animation, and the restart button is used to restart the animation.&lt;/p&gt;

&lt;p&gt;See the Pen &lt;a href="https://codepen.io/yakumwamba/pen/mdqeXyP"&gt;&lt;br&gt;
  Wordle Animations &lt;/a&gt; by Brian Lemba (&lt;a href="https://codepen.io/yakumwamba"&gt;@yakumwamba&lt;/a&gt;)&lt;br&gt;
  on &lt;a href="https://codepen.io"&gt;CodePen&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want to follow me you can do so on git &lt;a href="//github.com/yakumwamba"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</description>
    </item>
    <item>
      <title>11 Layout and Design Tips for HTML and CSS 🛬Landing Pages that will accelarate 🚀 your career</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Sat, 29 Jan 2022 23:50:20 +0000</pubDate>
      <link>https://forem.com/codewithyaku/11-layout-and-design-tips-for-html-and-css-landing-pages-46dh</link>
      <guid>https://forem.com/codewithyaku/11-layout-and-design-tips-for-html-and-css-landing-pages-46dh</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is for beginners. If you are not a beginner, you can still read it, but you may not find it as helpful.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In the world of web development, there are a few different languages you can use to create your websites: HTML, CSS, and JavaScript. In this blog post, we will be focusing on HTML and CSS. &lt;/p&gt;

&lt;p&gt;HTML, or HyperText Markup Language, is the language that is used to create the structure of a website. This includes the headings, paragraphs, and images.&lt;/p&gt;

&lt;p&gt;CSS, or Cascading Style Sheets, is the language that is used to style the HTML. This includes the font, color, and size of the text, as well as the layout of the website. &lt;/p&gt;

&lt;p&gt;Together, HTML and CSS create a static website. This means that the website will not change unless you edit the code yourself. If you want to create a website that is interactive and changes based on user input, you will need to learn JavaScript. &lt;/p&gt;

&lt;p&gt;But don’t worry, we will cover JavaScript in a future blog post! For now, let’s focus on learning HTML and CSS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Use a clear and concise headline.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your headline is one of the most important elements of your landing page. It is the first thing that people will see, and it needs to be clear and concise. It should also accurately reflect the content of the page.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4uoijisusunyl9gcmhxe.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4uoijisusunyl9gcmhxe.gif" alt="Image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Use high-quality images.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Images are a critical part of any landing page. They help to break up the text and add visual interest. Make sure to use high-quality images that are consistent with your branding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Use typography to your advantage.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Fonts can be used to create a visual hierarchy and to add interest to your page. Choose fonts that are easy to read and that match your branding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Use color to your advantage.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Color can be used to create a visual hierarchy and to add interest to your page. Choose colors that are consistent with your branding and that will appeal to your target audience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Use layout to your advantage.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Layout can be used to help guide the visitor’s eye and to make the page easier to scan. Use layout to highlight the most important elements of your page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Use whitespace.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Whitespace can be used to add visual interest and to make the page easier to read. Make sure to leave plenty of whitespace between elements to make them stand out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Use buttons .&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Buttons can be used to create a visual hierarchy and to make the page easier to navigate. Make sure to use buttons that are consistent with your branding and that are easy to click.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Use social media icons to your advantage.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Social media icons can be used to encourage visitors to share your content. Make sure to use icons that are consistent with your branding and that are easy to click.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9. Use a CTA.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A CTA is a critical part of any landing page. It encourages visitors to take action and it can be used to drive conversions. Make sure your CTA is clear and concise and that it stands out from the rest of the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Use testimonials.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Testimonials can be used to build trust with potential customers. Make sure to use testimonials from satisfied customers and to list their credentials.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11. Use a lead capture form.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A lead capture form is a critical part of any landing page. It allows you to collect contact information from potential customers. Make sure your form is easy to fill out and that it asks for only the information you need.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSS and HTML are both essential for creating beautiful and effective websites. However, they are also quite different. CSS is used to style the look and feel of a website, while HTML is used to define the structure and content. By understanding the basics of both CSS and HTML, you can create stunning websites that are both pleasing to the eye and easy to use.&lt;/p&gt;

&lt;p&gt;Thanks for reading&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyze2i7ucfcrdsgf65anm.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyze2i7ucfcrdsgf65anm.jpg" alt="Image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are a beginner and would like to learn more about CSS and HTML, I'd recommend you take more hands on example projects also you can check out this repo &lt;a href="https://github.com/dypsilon/frontend-dev-bookmarks/blob/master/languages-protocols-browser-apis/cascading-style-sheets-css.md" rel="noopener noreferrer"&gt;here &lt;/a&gt; which has good resources for learning CSS &lt;/p&gt;

&lt;p&gt;If you would like to follow my GitHub repository, you can do so by clicking this link: &lt;a href="//github.com/yakumwamba"&gt;follow me&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>CVE-2021-4034: The new vulnerability everyone has been talking about - PoC 🙄</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Fri, 28 Jan 2022 16:15:05 +0000</pubDate>
      <link>https://forem.com/codewithyaku/polkit-the-new-vulnerability-everyone-has-been-talking-about-4ela</link>
      <guid>https://forem.com/codewithyaku/polkit-the-new-vulnerability-everyone-has-been-talking-about-4ela</guid>
      <description>&lt;h1&gt;
  
  
  &lt;strong&gt;CVE-2021-4034&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;While the vulnerability is not exploitable remotely and doesn’t, in itself, allow arbitrary code execution, it can be used by attackers that have already gained a foothold on a vulnerable host to escalate their privileges and achieve that capability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://seclists.org/oss-sec/2022/q1/80"&gt;https://seclists.org/oss-sec/2022/q1/80&lt;/a&gt;&lt;a href="https://blog.qualys.com/vulnerabilities-threat-research/2022/01/25/pwnkit-local-privilege-escalation-vulnerability-discovered-in-polkits-pkexec-cve-2021-4034"&gt;https://blog.qualys.com/vulnerabilities-threat-research/2022/01/25/pwnkit-local-privilege-escalation-vulnerability-discovered-in-polkits-pkexec-cve-2021-4034&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;PoC&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Verified on Debian 10 and CentOS 7.&lt;/p&gt;

&lt;p&gt;You can find the repo at this link here → &lt;a href="https://github.com/Yakumwamba/POC-CVE-2021-4034.git"&gt;https://github.com/Yakumwamba/POC-CVE-2021-4034.git&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;debian&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="nx"&gt;grep&lt;/span&gt; &lt;span class="nx"&gt;PRETTY&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;release&lt;/span&gt;
&lt;span class="nx"&gt;PRETTY_NAME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Debian GNU/Linux 10 (buster)&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;debian&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;
&lt;span class="nx"&gt;uid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;gid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;groups&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;cdrom&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;floppy&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;29&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dip&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;44&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;video&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;46&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;plugdev&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;109&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;netdev&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;debian&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="nx"&gt;gcc&lt;/span&gt; &lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;4034&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;poc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;c&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;o&lt;/span&gt; &lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;4034&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;poc&lt;/span&gt;
&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;debian&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;4034&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;poc&lt;/span&gt;
&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;
&lt;span class="nx"&gt;uid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;gid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;groups&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;cdrom&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;floppy&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;29&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dip&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;44&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;video&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;46&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;plugdev&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;109&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;netdev&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;centos&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="nx"&gt;grep&lt;/span&gt; &lt;span class="nx"&gt;PRETTY&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;release&lt;/span&gt;
&lt;span class="nx"&gt;PRETTY_NAME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;CentOS Linux 7 (Core)&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;centos&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;
&lt;span class="nx"&gt;uid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;11000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;gid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;11000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;groups&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;11000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;context&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;unconfined_u&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;unconfined_r&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;unconfined_t&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;s0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;s0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;c0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;c1023&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;centos&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="nx"&gt;gcc&lt;/span&gt; &lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;4034&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;poc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;c&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;o&lt;/span&gt; &lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;4034&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;poc&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;yaku&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nd"&gt;centos&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="nx"&gt;$&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;4034&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;poc&lt;/span&gt;
&lt;span class="nx"&gt;sh&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;4.2&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;
&lt;span class="nx"&gt;uid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;gid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;groups&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;&lt;span class="mi"&gt;11000&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;context&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;unconfined_u&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;unconfined_r&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;unconfined_t&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;s0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;s0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;c0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;c1023&lt;/span&gt;
&lt;span class="nx"&gt;sh&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;4.2&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nx"&gt;exit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  What is polkit?
&lt;/h1&gt;

&lt;p&gt;Polkit is a daemon that manages system processes and policies. It is used by system administrators to control which users and applications can have access to certain system resources.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;whoami? *&lt;/em&gt;&lt;br&gt;
&lt;a href="//github.com/yakumwamba"&gt;YAkU&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Which is Faster: Tailwind or Pure CSS?</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Tue, 25 Jan 2022 18:44:59 +0000</pubDate>
      <link>https://forem.com/codewithyaku/which-is-faster-tailwind-or-pure-css-2g61</link>
      <guid>https://forem.com/codewithyaku/which-is-faster-tailwind-or-pure-css-2g61</guid>
      <description>&lt;p&gt;When it comes to learning CSS, there are a few different options available. One option is to learn TailwindCSS, which is a popular and well-maintained CSS framework. On the other hand, you could also learn plain CSS without any frameworks.&lt;/p&gt;

&lt;p&gt;Here are some of the pros and cons of each approach:&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Pros of using TailwindCSS: *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;1) TailwindCSS is widely used and well-maintained. &lt;br&gt;
2) It has a lot of features built in, so you don't have to worry about adding custom code or struggling with complex syntax. &lt;br&gt;
3) It's easy to use because it includes premade components for common tasks like layouting pages and creating forms. &lt;br&gt;
4) There are plenty of tutorials available online if you need help getting started. Cons of using TailwindCSS: &lt;/p&gt;

&lt;p&gt;1) Although it's comprehensive, TailwindCSS can be difficult to understand at first glance due to its dense syntax (especially compared to plain CSS). &lt;br&gt;
2) Because it's a framework, you may not be able to customize certain aspects as easily as with standalone codebase files. &lt;br&gt;
3) TailwindCSS is not available in every language, so you may have to use a different editor or compiler if you want to use it on your own website.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Pros of learning plain CSS: *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;1) Plain CSS is simpler than TailwindCSS and doesn't require any special syntax. &lt;/p&gt;

&lt;p&gt;2) It's easy to learn because all you need are basic rules for formatting text and elements, no matter what language you're using. &lt;/p&gt;

&lt;p&gt;3) There are plenty of tutorials available online if you need help getting started. Cons of learning plain CSS: &lt;br&gt;
1) Plain CSS isn't as widely used as TailwindCSS, so chances are there aren't many resources out there specifically designed for beginners. &lt;/p&gt;

&lt;p&gt;2) Because it's less complex, plain CSS can be more difficult to understand at first glance than TailwindCSS – especially if you're not familiar with web development terminology. &lt;br&gt;
3) Plain CSS is not available in every language, so you may have to use a different editor or compiler if you want to use it on your own website. &lt;/p&gt;

&lt;p&gt;Ultimately, it depends on your needs which approach is best for you. If you're just starting out and want a comprehensive framework to help you build more complex websites, TailwindCSS is a good option. On the other hand, if you're comfortable working with basic rules and don't need all the bells and whistles that TailwindCSS offers, learning plain CSS may be a better choice. I have another article about 15 basics of CSS which you can read &lt;a href="https://dev.to/yaku/15-css-that-will-boost-your-designing-confidence-as-frontend-developer-1j55"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>3 Incredible CSS Animations tips You Have to See</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Tue, 25 Jan 2022 18:41:49 +0000</pubDate>
      <link>https://forem.com/codewithyaku/the-most-incredible-css-animations-tips-you-have-to-see-1bpj</link>
      <guid>https://forem.com/codewithyaku/the-most-incredible-css-animations-tips-you-have-to-see-1bpj</guid>
      <description>&lt;p&gt;CSS animation is a powerful tool that you can use to make your web pages more interesting and engaging. With CSS animation, you can create simple animations that are easy to control, or complex animations that are difficult to create with other methods. In this article, we'll explore the basics of CSS animation and show you how to use it in your own projects.&lt;/p&gt;

&lt;p&gt;The first thing you need to know about CSS animation is that it works by animating properties of elements on the page. These properties can be anything from the position of an element on the page to its color or size. You can animate any property that you want, as long as there is a way to change it over time.&lt;/p&gt;

&lt;p&gt;Once you've decided which property you want to animate, you need to set up a keyframe rule for it. A keyframe rule defines what the property will look like at different points in time during the animation. To create a keyframe rule, you start by specifying the name of the property that you want to animate followed by a colon (:). After that, you specify two values: one for when the animation starts and one for when it ends. Here's an example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div { width: 100px; height: 100px; background-color: blue; }
 @keyframes myAnimation { 0% { width: 100px; height: 50px; 
background-color: red;} 50% { width: 200px; height: 150px; 
background-color: green;} 100% { width: 100px; height: 50px;
 background-color: red;} }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This example, we're animating the width and height of a div element. We've defined three keyframes called "0%" , "50%" , and "100%" . The "0%" keyframe sets the element's width and height back to their original values (100 pixels wide and tall), while the "50%" and "100%" keyframes set them both to 200 pixels wide and 150 pixels tall respectively. As each keyframe is reached during playback, the browser will apply whatever styles are defined within it until it reaches either another keyframe or the end of the animation sequence.&lt;/p&gt;

&lt;p&gt;You can also add multiple properties into a single keyframe rule if needed. For example, if you wanted to animate both an element's width and its color at once, you could do something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@keyframes myAnimation { 0% {width : 100px ; color : black;} 
50%{width : 200px ; color : white;} 100%{width : 100px ; 
color : black;} } 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, the element's width will change from 100 pixels to 200 pixels at the 50% mark, and its color will change from black to white.&lt;/p&gt;

&lt;p&gt;Once you've created your keyframe rule, you need to add it to your HTML document. To do this, you use the animation property. The animation property takes two values: the name of the keyframe rule that you want to use and how long you want the animation to run for. Here's an example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div { width: 100px; height: 100px; background-color: blue; } 
@keyframes myAnimation { 0% {width: 100px; height: 50px; 
background-color: red;} 50% {width: 200px; height: 150px; 
background-color: green;} 100% {width: 100px; height: 50px; 
background-color: red;} } div{animation : myAnimation 2s;} 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, we're using our "myAnimation" keyframe rule on a div element. We're telling the browser that we want the animation to last for 2 seconds (2000 milliseconds). You can also specify fractions of a second if needed. For example, "0.5s" would mean 500 milliseconds.&lt;/p&gt;

&lt;p&gt;That's all there is to basic CSS animations! With just a few lines of code, you can create simple or complex animations that will add interest and interactivity to your web pages. &lt;/p&gt;

&lt;p&gt;Please kindly  &lt;a href="//github.com/yakumwamba"&gt;follow&lt;/a&gt; for more mini articles on front-end development.&lt;/p&gt;

&lt;p&gt;or contact me via email &lt;a href="mailto:brianlemba2@gmail.com"&gt;brianlemba2@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks ❤️ &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Make money as a frontend Developer 🤑</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Tue, 25 Jan 2022 02:15:57 +0000</pubDate>
      <link>https://forem.com/codewithyaku/make-money-as-a-frontend-developer-1ok8</link>
      <guid>https://forem.com/codewithyaku/make-money-as-a-frontend-developer-1ok8</guid>
      <description>&lt;p&gt;My name is Brian and I am a frontend Developer I'm currently working as a freelancer and today I would like to share with you about the opportunity of being a frontend engineer.&lt;/p&gt;

&lt;p&gt;As a frontend developer, you have a unique opportunity to make a lot of money. There are many companies that are looking for talented frontend developers, and they are willing to pay top dollar for the best talent.&lt;/p&gt;

&lt;p&gt;If you are a frontend developer, you can make a good living by working for a company or by starting your own business. There are many opportunities for frontend developers, and the demand for their skills is high.&lt;/p&gt;

&lt;p&gt;In order to make money as a frontend developer, you need to be skilled in HTML, CSS, and JavaScript. These are the three main technologies that frontend developers use. You also need to be familiar with web browsers and how they work.&lt;/p&gt;

&lt;p&gt;In addition to these skills, you should also be familiar with design principles. This will help you to create attractive and user-friendly interfaces.&lt;/p&gt;

&lt;p&gt;If you want to make money as a frontend developer, you need to be able to work independently. You also need to be able to work with a team of developers.&lt;/p&gt;

&lt;p&gt;If you are a freelance developer, you can make a good living by charging a high hourly rate. If you are working for a company, you may be able to negotiate a higher salary.&lt;/p&gt;

&lt;p&gt;The demand for frontend developers is high, and the pay is good. If you are skilled in HTML, CSS, and JavaScript, you can make a lot of money as a frontend developer. &lt;/p&gt;

&lt;p&gt;Thanks for reading my article if you have any tips on how to make money as a frontend Developer please leave a comment. Feel free to contact me on &lt;a href="mailto:brianlemba2@gmail.com"&gt;brianlemba2@gmail.com&lt;/a&gt; &lt;br&gt;
Or you can follow me on GitHub &lt;a href="//GitHub.com/yakumwamba"&gt;follow&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks 😊&lt;/p&gt;

</description>
    </item>
    <item>
      <title>15 CSS basics that will 🚀 boost your designing confidence as a frontend developer by 10x🦄🎉</title>
      <dc:creator>CodeWithYaku</dc:creator>
      <pubDate>Tue, 25 Jan 2022 02:02:02 +0000</pubDate>
      <link>https://forem.com/codewithyaku/15-css-that-will-boost-your-designing-confidence-as-frontend-developer-1j55</link>
      <guid>https://forem.com/codewithyaku/15-css-that-will-boost-your-designing-confidence-as-frontend-developer-1j55</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. Use CSS Grid for Better Layouts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSS Grid Layout is a new way to create layouts on the web. It provides a more efficient way to layout your content than using floats or positioning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Use Media Queries to Target Different Devices&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Media queries allow you to target different devices with different CSS properties. This is a great way to make your site look great on all devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Use CSS Animations for Eye-Catching Effects&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSS Animations allow you to create eye-catching effects that can really make your site stand out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Use Pseudo-Classes to Add More Style to Your Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pseudo-classes allow you to add more style to your links, making them more visually appealing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Use the :before and :after Pseudo-Elements to Add Content to Your Pages&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;:before and :after pseudo-elements allow you to add content to your pages, which can be used to create interesting effects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Use the transform Property to Transform Your Elements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The transform property allows you to transform your elements, which can create some cool effects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Use the transition Property to Create Smooth Animations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The transition property allows you to create smooth animations between CSS properties.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Use the opacity Property to Create Transparent Elements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The opacity property allows you to create transparent elements, which can be used to create interesting effects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9. Use the box-shadow Property to Add Shadows to Your Elements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The box-shadow property allows you to add shadows to your elements, which can give them a more polished look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Use the border-radius Property to Add Curved Borders to Your Elements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The border-radius property allows you to add curved borders to your elements, which can give them a more polished look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11. Use the font-family Property to Choose the Fonts for Your Pages&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The font-family property allows you to choose the fonts for your pages, which can help to create a more unified look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;12. Use the font-size Property to Control the Size of Your Fonts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The font-size property allows you to control the size of your fonts, which can help to create a more unified look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;13. Use the color Property to Control the Color of Your Text&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The color property allows you to control the color of your text, which can be used to create a more unified look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;14. Use the background-color Property to Control the Background Color of Your Pages&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The background-color property allows you to control the background color of your pages, which can be used to create a more unified look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;15. Use the margin and padding Properties to Control the Space Around Your Elements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The margin and padding properties allow you to control the space around your elements, which can help to create a more polished look.&lt;/p&gt;

&lt;p&gt;Thanks for reading through I hope this article helps you in anyway. &lt;/p&gt;

&lt;p&gt;Please comment any other trick that I may have missed out.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;Kindly follow me on &lt;a href="//GitHub.com/yakumwamba"&gt;git&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>webdev</category>
      <category>design</category>
    </item>
  </channel>
</rss>
