fbpx
Home Blog Page 1291

Updates to the Code Foundations Path

0
Updates to the Code Foundations Path

We’ve got some good news for you: we’re adding new content to our Code Foundations Path!

Why?

Most people who come to Codecademy have never written a line of code before. Code Foundations guides new learners through the world of programming, through an exploration of different domains such as web development and data science.

Variables

In the spirit of Code Foundations, we’ve developed new material that gives learners an opportunity to learn what programming is and what programming is like, without having to commit to any one language or technology.

The new Learn How to Code course teaches programming fundamentals in a series of fun, interactive lessons. It’s an approachable way to start writing code, regardless of your interests, and it’s intentionally designed to be accessible to learners of all ages and experience-levels.

Functions

Over the course of Learn How to Code, you’ll learn basic programming concepts, such as:

  • Variables
  • Data types
  • Operators
  • Functions
  • Control flow
  • Lists
  • Loops

Lists

In each lesson, you’ll learn about a concept, then apply your knowledge in games and short coding exercises. By the end of the course, you’ll be ready to tackle any programming language—whether it’s learning Python for data science, or JavaScript for web development.

Loops

How does this impact you?

If you’ve already started or completed the Code Foundations Path, you will see a new track towards the beginning of the path that contains the new Learn How to Code course.

You won’t lose progress on the coursework that you’ve already completed; however, you may notice that your overall progress percentage has decreased, as there is a greater amount of content included in the Path.

When?

The path will be updated beginning at 1:00 PM EST on Monday, February 4th, 2019. The content will be available during the update.

How to Build a Data Science Portfolio

0
How to Build a Data Science Portfolio

A lot of us, data fans, are trying to launch data science careers, and we do not initially have work experience. In fact, we are looking for a first data science role so we can check off the work experience requirement that is listed in most data science job postings. To get unstuck from this catch-22, we need to complete projects and build a data science portfolio.

dsjob_search

A data science portfolio is a great way to showcase your skillset in lieu of work experience. It also demonstrates your passion for data science, and assuming that passion is genuine, you will also have a lot of fun completing your own projects and learning new data science skills through them. This article will provide some tips to help jumpstart your data science portfolio.

Talking to Data Scientists

There are two ways to better understand the skills you need to showcase in your data science portfolio: talking to data scientists and analyzing data science job postings.

It may sound simple, but many people should be spending more time talking to other data scientists. In hot data science cities like New York and San Francisco, there are many events where data professionals and “amateurs” alike meet and discuss the data science projects they are working on. Meetup and Eventbrite are great resources to find these gatherings.

gatherings

For those of us living in areas where data science meetups aren’t as common, there are still ways to find other data scientists. My preferred method is to read the Towards Data Science blog. When I read an article I really enjoy, I often find and connect with the author on LinkedIn.

My naive assumption is that people who dedicate their time to writing data science blog posts love talking about data science, and they would likely enjoy talking to me about it. Below is an example of my interactio with one such author on LinkedIn:

LinkedInConvo2

The data science community is an incredible resource, and tapping into the expertise of others in the field will accelerate your growth.

Reading Job Postings of Your Dream Job

Another way to identify skills to showcase in your data science portfolio is to analyze job postings. Hiring managers will include the skills they are looking for in the job posting. Reading these descriptions will help you understand what skills you need to showcase.

LinkedIn and Glassdoor are great websites for finding data science job postings. However, an even better resource would be the network you’ve formed by talking to other data scientists. Many job opportunities aren’t even posted online, and the only way to find out about them would be through referrals.

job_board

While looking at job postings, make sure to find multiple options you are interested in. Just as you don’t want to build a machine learning model that overfits to a small and narrow dataset, you don’t want to build a portfolio that is based on limited insight from only one job posting.

In addition, some organizations that are newer to data science may not have a clear idea of the type of data scientist they’re looking for, and the job postings they create may be overwhelming.

Below are some quotes from data analyst and data science job postings I’ve found through LinkedIn jobs:

“Strong Microsoft Excel skills. Must have working knowledge of pivot tables, formula creation, conditional formatting, VLOOKUP, and Index Matching.”

“Working knowledge of database structures (SQL, Access, etc.)”

“Ability to independently produce high-standard, presentation-ready deliverables

“Strong Knowledge in Data Science, Data Analytics, R, Python, Etc”

“Strong Knowledge in Statistics, Mathematics and Machine Learning

“Use data visualization tools and programming languages like Tableau, Hive, Oracle, R, Python, Excel, Workday, Vizier and many other internal tools to work efficiently at scale”

This is just a starting point, and depending on your desired industry and type of data science job, you may find different desired skills listed in the job postings you read.

Find a Dataset to Address a Problem You’re Curious About

Now that you’ve identified the skills you need to showcase, it’s time to generate project ideas. There are many other people already doing data science projects and sharing them online. Looking at other people’s projects might give you inspiration for your own project ideas. Below are two great places to see other people’s data science projects:

Another great way to generate project ideas is to find datasets that interest you. Below are some resources to help you find free datasets:

In my case, I wanted to do projects that showcase my interest in education. One project I found especially interesting was Predicting School Performance With Census Data.

After searching for education datasets in the Google Dataset Search Tool, I came across the College Scorecard, which includes data on U.S. higher education institutions. Someone in my network mentioned that she wanted to do work with community colleges, so I thought it would be cool to do a project exploring trends in U.S. community college enrollment.

“Complete” Your Project and Seek Feedback

Completion is a vague term because there is almost always additional work you can include on a given project. The key is to set clear milestones for yourself. For example, in my College Enrollment Exploration project, I wanted to showcase some of my data visualization skills. In this case, my milestone was a slide deck with visualizations explaining the data.

college_enrollment

Once you have reached a milestone, make sure to seek feedback. Create a Github repository for your project, and share your Github repository with your network.

In the beginning, you will likely receive constructive criticism. Here is the Github repository for my College Enrollment Exploration project. Clearly, I have a lot more work to do, and below are some areas that need additional work:

  • My Github Repository does not contain a readme file that describes the organization of the repository and a description of each file.
  • I did not include a pdf file for my slide deck, and I did not discuss the “business problem” I was trying to address.
  • My Jupyter notebooks did not include comments on my overall thought process.
  • Although I stuck to orange and blue for my visualizations, I alternated the representation of data (orange and blue were both used to represent both community colleges and other colleges). This could be confusing for my target audience.
  • I did not regularly commit and push changes to my Github repository as I was working. Rather, I only started making commits towards the end of my project.

project_process

My project clearly isn’t ready for my portfolio yet, and that is okay. If I continually make progress with the guidance of my network, the project will eventually help me differentiate myself from other data science candidates. More importantly, continually cycling through the feedback loop will accelerate my learning and ensure that my work is aligned with hiring managers’ needs.

Brag About Your Project

Eventually your project will become portfolio-worthy, and people in your network will actually encourage you to share your work with others. At this point, you should add a link to your Github repository on your LinkedIn profile and resume.

In addition, you may choose to write a blog post to practice your written communication skills. Medium is a great platform for first time bloggers to create posts.

You may feel trepidation when broadcasting your work in this way for the first time, and that is completely normal. The important point to keep in mind is that if the data science community has been a valuable resource for your growth, by posting your work, you are helping others overcome their own challenges as they enter field of data science.

medium

This will also be a good time to brag to your non-technical friends about your project. In business, data scientists often have to communicate with non-technical stakeholders, and this is a wonderful opportunity to practice that skill. In general, my friends are curious about my work, and they enjoy conversations about data science (given that I communicate in a way that they can understand).

ds_conversation

Repeat

Data scientists do data science. Although you might not have a job as a data scientist yet, by completing data science projects, you are doing data science (and, dare I say, you are a data scientist).

Of course, many of us are starting at level zero, and our first few projects won’t have the level of sophistication of more experienced data scientists’. By continually doing projects, we can level up our skills and eventually work on cooler projects.

After your first project, you may continue to expand the scope, or start on a new project with a new dataset. In my case, once I have completed the visualization milestone for my College Enrollment Exploration project, I could try implementing machine learning algorithms, or I could shelve it and begin working with another dataset (such as NCES’s Common Core of Data). The key is to work with datasets and topics that interest you while continually expanding your capabilities.

5 Skills Developers Need Beyond Writing Code

0
5 Skills Developers Need Beyond Writing Code

Learning to program tends to center around, well, programming. When I first got into computer science, writing small programs from scratch served as my primary way of reinforcing the concepts I learned, and this type of practice proved crucial to my skill development. However, when I started my first real job as a software developer, I found that I spent the majority of my time on tasks besides writing code, tasks requiring a different set of skills.

Naturally, the exact skills required by different programming-related jobs vary. Data analysts writing scripts to process information will not spend their days the same way as technical services representatives working to solve problems for customers. Even two software engineers within the same organization could have wildly dissimilar day-to-day duties.

The skills described below are critical in many of these types of positions, though, so beginning to practice them now could give you a leg up in the job hunt and help you to succeed in your career.

Reading Other People’s Code

Whether searching for a bug or figuring out how to add a new feature to existing software, programmers spend a lot of time reading through other people’s code. This may sound like a relatively easy task. After all, writing code is harder than reading it, right?

Not necessarily. Major software applications can contain millions of lines of code, which often work in complex or unintuitive ways. Diving into one of these applications and trying to make sense of it can feel overwhelming, especially if the comments and documentation are inadequate (which isn’t exactly a rarity). Even small programs can be a big pain to read through if the logic behind them is unclear, or if they were written by the guy in the cubicle next to yours who names all his functions after Game of Thrones characters but knows the CEO as “Aunt Liz.”

NeedlesslyConfusingCode

Even simple functions can be difficult to read due to poor code organization and naming conventions, as well as a lack of any comments.

Learning to trace through code and glean the relevant information without getting bogged down takes time, and reading through small code samples will only do so much to develop these skills. Happily, open-source applications (such as those hosted on GitHub) provide a wonderful practice resource.

Completing some minor fixes on major open-source projects will help you learn how to approach a massive code base, as well as give you the opportunity to improve software used by multitudes of people. Or, if you don’t feel ready to contribute, just trying to figure out how segments of the applications work is a great learning experience.

As a bonus, struggling your way through a mix of open-source applications should show you the difference between good code and the not-so-good. Writing readable code will save your coworkers time and headaches, so learning by example what proper style and clear, informative comments look like makes you that much more valuable as a programmer.

Writing succinct-yet-informative explanations of what your code does makes your coworkers’ jobs significantly easier. While different organizations will have their own preferences regarding the specifics of documentation and comments, there are a few guiding principles to keep in mind:

First off, when describing the purpose of a new piece of code, make sure to explain what this code accomplishes that the preexisting code did not.

For instance, if there is an existing function that does x, and you write a new function that calls that existing function and reformats the output, your description of the new function should mention the reformatting (i.e. the new functionality added by this particular function), rather than just saying it does x (which it only accomplishes by calling the preexisting function).

If we don’t do this, then figuring out how a program works or where to insert code becomes more cumbersome. I once ran into a train of six functions (the first called the second, which called the third, etc) which all had identical vague descriptions, and I’m sure I’m not the only one who burnt through precious development time figuring out what each of them actually did.

Explaining the purpose of a non-intuitive line or algorithm can speed up the reading process, whereas just translating each line of code into English bogs readers down.

UnhelpfulComments

Comments like this can get tedious quickly.

Finally, keep all your audiences and their goals in mind.

If you are writing formal documentation of a new feature so that a client can approve it, a testing team team can validate it, and another development team can figure out how their project will interact with it, you should provide the particular information each of them needs. Keeping the purposes of your documentation in mind will help ensure it winds up fulfilling these purposes.

You can practice these skills while working through your Codecademy exercises. Add comments to your code or write up some simple documentation outlining what your projects do as you work through the lessons. Later on, once you’ve forgotten the specifics of these exercises, read back through them. Do your comments make understanding your work easier? Can you quickly glean enough information to know what each function or class does? Could you figure out how to test your code from the documentation?

Testing Your Code

A programmer’s job isn’t really done until their code is not only written, but tested and verified to work as expected. Even if you work for an organization with a designated team that handles testing, knowing how to run some basic checks can prevent you from passing off code with clear errors. Since getting back up to speed on a project takes time, this can prevent both you and the testing team from wasting precious hours handing the same project back and forth unnecessarily.

Testing can take many forms, from manually running your program to using thorough, pre-written test scripts. It can involve unit tests (which check if individual modules or functions work), integration tests (which see if different modules work together), and system tests (which determine if the overall system meets its specifications).

In all these various forms, though, it is important to take an organized and disciplined approach, and to think through the different possible inputs and ways of interacting with the program that we need to account for. List out everything you need to check before you start, and refer to this list throughout the testing process to ensure you don’t forget about anything. Also, make sure you check the edge cases and try doing things wrong. Users make mistakes, so it is crucial that our testing process explores how our software handles them.

unit-test-comic

Like most skills, we get better at testing the more we practice it. So, while many Codecademy exercises will validate your code for you, make a point of running your own tests. If you want more guided practice, consider taking Codecademy’s courses on the subject, Learn Testing for Web Development and Learn Javascript Unit Testing.

Communicating Effectively with Your Team and Clients

Programming often requires communicating with others. When writing software for clients or the public, we need to know about their needs and preferences in order to ensure our program will actually be helpful and intuitive.

When working as part of a development team, we need to make sure we are all on the same page about how the program will be structured, common conventions we will use, our timeline, and our individual responsibilities. When helping users encountering a software bug, someone in a customer support position might need to extract all of the potentially relevant information about the issue from the user and convey this info to a developer, who in turn may need to check with members of other teams to determine the nature of the problem and ensure that their fix won’t break something else. If this communication breaks down, it can mean disaster.

Effective communication involves more than just listening and saying what is on our minds. It requires asking probing questions to verify that we are all actually talking about the same thing, and being careful to avoid using jargon in the wrong context. It is surprisingly easy to accidentally talk past one another, especially if we are coming from different backgrounds.

I’ve been in a client meeting where my team asked if a certain piece of data needed to be “reportable,” a term we used to refer to items limited to a predetermined set of possible values. The client said “yes,” thinking that “reportable” just meant that they could access and print whatever value was entered for that item. If we had not asked follow-up questions that brought this miscommunication to light, our use of jargon could have led us to create a limited-option field where the client wanted an open-entry field.

Communication goes beyond just figuring out what we need to do and how we need to do it, though. It also entails managing expectations. If a client thinks we are going to implement an advanced AI feature that is simply outside of our capabilities, that’s a problem. If our coworkers expect we will have our interface ready this week when it will actually take another month, that’s a problem, too.

ahead-of-schedule

Managing expectations requires being honest about our uncertainties and proactive about reporting unforseen problems or delays. Sometimes, this can be uncomfortable. We might feel like we are letting the stakeholders down or admitting defeat. Or, we might just not want a client or manager to scream at us. Nevertheless, speaking up is likely our best course of action. Hidden problems grow and fester, whereas known problems can be addressed.

If you realize a deadline isn’t realistic, speak up before stakeholders make (more) plans that revolve around your work being completed on time. And if you need help, ask for it while there is still time.

Knowing When to Ask for Help

But when do we need help? Certainly, situations come up requiring reinforcements, a fresh set of eyes, specialized knowledge, or simply the benefit of advice from someone more (or differently) experienced. On the other hand, problem solving is a big part of programming, and if our go-to solution is “just ask the boss,” she might start to wonder what exactly we contribute.

Naturally, the proper balance between trying to figure out problems independently and seeking assistance will vary based on your particular role and organization, but following a few general guidelines can make finding this balance easier:

For starters, appreciate the value of everyone’s time, including your own.

Interrupting a coworker’s train of thought to ask a question you could find by reading relevant documentation isn’t respecting their time, but spending hours searching obscure corners of the web in vain hopes of finding an answer to a domain-specific question your coworkers would know isn’t respecting yours.

Second, keep the importance of a problem in perspective.

We all make mistakes, so getting a second (or third) opinion when you aren’t sure about something mission-critical is only prudent. Getting that third opinion about whether you should name a variable grades or grade_list? Not so much.

Be mindful of what falls under others’ areas of expertise, as well as what doesn’t.

If a coworker knows a lot more about a subject than you do, seeking their insight on a related issue can prevent you from making costly mistakes. If no one in your organization knows any more about that subject than you do, though, then asking them to figure out what you should do about a related issue starts feeling like asking them to do your job for you.

runtime-comic-1

Finally, get to know your abilities and limitations.

Developing a sense for how fast you can realistically work makes it a lot easier to tell if a looming deadline poses a problem, and seeing what kind of problems you can solve on your own will give you a better idea of whether you are truly stuck on something or just need more time to work.

This last part, at least, can be practiced while working through Codecademy’s courses. Coaches and the Codecademy community are more than happy to lend a hand when you get stuck, but trying to work past snags on your own first will give you a better sense of what sort of problems you can solve all by your lonesome.

Conclusion

One skillset does not fit all when it comes to programming. An epidemiologist using a script to parse through patient data has a very different job from the developers of a new mobile app or a software engineer at a large bank.

However, the skills above are crucial to a large subset of coders, so developing them—whether by checking out large-scale projects on GitHub or writing comments and a test script for a Codecademy project—can put you in a position to succeed post-Codecademy.

Aggregating Pokémon Data with Python and Pandas

0
Aggregating Pokémon Data with Python and Pandas

Most of the time, high-level decision-makers require aggregated data. For example, to understand sales trends, business analysts need to aggregate individual sales transactions by month, quarter, or fiscal year. Data aggregation is a key skill that can drive value for many organizations.

image6

Supermarket sales aggregated by category

Pokémon is a video game where creatures (known as Pokémon) of different types battle each other for glory. To commemorate the release of the newest Pokémon games for the Nintendo Switch (Let’s Go Pikachu and Let’s Go Eevee), we will aggregate and analyze Pokémon data in order to answer the following questions:

  1. How many Pokémon of each type are there?
  2. Which Pokémon type is the most powerful?

First, we will complete our analysis using spreadsheets because spreadsheets are the most widely used tool for data analysis. However, Python programming provides more flexible and more scalable analysis options than spreadsheets, so we will complete the analysis using Python and the Pandas library.

Starting with spreadsheets

Let’s start with a dataset of all Pokémon from Pokémon Database. To follow along, download the data here (right click and select “Save As…”).

We will use Google Sheets, a free spreadsheet application, for our analysis. Regardless of the specific spreadsheet tool you use, the underlying concepts will be the same. Below is a preview of the data.

image1

Each row represents a single Pokémon

Each Pokémon belongs to one or two types, and certain types are strong against other types. For example, Charizard is a flying, fire-breathing lizard, so it is both flying and fire types, and it is weak against water types.

Pokémon that belong to two types occupy two rows in our spreadsheet. In addition, every Pokémon has multiple stats to determine how it performs in battle. A description of each stat can be found in the Pokémon Database. For example, Blastoise has a higher defense stat than Charizard, so it will better withstand physical attacks. For our analysis, we will look at the type with the highest number for each stat.

A pivot table is a tool designed specifically to aggregate data, and it will be the easiest way to aggregate Pokémon by type in our spreadsheet. To create a pivot table, select your data, and select the Pivot Table option. Since we are aggregating by Pokémon type, we will add “Type” to rows in the pivot table options.

image5

The resulting pivot table has a row for each unique type

Right now, our pivot table is blank, and we need to add values to it. Since we want to count the number of unique Pokémon in each type, we would add it to values in our pivot table options.

image4
image5

We are counting the number of unique Pokémon names for each type

Since there is no type that is definitively the “strongest”, we will look at the strongest type for each stat. This would be useful for Pokémon players who are building balanced teams with both offensive;y- and defensively-inclined Pokémon. To see which type has the highest median values for each stat, we will add additional options to values in the pivot table options.

image10

Calculating the median of each stat for each type

At this point, we can see our results in the pivot table:

image2

The highest values in each column are highlighted in green, and lowest values are highlighted in yellow

Here are some interesting observations from this initial analysis:

  • There are a lot of water-type Pokémon and very few ice-type Pokémon. Clearly, most Pokémon aren’t living in winter conditions! 🌴
  • Dragon-type Pokémon seem to be the strongest while bug-type Pokémon are the weakest. 🐉 > 🐞
  • Fairy-type Pokémon have low attack. Guess we don’t have to worry about being attacked by the tooth fairy. 🧚
  • Steel-type Pokémon have the strongest defense. Does the aluminum industry have something to say about that? 🤔
  • Rocks are slow. Even the ground and grass are faster…🗿

Now to Python

Spreadsheets are great, and we were able to glean some fun insights from our pivot table analysis. However, using Python with the Pandas library is far superior to spreadsheet analysis.

Writing code with Pandas is significantly quicker than interacting with a spreadsheet’s GUI interface (did you see all of those screenshots above?).

To aggregate data with Pandas, you will need to complete the following steps:

  1. Import the Pandas library
  2. Upload your data to a Pandas DataFrame
  3. Complete the aggregation

For our Pokémon analysis, our commented code and output are below:

image8
image3

Unlike the spreadsheet analysis, there are no intermediate steps when aggregating data with Python and Pandas.

Modifying our analysis

The dataset we used contained all Pokémon. However, only a subset of Pokémon are available in each “Let’s Go” game. Download the data with only the subset here (right click and select “Save As…“).

To aggregate this new data with spreadsheets, we would have to repeat all of the manual steps involved in making a pivot table. However, with Python, we only need to modify a single line of code:

image9
image7

We only needed to change one line of code to modify our analysis

When only Pokémon available in “Let’s Go Pikachu” and “Let’s Go Eevee” are included, Dragon-type Pokémon still have the highest overall stats. However, they do not dominate as much as they did before in each of the stats, and overall, the stats are distributed more evenly across types.

What’s next

High-level decision makers often require analysts to make minor adjustments to view data in a slightly different format. In these cases, Python will save significantly more time when compared to traditional spreadsheet analysis.

I’d encourage you to try analyzing the data yourself. Below are other modifications you can apply to our Pokémon analysis:

  • Include only final evolved Pokémon
  • Exclude legendary Pokémon that are ineligible for Pokémon competitions

To learn more about data wrangling with Python and Pandas, take a look at Codecademy’s Data Analysis with Pandas course.

Livestream: Getting Started with C++

0
Livestream: Getting Started with C++

Whether you’re new to coding or trying to pick up a new programming language, our livestream on Thursday is one that you won’t want to miss. We’re doing a crash course on C++ that will teach:

  • A brief history of programming
  • How to write a “Hello World” program with C++
  • How to run C++ on your own computer

By the end, you’ll be ready to take on your first C++ Coding Challenge!

After the stream is over, we’ll add the recorded version of the stream to this page.

“Spark Joy” Free February Wallpaper

0
“Spark Joy” Free February Wallpaper

Our February wallpaper is a nod to the popular Netflix show, Tidying Up with Marie Kondo, where the phrase “Spark Joy” comes from. This bright and fun background features the fonts Aisling and Luella.

Included in the free download are two desktop options – one with the calendar and one without the calendar. The others include one wallpaper per device.

Enjoy!

For Personal Use Only.


How to Resize Blogger Photos Automatically

0
How to Resize Blogger Photos Automatically

How to Resize Blogger Photos Automatically

Today I want to share with you a fun little trick for automatically resizing your Blogger photos to fill the full width of your post area. Blogger offers several tools for resizing post images easily. I’ll get to my little trick in a second, but first I want to explain how to use the Blogger tools for uploading and resizing your photos for those that don’t already know.

To use the Blogger resizing options, simply create a new post, add a photo, and then click on your uploaded photo to open the sizing and positioning options.

How to Resize Blogger Photos Automatically

You can set the photo size to small, medium, large, x-large, or to its original size. You can also set the justification to left, center, or right. I recommend centering your photos and using the x-large setting (if you don’t use the trick below) so your photos can be seen in all their glory. The only draw back to using this option is that the x-large size sizes images to 640px, which means if you have a post area that is wider than 640px, the photo will still look a little small. That is where my fancy little trick comes into play, so let’s get to it!

RELATED POST: The 4 Best Places to Find Free Photos for Your Blog


STEP 1: RESIZE YOUR PHOTO

Resizing your blog photos is an important step regardless of whether or not you plan to use this photo sizing trick. This tutorial will still work on photos uploaded in their original size but because uploading original sized photos slows your site WAY DOWN, it is not recommended. The larger the image size, the slower it will load on your site…so trust me, just don’t do it!

Most blogs have a post area width somewhere between 600px-750px, so sizing your photos to 800px wide should work well on most blogs. You’ll want your image to be sized a little larger than your post width with this tutorial because it’s easier to bring an image down in size than it is to bring a small image up in size. Enlarging a small image will cause it to become pixelated and the quality will be low. So to keep things looking good, I recommend sizing your images to around 800px wide with this tutorial.

I use Photoshop to resize my images, but if you don’t have Photoshop, Pixlr is a free service you can use to do this. Here’s how to easily resize a photo using Pixlr:

How to Resize Blogger Photos Automatically

1) Hop over to Pixlr, scroll down and click “Launch Web App” under the Pixlr Editor option.

How to Resize Blogger Photos Automatically

2) Click “Open Image from Computer” and find the image you want to use from your computer.

3) Your image will appear and will be ready to be edited. At the bottom of the image you’ll see the current image size. My sample image is currently 4000px wide, which is WAY too large to be uploaded to a blog. So let’s change it to the recommended 800px wide. In the top navigation bar, click “Image” and then “Image size…”

4) Change the image width to 800 pixels. The height of the image will automatically adjust to keep the proper proportions. Click “OK.”

5) Now you just need to save the resized image, so go to “File” and then “Save.” Rename the file (if needed) and then click “OK.” Find the folder on your computer where you’d like to save the image and click “Save.” You’re now ready for the next step.

RELATED POST: 10 Ways to Make Your Blogger Blog Load Faster


STEP 2: ADD A LITTLE CSS

Now that your image is sized correctly you’ll need to add a little coding to achieve the automatic re-sizing. Don’t worry, you don’t need any coding experience for this.

1) First open up your Blogger dashboard and go to “Theme” and then “Customize.”

How to Resize Blogger Photos Automatically

2) Click “Advanced” and then scroll down and click on “Add CSS” and copy/paste the following code into the white box:

.post-body img {
max-width: 100%;
max-height: auto;
display: block;
margin: auto;
}

It should look like this:

How to Resize Blogger Photos Automatically

Note: the above code will only change the images you have set to “Original Size.” If you want ALL of your images to be sized to the full post width regardless of the Blogger re-sizing options you have them set to, add this CSS instead:

.post-body img {
width:100%;
height:100%;
display: block;
}

Now click “Apply to Blog” to save your changes.

RELATED POST: How to Achieve Pixel Perfect Images in Blogger


STEP 3: ADD A PHOTO TO A POST

Now just add a photo to a post like described in the beginning of this tutorial and make sure the photo is set to “Original Size” and your photo will now nicely fill the full width of your post area once you hit “Publish.” This trick will also apply to all previously posted photos as long as the photos are set to “Original Size.” If not, then you’ll want to use the second code option above.

How to Resize Blogger Photos Automatically

Oh so big and pretty!

How to Resize Blogger Photos Automatically

Please leave any questions you may have in the comments and I’ll do my best to answer them. Otherwise, enjoy your lovely automatically resized photos!

RELATED POST: SEO Quick Tip: How to Title and Size Images for SEO

Custom Design Feature | Eyes Full of Pretty

0
Custom Design Feature | Eyes Full of Pretty

A few months ago we had the pleasure of working with Julie from Eyes Full of Pretty. She decided to go with a custom blog design with a standard two column layout – with her posts on the left and everything else on the right. Our designer Kate was assigned to the project and was excited to have the chance to create a design with such a classic blog layout.


Developing the branding

The first step when creating new blog designs for our clients is to develop branding. Kate was very intrigued when she first saw the inspiration photos Julie sent to her. Julie’s Pinterest board was chuck-full of dark purple and violet peonies, plum and cream flowers, and dark wallpapers. From the very beginning, Julie had a strong vision of what she wanted and knew she wanted her blog to be different but still stylish and feminine.

Kate started by developing a logo as it’s the most important element for every brand. Julie wanted it to be simple and timeless but she also wanted an alternative logo symbol to use for social media and other branding materials.

Based on the information provided, Kate came up with three unique logo options and mood boards.

After Julie reviewed the designs, she decided to go with option#3 and mix it with colors from the other boards. The final result can be seen below:

Julie loved the final effect as do we! It is so stylish, yet still neutral. The green and violet shades make for such a stunning color palette!


Creating the blog design

With the mood board in place, we were still missing one important element that Julie really wanted to incorporate- flowers. They needed something to match the color palette of the mood board so Kate began browsing her huge graphics library. Kate usually starts by trying to find something she already owns with the proper licensing to use in her custom design projects. Kate has such a huge library of graphics, that she is usually able to find something. If by chance she can’t, then she’ll ask clients for help finding something they like online (sometimes this requires additional fees, so keep that in mind when ordering a custom).

Fortunately, Kate ended up having a gorgeous watercolor boho set in her graphics library just waiting to be used in this project. You can preview it at Creative Market. Kate used elements from the graphic on Julie’s header design, background, favicon, and other small embellishments throughout the site.

Here is a full-length view of the final blog design:

Click here to view larger


Final thoughts

From start to finish, Julie’s project took us about two weeks to create. We love the way it turned out and would love to hear your thoughts on it.

If you are looking for a custom blog or website design, visit our Custom Design Services page to request a quote.

Free January Wallpaper

0
Free January Wallpaper

Our January wallpaper features Happy New Year Lettering Graphics and Melany Lane Fonts.

Included in the free download are two desktop options- one with the calendar and one without the calendar. The others include one wallpaper per device.

Enjoy!

For Personal Use Only.


Ten Best Modern Fonts

0
Ten Best Modern Fonts

Do you have a modern sense of style and want a stylish font with a futuristic flair to match? We have the top trendy modern fonts with a futuristic touch to add to your font collection. These fonts feel spacey and clean and show off the future of fonts.